Get the App
SLTechnology News&Howtos  ›  Servers  › 

Grafana modifies the default interval (time selector)

Shulou Source: shulou.com Published: 2022-06-03 03:51:06 10月03日 Update

The default time interval in the display dashboard in Grafana is changed when the new dashboard is created. Now introduce how to change the new dashboard, and complete the modification by importing the modified json file:

1. Export the json file that needs to be modified on the dashboard.

Open the dashboard that needs to be modified, click the share dashboard icon, and export the json file

2. Modify json file

Open the file with Notepad++ and find

"time": {

"from": "now-6h"

"to": "now"

Change 6h to the time interval you want, and save it.

Smurmuri-second hmurmuri-time mmurmurf-sub-dmurmuri-Tian WMui-Zhou Mmuri-month yMuMui-year

3. Import the modified json file

Select the file you just modified and import it to complete the modification.

Tags: Files gauges dashboards times selections icons methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn Huawei MySQL Microsoft