Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backoffer ¶ added in v0.8.0
type Backoffer interface { // Reset causes the backoff provider to go back its initial // state, before any calls to Duration() were made. Reset() // Duration returns the duration to sleep. Duration() time.Duration }
Backoffer defines an interface to provide backoff durations.
The implementation of this interface SHOULD NOT perform the actual sleep, but rather return the duration to sleep.
type TimeSeries ¶
type TimeSeries = []prompb.TimeSeries
type TransientError ¶ added in v0.9.2
type TransientError Error
func (TransientError) Error ¶ added in v0.9.2
func (e TransientError) Error() string
type Updater ¶
type Updater struct { IsConnected func(bool) // contains filtered or unexported fields }
Updater represents a probe along with the collection of scrapers running on that probe and it manages the configuration for blackbox-exporter that corresponds to the collection of scrapers.
func NewUpdater ¶
func NewUpdater(opts UpdaterOptions) (*Updater, error)
type UpdaterOptions ¶ added in v0.0.23
type UpdaterOptions struct { Conn *grpc.ClientConn Logger zerolog.Logger Backoff Backoffer Publisher pusher.Publisher TenantCh chan<- sm.Tenant IsConnected func(bool) PromRegisterer prometheus.Registerer Features feature.Collection K6Runner k6runner.Runner ScraperFactory scraper.Factory TenantLimits *limits.TenantLimits Telemeter *telemetry.Telemeter }
Click to show internal directories.
Click to hide internal directories.