Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoPrometheusQuery ¶
func DoPrometheusQuery(cfg config.ScrapeConfig)
DoPrometheusQuery will run queries against Prometheus endpoint
func NewBearerAuthRoundTripper ¶
func NewBearerAuthRoundTripper(bearer string, rt http.RoundTripper) (http.RoundTripper, error)
Types ¶
type TimeSeries ¶
type TimeSeries struct { Name string Points TimeSeriesPoints Tags []rawData }
type TimeSeriesPoints ¶
type TimeSeriesPoints []TimePoint
Click to show internal directories.
Click to hide internal directories.