Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProbeSuccessMetricName = "probe_success" CheckInfoMetricName = "sm_check_info" CheckInfoSource = "synthetic-monitoring-agent" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Incrementer ¶
type Incrementer interface {
Inc()
}
type IncrementerVec ¶
type IncrementerVec interface {
WithLabelValues(...string) Incrementer
}
func NewIncrementerFromCounterVec ¶
func NewIncrementerFromCounterVec(c *prometheus.CounterVec) IncrementerVec
type Scraper ¶
type Scraper struct {
// contains filtered or unexported fields
}
func NewWithOpts ¶
func (Scraper) ConfigVersion ¶
func (Scraper) LastModified ¶
type ScraperOpts ¶
type ScraperOpts struct { Probe sm.Probe Publisher pusher.Publisher Logger zerolog.Logger ScrapeCounter Incrementer ErrorCounter IncrementerVec ProbeFactory prober.ProberFactory }
type TimeSeries ¶
type TimeSeries = []prompb.TimeSeries
Click to show internal directories.
Click to hide internal directories.