Versions in this module Expand all Collapse all v1 v1.0.0 Jun 21, 2022 Changes in this version + func DescribeByCollect(c Collector, descs chan<- *prometheus.Desc) + type Collector interface + Collect func(chan<- prometheus.Metric) + Describe func(chan<- *prometheus.Desc) + type SelfCollector struct + func NewSelfCollector(self prometheus.Metric) *SelfCollector + func (c *SelfCollector) Collect(ch chan<- prometheus.Metric) + func (c *SelfCollector) Describe(ch chan<- *prometheus.Desc) + func (c *SelfCollector) Set(self prometheus.Metric)