Docs: Adds deprecation notice to changelog and docs for scripted dashboards (#24060)

This commit is contained in:
Torkel Ödegaard
2020-04-29 18:24:26 +02:00
committed by GitHub
parent ab07326169
commit 11134efcda
4 changed files with 22 additions and 17 deletions
+4
View File
@@ -8,6 +8,10 @@
- **Interval calculation**: There is now a new option `Max data points` that controls the auto interval `$__interval` calculation. Interval was previously calculated by dividing the panel width by the time range. With the new max data points option it is now easy to set `$__interval` to a dynamic value that is time range agnostic. For example if you set `Max data points` to 10 Grafana will dyanmically set `$__interval` by dividing the current time range by 10. - **Interval calculation**: There is now a new option `Max data points` that controls the auto interval `$__interval` calculation. Interval was previously calculated by dividing the panel width by the time range. With the new max data points option it is now easy to set `$__interval` to a dynamic value that is time range agnostic. For example if you set `Max data points` to 10 Grafana will dyanmically set `$__interval` by dividing the current time range by 10.
- **Datasource/Loki**: Support for [deprecated Loki endpoints](https://github.com/grafana/loki/blob/master/docs/api.md#lokis-http-api) has been removed. - **Datasource/Loki**: Support for [deprecated Loki endpoints](https://github.com/grafana/loki/blob/master/docs/api.md#lokis-http-api) has been removed.
**Deprecation warnings**
- Scripted dashboards is now deprecated. The feature is not removed but will be in a future release. We hope to address the underlying requirement of dynamic dashboards in a different way. [#24059](https://github.com/grafana/grafana/issues/24059)
## 7.0 Feature highlights ## 7.0 Feature highlights
### Data transformations ### Data transformations
@@ -3,9 +3,11 @@ title = "Navigation links"
description = "" description = ""
keywords = ["grafana", "linking", "create links", "link panels", "link dashboards", "navigate"] keywords = ["grafana", "linking", "create links", "link panels", "link dashboards", "navigate"]
type = "docs" type = "docs"
aliases = ["/docs/grafana/latest/features/navigation-links/"]
[menu.docs] [menu.docs]
identifier = "dashboards"
parent = "features" parent = "features"
weight = 9 weight = 1
+++ +++
# Navigation links # Navigation links
@@ -22,9 +24,9 @@ Start by figuring out how you're currently navigating between dashboards. If you
The next step is to figure out which link type is right for your workflow. Even though all the link types in Grafana are used to create shortcuts to other dashboards or external websites, they work in different contexts. The next step is to figure out which link type is right for your workflow. Even though all the link types in Grafana are used to create shortcuts to other dashboards or external websites, they work in different contexts.
- If the link relates to most if not all of the panels in the dashboard, use a *dashboard link*. - If the link relates to most if not all of the panels in the dashboard, use a _dashboard link_.
- If you want to drill down into specific panels, use a *panel link*. - If you want to drill down into specific panels, use a _panel link_.
- If you want to drill down into a specific series, or even a single measurement, use a *data link*. - If you want to drill down into a specific series, or even a single measurement, use a _data link_.
## Dashboard links ## Dashboard links
+3 -5
View File
@@ -138,12 +138,12 @@
name: Export and import name: Export and import
- link: /reference/datalinks/ - link: /reference/datalinks/
name: Data links name: Data links
- name: Navigation links
link: /features/dashboard/links
- link: /reference/dashboard_history/ - link: /reference/dashboard_history/
name: Dashboard version history name: Version history
- link: /reference/dashboard/ - link: /reference/dashboard/
name: JSON Model name: JSON Model
- link: /reference/scripting/
name: Scripted dashboards
- name: Data sources - name: Data sources
link: /features/datasources/ link: /features/datasources/
children: children:
@@ -194,8 +194,6 @@
link: /features/shortcuts/ link: /features/shortcuts/
- name: Reporting - name: Reporting
link: /features/reporting/ link: /features/reporting/
- name: Navigation links
link: /features/navigation-links/
- name: What's new in Grafana - name: What's new in Grafana
link: /whatsnew/ link: /whatsnew/
children: children:
+5 -4
View File
@@ -7,6 +7,7 @@ parent = "dashboard_features"
weight = 9 weight = 9
+++ +++
> This feature is deprecated and will be removed in a future release
# Scripted Dashboards # Scripted Dashboards
@@ -40,12 +41,12 @@ dashboard.panels.push({
}, },
targets: [ targets: [
{ {
'target': "randomWalk('" + seriesName + "')" target: "randomWalk('" + seriesName + "')",
}, },
{ {
'target': "randomWalk('random walk2')" target: "randomWalk('random walk2')",
} },
] ],
}); });
return dashboard; return dashboard;