Versions in this module Expand all Collapse all v2 v2.6.2 Aug 12, 2022 Changes in this version + type Metrics struct + func NewMetrics(reg prometheus.Registerer) *Metrics + type Target struct + func NewTarget(metrics *Metrics, logger log.Logger, handler api.EntryHandler, jobName string, ...) (*Target, error) + func (h *Target) Details() interface{} + func (h *Target) DiscoveredLabels() model.LabelSet + func (h *Target) Labels() model.LabelSet + func (h *Target) Ready() bool + func (h *Target) Stop() error + func (h *Target) Type() target.TargetType + type TargetManager struct + func NewHerokuDrainTargetManager(metrics *Metrics, reg prometheus.Registerer, logger log.Logger, ...) (*TargetManager, error) + func (hm *TargetManager) ActiveTargets() map[string][]target.Target + func (hm *TargetManager) AllTargets() map[string][]target.Target + func (hm *TargetManager) Ready() bool + func (hm *TargetManager) Stop()