'Get data in specific time in Grafana

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



Solution 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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ??1016