Commit 11134efc by Torkel Ödegaard Committed by GitHub

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

parent ab073261
......@@ -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.
- **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
### Data transformations
......
......@@ -3,9 +3,11 @@ title = "Navigation links"
description = ""
keywords = ["grafana", "linking", "create links", "link panels", "link dashboards", "navigate"]
type = "docs"
aliases = ["/docs/grafana/latest/features/navigation-links/"]
[menu.docs]
identifier = "dashboards"
parent = "features"
weight = 9
weight = 1
+++
# 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.
- 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 a specific series, or even a single measurement, use a *data 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 a specific series, or even a single measurement, use a _data link_.
## Dashboard links
......
......@@ -138,12 +138,12 @@
name: Export and import
- link: /reference/datalinks/
name: Data links
- name: Navigation links
link: /features/dashboard/links
- link: /reference/dashboard_history/
name: Dashboard version history
name: Version history
- link: /reference/dashboard/
name: JSON Model
- link: /reference/scripting/
name: Scripted dashboards
- name: Data sources
link: /features/datasources/
children:
......@@ -194,8 +194,6 @@
link: /features/shortcuts/
- name: Reporting
link: /features/reporting/
- name: Navigation links
link: /features/navigation-links/
- name: What's new in Grafana
link: /whatsnew/
children:
......
......@@ -7,6 +7,7 @@ parent = "dashboard_features"
weight = 9
+++
> This feature is deprecated and will be removed in a future release
# Scripted Dashboards
......@@ -23,7 +24,7 @@ If you open scripted.js you can see how it reads URL parameters from ARGS variab
```javascript
var seriesName = 'argName';
if(!_.isUndefined(ARGS.name)) {
if (!_.isUndefined(ARGS.name)) {
seriesName = ARGS.name;
}
......@@ -40,12 +41,12 @@ dashboard.panels.push({
},
targets: [
{
'target': "randomWalk('" + seriesName + "')"
target: "randomWalk('" + seriesName + "')",
},
{
'target': "randomWalk('random walk2')"
}
]
target: "randomWalk('random walk2')",
},
],
});
return dashboard;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment