grafana/docs/sources/guides/whats-new-in-v5-2.md

102 lines
5.0 KiB
Markdown
Raw Normal View History

2018-06-04 07:31:43 -05:00
+++
2020-02-11 12:35:44 -06:00
title = "What's new in Grafana v5.2"
description = "Feature and improvement highlights for Grafana v5.2"
2020-02-11 12:35:44 -06:00
keywords = ["grafana", "new", "documentation", "5.2", "release notes"]
2018-06-04 07:31:43 -05:00
type = "docs"
[menu.docs]
name = "Version 5.2"
identifier = "v5.2"
parent = "whatsnew"
weight = -8
+++
2020-02-11 12:35:44 -06:00
# What's new in Grafana v5.2
2018-06-04 07:31:43 -05:00
Grafana v5.2 brings new features, many enhancements and bug fixes. This article will detail the major new features and enhancements.
2018-06-27 07:20:36 -05:00
- [Elasticsearch alerting]({{< relref "#elasticsearch-alerting" >}}) it's finally here!
- [Native builds for ARM]({{< relref "#native-builds-for-arm" >}}) native builds of Grafana for many more platforms!
- [Improved Docker image]({{< relref "#improved-docker-image" >}}) with support for docker secrets
- [Security]({{< relref "#security" >}}) make your Grafana instance more secure
- [Prometheus]({{< relref "#prometheus" >}}) with alignment enhancements
- [InfluxDB]({{< relref "#influxdb" >}}) now supports the `mode` function
- [Alerting]({{< relref "#alerting" >}}) with alert notification channel type for Discord
- [Dashboards and Panels]({{< relref "#dashboards-panels" >}}) with save and import enhancements
2018-06-04 07:31:43 -05:00
## Elasticsearch alerting
{{< docs-imagebox img="/img/docs/v52/elasticsearch_alerting.png" max-width="800px" class="docs-image--right" >}}
Grafana v5.2 ships with an updated Elasticsearch data source with support for alerting. Alerting support for Elasticsearch has been one of
2018-06-04 07:31:43 -05:00
the most requested features by our community and now it's finally here. Please try it out and let us know what you think.
<div class="clearfix"></div>
2018-06-26 08:37:22 -05:00
## Native builds for ARM
2018-06-04 07:31:43 -05:00
2018-06-27 07:20:36 -05:00
Grafana v5.2 brings an improved build pipeline with cross-platform support. This enables native builds of Grafana for ARMv7 (x32) and ARM64 (x64).
We've been longing for native ARM build support for ages. With the help from our amazing community this is now finally available.
2018-06-26 08:37:22 -05:00
Please try it out and let us know what you think.
Another great addition with the improved build pipeline is that binaries for macOS/Darwin (x64) and Windows (x64) are now automatically built and
2018-06-26 08:37:22 -05:00
published for both stable and nightly builds.
2018-06-04 07:31:43 -05:00
## Improved Docker image
2018-06-27 07:20:36 -05:00
The Grafana docker image adds support for Docker secrets which enables you to supply Grafana with configuration through files. More
2018-06-04 07:31:43 -05:00
information in the [Installing using Docker documentation](/installation/docker/#reading-secrets-from-files-support-for-docker-secrets).
## Security
{{< docs-imagebox img="/img/docs/v52/login_change_password.png" max-width="800px" class="docs-image--right" >}}
Starting from Grafana v5.2, when you login with the administrator account using the default password you'll be presented with a form to change the password.
2018-06-27 07:20:36 -05:00
We hope this encourages users to follow Grafana's best practices and change the default administrator password.
<div class="clearfix"></div>
2018-06-04 07:31:43 -05:00
## Prometheus
The Prometheus data source now aligns the start/end of the query sent to Prometheus with the step, which ensures PromQL expressions with *rate*
2018-06-27 07:20:36 -05:00
functions get consistent results, and thus avoids graphs jumping around on reload.
2018-06-04 07:31:43 -05:00
## InfluxDB
The InfluxDB data source now includes support for the *mode* function which returns the most frequent value in a list of field values.
2018-06-04 07:31:43 -05:00
## Alerting
By popular demand Grafana now includes support for an alert notification channel type for [Discord](https://discordapp.com/).
## Dashboards and Panels
2018-06-04 07:31:43 -05:00
### Modified time range and variables are no longer saved by default
{{< docs-imagebox img="/img/docs/v52/dashboard_save_modal.png" max-width="800px" class="docs-image--right" >}}
2018-06-27 07:20:36 -05:00
Starting from Grafana v5.2, a modified time range or variable are no longer saved by default. To save a modified
time range or variable, you'll need to actively select that when saving a dashboard, see screenshot.
2020-05-13 16:34:10 -05:00
This should hopefully make it easier to have same defaults for time and variables in dashboards and make it more explicit
2018-06-04 07:31:43 -05:00
when you actually want to overwrite those settings.
<div class="clearfix"></div>
### Import dashboard enhancements
{{< docs-imagebox img="/img/docs/v52/dashboard_import.png" max-width="800px" class="docs-image--right" >}}
2018-06-27 07:20:36 -05:00
Grafana v5.2 adds support for specifying an existing folder or creating a new one when importing a dashboard - a long-awaited feature since
Grafana v5.0 introduced support for dashboard folders and permissions. The import dashboard page has also got some general improvements
and should now make it more clear if a possible import will overwrite an existing dashboard, or not.
2018-06-27 07:20:36 -05:00
This release also adds some improvements for those users only having editor or admin permissions in certain folders. The links to
*Create Dashboard* and *Import Dashboard* are now available in the side navigation, in dashboard search and on the manage dashboards/folder page for a
user that has editor role in an organization or the edit permission in at least one folder.
<div class="clearfix"></div>
2018-06-04 07:31:43 -05:00
## Changelog
Check out the [CHANGELOG.md](https://github.com/grafana/grafana/blob/master/CHANGELOG.md) file for a complete list
2018-06-04 07:31:43 -05:00
of new features, changes, and bug fixes.