Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetManager ¶
type TargetManager struct{}
TargetManager manages a series of windows event targets.
func NewTargetManager ¶
func NewTargetManager( reg prometheus.Registerer, logger log.Logger, client api.EntryHandler, scrapeConfigs []scrapeconfig.Config, ) (*TargetManager, error)
NewTargetManager creates a new Windows managers.
func (*TargetManager) ActiveTargets ¶
func (tm *TargetManager) ActiveTargets() map[string][]target.Target
ActiveTargets returns the list of active Windows targets.
func (*TargetManager) AllTargets ¶
func (tm *TargetManager) AllTargets() map[string][]target.Target
AllTargets returns the list of all targets.
func (*TargetManager) Ready ¶
func (tm *TargetManager) Ready() bool
Ready returns true if at least one Windows target is also ready.
func (*TargetManager) Stop ¶
func (tm *TargetManager) Stop()
Stop stops the Windows target manager and all of its targets.
Directories ¶
Path | Synopsis |
---|---|
Package win_eventlog Input plugin to collect Windows Event Log messages
|
Package win_eventlog Input plugin to collect Windows Event Log messages |
Click to show internal directories.
Click to hide internal directories.