Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChoriaCollector ¶
func NewChoriaCollector ¶
func NewChoriaCollector(logger log.Logger, identity string) *ChoriaCollector
type Collector ¶
type Collector interface { // Get new metrics and expose them via prometheus registry. Describe(ch chan<- *prometheus.Desc) Collect(ch chan<- prometheus.Metric) }
type PingCollector ¶
type PingCollector struct { Status *prometheus.Desc Time *prometheus.Desc // contains filtered or unexported fields }
func (*PingCollector) Collect ¶
func (c *PingCollector) Collect(ch chan<- prometheus.Metric)
func (*PingCollector) Describe ¶
func (c *PingCollector) Describe(ch chan<- *prometheus.Desc)
type PingMetric ¶
Click to show internal directories.
Click to hide internal directories.