Documentation ¶
Index ¶
Constants ¶
View Source
const ( USPerS = 1000000 // million NSPerS = 1000000000 // billion )
Variables ¶
This section is empty.
Functions ¶
func MetricsHandler ¶
func MetricsHandler(root string) http.HandlerFunc
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) CollectMetrics ¶
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.