[prometheus-users] Prometheus showing decreasing graph for a non-decreasing gauge

2023-04-30 Thread Sunil Anand
We are using Prometheus for displaying several gauge type metrics. This 
specific gauge would always be increasing as it demonstrates total value.

>From the query we could able to retrieve value that shows always in the 
increasing order across several intervals of 10s.

16800906600 vsdptas1pcar-tas01.tc.corp see-1 cap_tcapProvider1 
NEXUS_CAP_SERVICE_VOICE cap_tcapProvider1 *18646863*   <-- human time 
13:51:00

16800906700 vsdptas1pcar-tas01.tc.corp see-1 cap_tcapProvider1 
NEXUS_CAP_SERVICE_VOICE cap_tcapProvider1 *18647216*   <-- human time 
13:51:10

But when we plot the graph, sometimes this shows dip in the line which is 
abnormal for a non-decreasing metrics.

I have attached the graph for reference.

Does the UI have some bug or are we doing anything wrong in here, ?[image: 
Prometheus1.jpg][image: Prometheus2.jpg]

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/44b28310-5b57-4d3b-966c-beeab4062467n%40googlegroups.com.


[prometheus-users] Prometheus graph shows decreasing value for an non-decreasing gauge

2023-04-30 Thread Sunil Anand
Hello All,
I am seeing a weird behavior on the graph being plotted by prometheus.
We are using a gauge which is always a non-decreasing value.
When we query the gauge from the DB, it is showing an always increasing 
value across time intervals. 

16800906600 vsdptas1pcar-tas01.tc.corp see-1 cap_tcapProvider1 
NEXUS_CAP_SERVICE_VOICE cap_tcapProvider1 *18646863*   <-- human time 
13:51:00

16800906700 vsdptas1pcar-tas01.tc.corp see-1 cap_tcapProvider1 
NEXUS_CAP_SERVICE_VOICE cap_tcapProvider1 *18647216*   <-- human time 
13:51:10

But there are decreasing graph plot in the UI. Could this be a bug in 
prometheus or we are doing something wrong. Attached the screen shot of the 
graph.


Regards,

Sunil


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9cbbd86d-4e40-4fc6-8248-29d73cfac734n%40googlegroups.com.