Documentation ¶
Index ¶
- func Float64ToPointer(f float64) *float64
- func Label(labels []*dto.LabelPair) func(mf *dto.MetricFamily)
- func NewCounterMetricFamilyFixture(name string, opts ...FixtureOption) *dto.MetricFamily
- func NewGaugeMetricFamilyFixture(name string, opts ...FixtureOption) *dto.MetricFamily
- func StringToPointer(s string) *string
- type FixtureOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64ToPointer ¶
func NewCounterMetricFamilyFixture ¶
func NewCounterMetricFamilyFixture(name string, opts ...FixtureOption) *dto.MetricFamily
func NewGaugeMetricFamilyFixture ¶
func NewGaugeMetricFamilyFixture(name string, opts ...FixtureOption) *dto.MetricFamily
func StringToPointer ¶
Types ¶
type FixtureOption ¶
type FixtureOption func(mf *dto.MetricFamily)
Click to show internal directories.
Click to hide internal directories.