FromLabelAdaptersToMetric converts []LabelAdapter to a model.Metric with copy. Don't do this on any performance sensitive paths.
(ls []LabelAdapter)
| 122 | // FromLabelAdaptersToMetric converts []LabelAdapter to a model.Metric with copy. |
| 123 | // Don't do this on any performance sensitive paths. |
| 124 | func FromLabelAdaptersToMetricWithCopy(ls []LabelAdapter) model.Metric { |
| 125 | return util.LabelsToMetric(FromLabelAdaptersToLabelsWithCopy(ls)) |
| 126 | } |
| 127 | |
| 128 | // FromMetricsToLabelAdapters converts model.Metric to []LabelAdapter. |
| 129 | // Don't do this on any performance sensitive paths. |
nothing calls this directly
no test coverage detected