Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { // Get new metrics and expose them via prometheus registry. Update(ch chan<- prometheus.Metric) error }
Collector is the interface a collector has to implement.
func NewNotifyCollector ¶
func NewQueueRunnerCollector ¶
type HydraCollector ¶
type HydraCollector struct { Collectors map[string]Collector // contains filtered or unexported fields }
func NewHydraCollector ¶
func NewHydraCollector(logger log.Logger) (*HydraCollector, error)
func (HydraCollector) Collect ¶
func (n HydraCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (HydraCollector) Describe ¶
func (n HydraCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
Click to show internal directories.
Click to hide internal directories.