Documentation ¶
Overview ¶
package metricbuilder provides various methods to build metrics, or more specifically MetricData structures be aware of this behavior when it comes to the MetricName property: | mpo | metricName has %d directive? | outcome | |-----|------------------------------|-----------------------------------| | 1 | Yes | use directive to always print 1 | | >1 | Yes | use directive to print the number | | 1 | No | don't use directive | | >1 | No | invalid: will panic |
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { Info() string // Build builds a slice of slices of MetricData's( per orgid), with time and value not set yet. Build(orgs, mpo, period int) [][]schema.MetricData }
Click to show internal directories.
Click to hide internal directories.