0

I'm new in Grafana, I'm using Grafana with Prometheus database and I have some problem with it.

I want to get value at 2300 - value at 0000.

But I can't find the way to get value at 2300 and 0000.

Is there any way to get value at specific time ?

Thanks

1 Answer 1

1

I want to get value at 2300 - value at 0000

If you are trying to get the value delta of two point on certain time. You can try delta func in PromQL.

For instance, if I want query_count@1609746000 - query_count@1609742400 (P.S. not a PromQL), the time delta is 1hr, so I can do delta(query_count[1h]@1609746000), it will delta the first and the last value between 1609746000-1h ~ 1609746000

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.