What Grafana version and what operating system are you using?
The current one on Grafana Labs hosted site.
What are you trying to achieve?
I want to present the same metric but with different time scales on separate graphs on the same dashboard; i.e. the average temperature for the last 24h, last 7 days and last months
How are you trying to achieve it?
In Query options I’m using the relative time in a form of “24h”, “now-7d”, “now-1M”
What happened?
All the graphs are the same and show only the last 24 hours.
What did you expect to happen?
I was expecting to have 3 graphs with different time frames.
The thing is that sometimes it works if I try to change something in one of the graphs but then discard the change; but now even this trick doesn’t work.
More info… Relative time - You can override the relative time range for individual panels, causing them to be different than what is selected in the dashboard time picker in the top right corner of the dashboard. This allows you to show metrics from different time periods or days on the same dashboard.
@grant2 I might have not been clear enough before, apologies.
That is exactly what I’ve done. The problem is that when I’m doing that, all the graphs are showing the same timeframe for all of them instead of the one I requested for each. Like this:
Thank you for clarifying. I just created 3 graphs on v8.3.4 hosted on play.grafana.com, with 3 different relative time ranges, and it worked exactly as it should. The only difference that I observed from your screenshot is that you do not have the blue text stating the relative time.