Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator interface { Decorate([]*dto.MetricFamily) Name() string }
Decorator decorates a list of metric families
type LabelAppender ¶
LabelAppender is a list of label pairs that need to be added on all metrics
func (LabelAppender) Decorate ¶
func (l LabelAppender) Decorate(mfs []*dto.MetricFamily)
Decorate adds metric labels from its list
type LowercaseNames ¶
type LowercaseNames struct{}
LowercaseNames decorates metrics to be have all lowercase label names
func (LowercaseNames) Decorate ¶
func (LowercaseNames) Decorate(mfs []*dto.MetricFamily)
Decorate decorates the provided metrics for compatibility
Click to show internal directories.
Click to hide internal directories.