package internal

import "github.com/prometheus/client_golang/prometheus/internal"

Index

Functions

func NormalizeMetricFamilies

func NormalizeMetricFamilies(metricFamiliesByName map[string]*dto.MetricFamily) []*dto.MetricFamily

NormalizeMetricFamilies returns a MetricFamily slice with empty MetricFamilies pruned and the remaining MetricFamilies sorted by name within the slice, with the contained Metrics sorted within each MetricFamily.

Source Files

metric.go

Version
v1.2.1
Published
Oct 17, 2019
Platform
darwin/amd64
Imports
2 packages
Last checked
4 weeks ago

Tools for package owners.