Documentation ¶
Index ¶
- type DiscoveryAgent
- func (d *DiscoveryAgent) ApplyAlertmanagerConfig(configs config.AlertmanagerConfigs) error
- func (d *DiscoveryAgent) ApplyScrapeConfig(configs []*config.ScrapeConfig)
- func (d *DiscoveryAgent) Start()
- func (d *DiscoveryAgent) Stop()
- func (d *DiscoveryAgent) SyncCh() <-chan map[string][]*targetgroup.Group
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryAgent ¶
type DiscoveryAgent struct {
// contains filtered or unexported fields
}
func NewDiscoveryAgent ¶
func NewDiscoveryAgent(name string, l *logger.Logger) *DiscoveryAgent
func (*DiscoveryAgent) ApplyAlertmanagerConfig ¶
func (d *DiscoveryAgent) ApplyAlertmanagerConfig(configs config.AlertmanagerConfigs) error
func (*DiscoveryAgent) ApplyScrapeConfig ¶
func (d *DiscoveryAgent) ApplyScrapeConfig(configs []*config.ScrapeConfig)
func (*DiscoveryAgent) Start ¶
func (d *DiscoveryAgent) Start()
func (*DiscoveryAgent) Stop ¶
func (d *DiscoveryAgent) Stop()
func (*DiscoveryAgent) SyncCh ¶
func (d *DiscoveryAgent) SyncCh() <-chan map[string][]*targetgroup.Group
Click to show internal directories.
Click to hide internal directories.