Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeSeries ¶
type TimeSeries = []prompb.TimeSeries
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 PublishCh chan<- pusher.Payload TenantCh chan<- sm.Tenant IsConnected func(bool) PromRegisterer prometheus.Registerer Features feature.Collection ScraperFactory func(context.Context, sm.Check, chan<- pusher.Payload, sm.Probe, zerolog.Logger, prometheus.Counter, *prometheus.CounterVec) (*scraper.Scraper, error) }
Click to show internal directories.
Click to hide internal directories.