2.06L Create a dashboard with relative time and timeshift - MartinWong06/grafana GitHub Wiki
Version 10
-
Login to Grafana and click on the "+" button in the Top menu panel, then select "New Dashboard".
-
Click on the "+ Add Visualization" button in the center of the page.
-
In the "Select data sources" section, select "--Grafana--" as data source
-
Select a Random Walk as query
-
In the "Visualization" tab, select the visualization type you want to use for the panel.
-
In the "Panel" tab, you can customize the settings for the panel, such as title, units, and thresholds.
-
To add relative time to the dashboard, click on the "Time range" tab and select the "Relative" option.
-
Enter the relative time range you want to use, such as "now-1h" for the past hour or "now-24h" for the past 24 hours.
-
To add timeshift to the dashboard, click on the "Query Options" tab.
-
Enter the timeshift value you want to use, such as "1h" or "24h".
-
Click on the "Save" button to save the dashboard.
You have now created a dashboard with relative time and timeshift. You can add more panels to the dashboard and customize it further to meet your needs.
Version 9
-
Open Grafana and go to the Home page.
-
Click on the "Create dashboard" button.
-
On the "New dashboard" page, click on the "Add query" button to add a panel to the dashboard.
-
Select a Random Walk or Test Data that you have previously configured in Grafana.
-
In the "Visualization" tab, select the visualization type you want to use for the panel.
-
In the "Panel" tab, you can customize the settings for the panel, such as title, units, and thresholds.
-
To add relative time to the dashboard, click on the "Time range" tab and select the "Relative" option.
-
Enter the relative time range you want to use, such as "now-1h" for the past hour or "now-24h" for the past 24 hours.
-
To add timeshift to the dashboard, click on the "Query Options" tab.
-
Enter the timeshift value you want to use, such as "1h" or "24h".
-
Click on the "Save" button to save the dashboard.
You have now created a dashboard with relative time and timeshift. You can add more panels to the dashboard and customize it further to meet your needs.