Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + type Target struct + func NewTarget(labels, discoveredLabels model.LabelSet, params url.Values) *Target + func (t *Target) DiscoveredLabels() model.LabelSet + func (t *Target) Health() TargetHealth + func (t *Target) Labels() model.LabelSet + func (t *Target) LastError() error + func (t *Target) LastScrape() time.Time + func (t *Target) String() string + func (t *Target) URL() *url.URL + type TargetHealth string + const HealthBad + const HealthGood + const HealthUnknown + type TargetManager struct + func NewTargetManager(app storage.SampleAppender, logger log.Logger) *TargetManager + func (tm *TargetManager) ApplyConfig(cfg *config.Config) error + func (tm *TargetManager) Run() + func (tm *TargetManager) Stop() + func (tm *TargetManager) Targets() []*Target + type Targets []*Target + func (ts Targets) Len() int + func (ts Targets) Less(i, j int) bool + func (ts Targets) Swap(i, j int)