From 26964b383f5b9a623df9f043a955ec459673d1f2 Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Fri, 15 May 2020 09:53:51 -0700 Subject: [PATCH] Docs: Update time range controls (#24709) * moved file and updated menu * Delete timerange.md * Update menu.yaml * Update time-range-controls.md * fixed links * Update time-range-controls.md * content updates * Update time-range-controls.md * Apply suggestions from code review Co-authored-by: Marcus Efraimsson * Update docs/sources/dashboards/time-range-controls.md Co-authored-by: Marcus Efraimsson * Update time-range-controls.md * Update docs/sources/dashboards/time-range-controls.md Co-authored-by: Marcus Efraimsson * Update docs/sources/dashboards/time-range-controls.md Co-authored-by: Marcus Efraimsson * Update docs/sources/dashboards/time-range-controls.md Co-authored-by: Marcus Efraimsson * Update time-range-controls.md Co-authored-by: Daniel Lee Co-authored-by: Marcus Efraimsson --- .../sources/dashboards/time-range-controls.md | 118 ++++++++++++++++++ docs/sources/features/dashboard/dashboards.md | 2 +- docs/sources/features/panels/graph.md | 2 +- docs/sources/menu.yaml | 4 +- docs/sources/panels/queries.md | 2 +- docs/sources/reference/timerange.md | 89 ------------- 6 files changed, 123 insertions(+), 94 deletions(-) create mode 100644 docs/sources/dashboards/time-range-controls.md delete mode 100755 docs/sources/reference/timerange.md diff --git a/docs/sources/dashboards/time-range-controls.md b/docs/sources/dashboards/time-range-controls.md new file mode 100644 index 00000000000..0ef7446430c --- /dev/null +++ b/docs/sources/dashboards/time-range-controls.md @@ -0,0 +1,118 @@ ++++ +title = "Time range controls" +keywords = ["grafana", "dashboard", "documentation", "time range"] +type = "docs" +[menu.docs] +aliases = ["/docs/grafana/latest/reference/timerange/"] +name = "Time range controls" +parent = "dashboards" +weight = 7 ++++ + +# Time range controls + +Grafana provides several ways to manage the time ranges of the data being visualized, both at the dashboard level and the panel level. + +This page describes supported time units and relative ranges, the common time controls, dashboard-wide time settings, and panel-specific time settings. + +## Time units and relative ranges + +The following time units are supported: `s (seconds)`, `m (minutes)`, `h (hours)`, `d (days)`, `w (weeks)`, `M (months)`, and `y (years)`. + +The minus operator allows you to step back in time, relative to now. If you wish to display the full period of the unit (day, week, month, etc...), append `/