Related to "prometheus"
Flux provides tools for scraping and processing raw Prometheus-formatted metrics from an HTTP-accessible endpoint.
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.
The Flux Prometheus package provides functions for working with Prometheus-formatted metrics. Import the
prometheus.histogramQuantile() function calculates quantiles on a set of values assuming the given histogram data is scraped or read from a Prometheus data source.