client_golang: github.com/prometheus/client_golang/prometheus/internal Index | Files

package internal

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

Index

Package Files

metric.go

func NormalizeMetricFamilies Uses

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.

Package internal imports 2 packages (graph) and is imported by 2 packages. Updated 2018-09-02. Refresh now. Tools for package owners.