2.06 Relative time and Time shift - MartinWong06/grafana GitHub Wiki

Absolute time range

You can set an absolute time range for the dashaboard

Relative time and Time shift

Relative time allows you to define time ranges based on the current time dynamically. Instead of specifying fixed dates, you can use relative expressions to define time periods relative to the current time.


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.

Time shift - The time shift function is another way to override the time range for individual panels. It only works with relative time ranges and allows you to adjust the time range. Mainly using for compares or overlays data from different time periods on the same graph for analysis and comparison.

Example

Relative time

Relative time and Time shift

⚠️ **GitHub.com Fallback** ⚠️