Which type of metric uses the delta() function?
delta()
The delta() function calculates the difference across a time range and should be used with gauges, whose values may rise or fall. Counter metrics instead require counter-aware calculations that handle resets. պաշտոնական Prometheus documentation states that delta() should only be used with gauges.
Community Discussion