Documentation ¶
Index ¶
- func AddLabels(metricsFamilies []*dto.MetricFamily, labels []*dto.LabelPair)
- func Decode(data []byte) ([]*dto.MetricFamily, error)
- func Encode(metricsFamilies []*dto.MetricFamily, format expfmt.Format) ([]byte, error)
- func Merge(metricsFamiliesA []*dto.MetricFamily, metricsFamiliesB *[]*dto.MetricFamily)
- func Rewrite(ctx context.Context, metricsFamilies []*dto.MetricFamily, ...) ([]*dto.MetricFamily, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(metricsFamiliesA []*dto.MetricFamily, metricsFamiliesB *[]*dto.MetricFamily)
Merge merges the metrics in a into b
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.