How to handle single data points in pushgateway/grafana #430
Unanswered
vegetablesalad
asked this question in
Q&A
Replies: 1 comment
-
you could use push_time_seconds is updated on every push. With In general however, Prometheus is not an event based system. This kind of usecases is not fully supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Need some advice.
I have a script that sends data to push-gateway on different events caused by some user action.
It simple numeric data 0,1,2,3,4,5.
This is how my data looks in grafana:
The problem here is that I send one data point to pushgateway and prometheous/grafana will now stretch that datapoint until it receives a new one. In the graph above there is actually just one event for each entry, but it is stretched out until a new one arrives. Only thing I can think of is to send 0 every 30 seconds or so to all the labels.
Beta Was this translation helpful? Give feedback.
All reactions