Documentation ¶
Index ¶
- Variables
- type Probe
- func (p *Probe) GetName() string
- func (p *Probe) GetOpts() *options.Options
- func (p *Probe) GetType() string
- func (p *Probe) Init(name string, opts *options.Options) error
- func (p *Probe) Logger() *logrus.Entry
- func (p *Probe) Run(ctx context.Context, target endpoint.Endpoint, em *metrics.EventMetrics) (success bool, err error)
- func (p *Probe) Start(ctx context.Context, dataChan chan *metrics.EventMetrics)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTargetsUpdateInterval = 1 * time.Minute
DefaultTargetsUpdateInterval defines default frequency for target updates. Actual targets update interval is: max(DefaultTargetsUpdateInterval, probe_interval)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.