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 FatalError ¶ added in v0.24.0
type FatalError Error
FatalError is an error that causes the program to terminate.
func (FatalError) Error ¶ added in v0.24.0
func (e FatalError) Error() string
type TimeSeries ¶
type TimeSeries = []prompb.TimeSeries
type TransientError ¶ added in v0.9.2
type TransientError Error
TransientError is an error that can be recovered.
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.