Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added possibility to set "from" and "to" variables in the MM config file.
see: https://grafana.com/docs/grafana/v8.5/dashboards/time-range-controls/
  • Loading branch information
sideonshore authored Dec 20, 2022
1 parent 03c6b97 commit 0746f8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ modules: [
dashboardname: "weatherforecast", // Mandatory.
orgId: 1, // Mandatory.
panelId: 2, // Mandatory.
from: "now-1d" // use any of grafanas time-range-controls
to: "now" //
width: "100%", // Optional. Default: 100%
height: "100%", // Optional. Default: 100%
scrolling: "yes", // Optional. Default: no
Expand Down

0 comments on commit 0746f8b

Please sign in to comment.