Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collectors ¶
type Collectors struct { Rlr *label.RecursiveReflector StaticCollectors []GeneratedUpdator Maps []DynamicMap T reflect.Type // contains filtered or unexported fields }
func (*Collectors) Collect ¶
func (u *Collectors) Collect(c chan<- prometheus.Metric)
func (*Collectors) Describe ¶
func (u *Collectors) Describe(c chan<- *prometheus.Desc)
func (*Collectors) Fill ¶
func (u *Collectors) Fill(t reflect.Type, rlr *label.RecursiveReflector, parent string, metricNameTransform types.MetricNameTransformer)
type DynamicMap ¶
type GeneratedUpdator ¶
type GeneratedUpdator struct { Collector prometheus.Collector Index int Update func(last, current int64, ls prometheus.Labels) int64 Last int64 }
Click to show internal directories.
Click to hide internal directories.