Answer the question
In order to leave comments, you need to log in
Prometheus, database query, how to get old data (24 hours ago)?
There is a request to Prometheus
firma_pokazanya
Everything is fine, we receive data in the current time and build a graph in Grafana , we
need to get the same data a day ago (minus 24 hours) - in Grafane itself, I know how to see this data in a separate graph.
But to see current data and a day ago on the same chart, you need a correct request from Prometheus, current data (firma_pokazanya) and data a day ago (firma_pokazanya minus 24 hours).
Ideally, it will generally receive a request
Current data minus Data a day ago, and then I will alert it based on this data
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question