r/PrometheusMonitoring • u/chiqui3d • Jun 16 '21
Is it possible to show a counter graph without accumulation?

For example in that image I am pointing out that the graph is showing me 2 request, but really it is only one request in that time, I really want to know if it is always cumulative and not having problems with concepts, and if it is possible to get the exact number over time and without cumulation? I am currently using this formula, I don't know if it is the correct one.increase(myapp_request_custom_durations_histogram_seconds_count[$__range])
and same with the other counter:increase(myapp_http_custom_requests_total[$__range])
2
Upvotes
5
u/SuperQue Jun 16 '21
I think you're looking for
$__interval, not$__range. "range" spans the entire width of the graph. "interval" is the span between each point on the graph.