Docs: What's new in 6.4 update (#19175)

* Updated whats new article

* Fixed reports image

* fixes to whats new doc

* Minor changes
This commit is contained in:
Torkel Ödegaard 2019-09-17 15:51:45 +02:00 committed by GitHub
parent 32417e1388
commit 79cb51c93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,24 +16,132 @@ For all details please read the full [CHANGELOG.md](https://github.com/grafana/g
## Highlights
Grafana 6.4 comes with a lot of new features and enhancements backed with tons of work around the data models and query
execution that is going to enable powerful future capabilities. Some of those new capabilities can already be seen in
this release, like sharing query results between panels.
Grafana 6.4 comes with a lot of new features and enhancements backed with tons of work around the data models and query execution that is going to enable powerful future capabilities.
Some of those new capabilities can already be seen in this release, like sharing query results between panels.
- [**Explore:** Go back to dashboard (with query changes)]({{< relref "#go-back-to-dashboard-from-explore" >}})
- [**Explore:** Live tailing improvements]({{< relref "#live-tailing-improvements" >}})
- [**Loki:** Show logs as annotations in dashboard graphs]({{< relref "#loki-annotations" >}})
- [**Loki:** Use Loki in dashboard panels]({{< relref "#loki-in-dashbaords" >}})
- **Loki:** Show logs as annotations in dashboard graphs
- **Loki:** Use Loki in dashboard panels
- [**Panels:** New logs panel]({{< relref "#new-logs-panel" >}})
- [**Panels:** Data links improvements]({{< relref "#data-links-improvements" >}})
- [**Dashboard:** Share query results between panels]({{< relref "#share-query-results" >}})
- **Graph:** Series override to turn constant (point) into a line
- [**Dashboard:** Share query results between panels]({{< relref "#share-query-results-between-panels" >}})
- [**Plugins:** Alpha version of grafana-toolkit]({{< relref "#alpha-version-of-grafana-toolkit" >}})
- [**Azure:** Query over multiple resources in Azure Monitor]({{< relref "#query-over-multiple-resources-in-azure-monitor" >}})
- [**ImageRendering:** PhantomJS deprecation]({{< relref "#phantomjs-deprecation" >}})
- [**Docker:** Alpine based docker image]({{< relref "#alpine-based-docker-image" >}})
- [**LDAP Debug View**: Reporting]({{< relref "#ldap-debug-view" >}})
- [**LDAP:** Debug UI]({{< relref "#ldap-debug-ui" >}})
- [**Enterprise**: Reporting]({{< relref "#reporting" >}})
- [**Enterprise**: GitLab OAuth Team Sync support]({{< relref "#gitlab-oauth-team-sync-support" >}})
- [**Enterprise**: Teams & LDAP Improvements]({{< relref "#ldap-teams" >}})
More details on the above coming soon!
### Go back to dashboard from Explore
To help accelerate workflows that involve regularly switching from Explore to a dashboard and vice-versa, we've added the ability to return to the origin dashboard
after navigating to Explore from the panel's dropdown.
{{< docs-imagebox img="/img/docs/v60/explore_panel_menu.png" caption="Screenshot of the new Explore Icon" >}}
After you've navigated to Explore, you should notice a "Back" button in the Explore toolbar.
<img src="/img/docs/v64/explore_toolbar_1.png" />
Simply clicking the button will return you to the origin dashboard, or, if you'd like to bring changes you make in Explore back to the dashboard, simply click
the arrow next to the button to reveal a "Return to panel with changes" menu item.
<img src="/img/docs/v64/explore_toolbar_v2.png" />
### Live tailing improvements
With 6.4 version you can now pause the live tail view to see the last 1000 lines of logs without being interrupted by new logs coming in. You can either pause manually with pause button or the live tailing will automatically pause when you scroll up to see older logs. To resume you just hit the resume button to continue live tailing.
We also introduced some performance optimizations to allow live tailing of higher throughput log streams and various UI fixes and improvements like more consistent styling and fresh logs highlighting.
<img src="/img/docs/v64/explore_live_tailing.gif" />
### New Logs Panel
A new panel specifically to show logs is added in this release. Its in early alpha state so you have to enable alpha panels (in config file) to be able to try it out.
## Data Links improvements
With Grafana 6.3 we introduced a new way of creating [Data Links](https://grafana.com/blog/2019/08/27/new-in-grafana-6.3-easy-to-use-data-links/).
Grafana 6.4 improves Data Links and adds them to the Gauge and Bar Gauge and panels.
With Data Links you can define dynamic links to other dashboards and systems. The link can now reference template variables and query results like series name & labels, field name, value and time.
Read more about Data Links and what you can do with them in [documentation](https://grafana.com/docs/features/panels/graph/#data-link)
## Share query results between panels
Grafana 6.4 continues the work started in 6.3 of creating a data model and query execution lifecycle that can support robust analytics and streaming. These changes are mostly structural and lay the foundation for powerful features in future releases.
The first new feature all these changes have enabled is the ability to share query results between panels. So for example if you have an expensive query you can visualize the same results in a graph, table and singlestat panel. To reuse another panels query result select the data source named `-- Dashboard --` and then select the panel.
To make the sharing of query results even more powerful we are introducing a transformation step as well that allows you to select specific parts of the query result and transform it. This new transformation feature is in [alpha](https://grafana.com/docs/installation/configuration/#enable-alpha) state and has to be enabled in the config file.
DataFrame, our primary data model, has now a [columnar](https://en.wikipedia.org/wiki/Column-oriented_DBMS) layout. This
will support easier frontend processing. The DataSource query interface has been updated to better support streaming.
The result can now either return a `Promise<result>` or `Observable<result>`. Be on the lookout for more on live data
streaming in the future!
## Alpha version of grafana-toolkit
[grafana-toolkit](https://www.npmjs.com/package/@grafana/toolkit/v/6.4.0-beta.1) is our attempt to simplify the life of plugin developers. Its a CLI that helps them focus on the core value of their plugin rather than the ceremony around setting up the environment, configs, tests and builds. Its available as an NPM package under `next` tag.
You can read more about the grafana-toolkit [in the Readme](https://github.com/grafana/grafana/blob/master/packages/grafana-toolkit/README.md) and play with it by trying out our [react panel](https://github.com/grafana/simple-react-panel) or [angular panel](https://github.com/grafana/simple-angular-panel) templates.
## Query over multiple resources in Azure Monitor
Up until now it has only been possible to query over one resource in one subscription in the Azure Monitor datasource. In Grafana 6.4, the Azure Monitor query editor contains a new option called Query Mode which allows for querying over multiple resources in multiple subscriptions. This can be very useful in many situations, e.g cpu credits consumed by all virtual machines over many subscriptions.
Alerting is yet to be implemented for Multiple Resources queries.
## PhantomJS deprecation
[PhantomJS](https://phantomjs.org/), which is used for rendering images of dashboards and panels, have been deprecated and will be removed in a future Grafana release. A deprecation warning will from now on be logged when Grafana starts up if PhantomJS is in use.
Please consider migrating from PhantomJS to the [Grafana Image Renderer plugin](https://grafana.com/grafana/plugins/grafana-image-renderer).
## Alpine based docker image
Grafanas docker image is now based on Alpine 3.10 and should from now on report zero vulnerabilities when scanning the image for security vulnerabilities.
## LDAP Debug UI
After listening to customer feedback, we have been working at improving the experience to set up authentication and synchronization with LDAP. We're happy to present the new LDAP Debug View.
You'll be able to see how a user authenticating with LDAP would be mapped and whether your LDAP integration is working correctly. Furthermore, it provides a simpler method to test your integration with LDAP server(s) and have a clear view of how attributes are mapped between both systems.
The feature is currently limited to Grafana Server Admins.
For more information on how to use this new feature, follow the [guide](TBD).
## Grafana Enterprise
### Reporting
A common request from Enterprise users have been to be able to set up reporting for Grafana, and now its here. A report is simply a PDF of a Grafana dashboard, outside of just generating a PDF you can set up a schedule so that you can get the report emailed to yourself (or whoever is interested) whenever it suits you.
This feature is currently limited to Organization Admins.
{{< docs-imagebox img="/img/docs/v64/reports.jpeg" max-width="500px" caption="Reporting" >}}
### GitLab OAuth Team Sync support
GitLab OAuth gets support for Team Sync, making it possible to synchronize your GitLab Groups with Teams in Grafana.
[Read more about Team Sync](https://grafana.com/docs/auth/team-sync/)
## Upgrading
See [upgrade notes](/docs/installation/upgrading/#upgrading-to-v6-4).
## Changelog
Checkout the [CHANGELOG.md](https://github.com/grafana/grafana/blob/master/CHANGELOG.md) file for a complete list of new features, changes, and bug fixes.