Related to "prometheus"
Flux provides tools for scraping and processing raw Prometheus-formatted metrics from an HTTP-accessible endpoint.
prometheus package provides tools for working with Prometheus-formatted metrics.
Use the Flux
prometheus.scrape function to scrape Prometheus-formatted metrics from an HTTP-accessible endpoint.
Use Flux to query and transform Prometheus counter metrics stored in InfluxDB. A counter is a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero on restart.
Use Flux to query and transform Prometheus gauge metrics stored in InfluxDB. A gauge is a metric that represents a single numerical value that can arbitrarily go up and down.
Use Flux to query and transform Prometheus histogram metrics stored in InfluxDB. A histogram samples observations (usually things like request durations or response sizes) and counts them in configurable buckets. It also provides a sum of all observed values.
Use Flux to query and transform Prometheus summary metrics stored in InfluxDB. A summary samples observations, e.g. request durations and response sizes. While it also provides a total count of observations and a sum of all observed values, it calculates configurable quantiles over a sliding time window.
Learn how to use Flux to work with Prometheus’ four main metric types (counter, gauge, histogram, and summary) and process them for visualizations in InfluxDB dashboards.
prometheus.histogramQuantile() calculates a quantile on a set of Prometheus histogram values.
prometheus.scrape() scrapes Prometheus metrics from an HTTP-accessible endpoint and returns them as a stream of tables.