Work with Prometheus metric types
Learn how to use Flux to work with the four core
Prometheus metric types and
process them for visualizations in InfluxDB dashboards:
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.
Support and feedback
Thank you for being part of our community!
We welcome and encourage your feedback and bug reports for Flux and this documentation.
To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.