Release Notes v5.4.x

Grafana v5.4 brings new features, many enhancements and bug fixes. This article will detail the major new features and enhancements.

Release Highlights

5.4.5 (2019-08-29)

  • Security: Urgent security patch release. Please read more in our blog

5.4.4 (2019-04-29)

File Exfiltration vulnerability Security fix

See security announcement for details.

5.4.3 (2019-01-14)


  • Docker: Build and publish docker images for armv7 and arm64 #14617, thx @johanneswuerbach
  • Backend: Upgrade to golang 1.11.4 #14580
  • MySQL only update session in mysql database when required #14540

Bug fixes

  • Alerting Invalid frequency causes division by zero in alert scheduler #14810
  • Dashboard Dashboard links do not update when time range changes #14493
  • Limits Support more than 1000 datasources per org #13883
  • Backend fix signed in user for orgId=0 result should return active org id #14574
  • Provisioning Adds orgId to user dto for provisioned dashboards #14678

5.4.2 (2018-12-13)

  • Datasource admin: Fix for issue creating new data source when same name exists #14467
  • OAuth: Fix for oauth auto login setting, can now be set using env variable #14435
  • Dashboard search: Fix for searching tags in tags filter dropdown.

5.4.1 (2018-12-10)

  • Stackdriver: Fixes issue with data proxy and Authorization header #14262
  • Units: fixedUnit for Flow:l/min and mL/min #14294, thx @flopp999.
  • Logging: Fix for issue where data proxy logged a secret when debug logging was enabled, now redacted. #14319
  • InfluxDB: Add support for alerting on InfluxDB queries that use the cumulative_sum function. #14314, thx @nitti
  • Plugins: Panel plugins should no receive the panel-initialized event again as usual.
  • Embedded Graphs: Iframe graph panels should now work as usual. #14284
  • Postgres: Improve PostgreSQL Query Editor if using different Schemas, #14313
  • Quotas: Fixed for updating org & user quotas. #14347, thx #moznion
  • Cloudwatch: Add the AWS/SES Cloudwatch metrics of BounceRate and ComplaintRate to auto complete list. #14401, thx @sglajchEG
  • Dashboard Search: Fixed filtering by tag issues.
  • Graph: Fixed time region issues, #14425, #14280
  • Graph: Fixed issue with series color picker popover being placed outside window.

5.4.0 (2018-12-03)

  • Cloudwatch: Fix invalid time range causes segmentation fault #14150
  • Cloudwatch: AWS/CodeBuild metrics and dimensions #14167, thx @mmcoltman
  • MySQL: Fix $__timeFrom() and $__timeTo() should respect local time zone #14228

5.4.0-beta1 fixes

  • Graph: Fix legend always visible even if configured to be hidden #14144
  • Elasticsearch: Fix regression when using datasource version 6.0+ and alerting #14175

5.4.0-beta1 (2018-11-20)

New Features

  • Alerting: Introduce alert debouncing with the FOR setting. #7886 & #6202
  • Alerting: Option to disable OK alert notifications #12330 & #6696, thx @davewat
  • Postgres/MySQL/MSSQL: Adds support for configuration of max open/idle connections and connection max lifetime. Also, panels with multiple SQL queries will now be executed concurrently #11711, thx @connection-reset
  • MySQL: Graphical query builder #13762, thx svenklemm
  • MySQL: Support connecting thru Unix socket for MySQL datasource #12342, thx @Yukinoshita-Yukino
  • MSSQL: Add encrypt setting to allow configuration of how data sent between client and server are encrypted #13629, thx @ramiro
  • Stackdriver: Not possible to authenticate using GCE metadata server #13669
  • Teams: Team preferences (theme, home dashboard, timezone) support #12550
  • Graph: Time regions support enabling highlight of weekdays and/or certain timespans #5930
  • OAuth: Automatic redirect to sign-in with OAuth #11893, thx @Nick-Triller
  • Stackdriver: Template query editor #13561


  • Security: Upgrade macaron session package to fix security issue. #14043
  • Cloudwatch: Show all available CloudWatch regions #12308, thx @mtanda
  • Cloudwatch: AWS/Connect metrics and dimensions #13970, thx @zcoffy
  • Cloudwatch: CloudHSM metrics and dimensions #14129, thx @daktari
  • Cloudwatch: Enable using variables in the stats field #13810, thx @mtanda
  • Postgres: Add delta window function to postgres query builder #13925, thx svenklemm
  • Elasticsearch: Fix switching to/from es raw document metric query #6367
  • Elasticsearch: Fix deprecation warning about terms aggregation order key in Elasticsearch 6.x #11977
  • Graph: Render dots when no connecting line can be made #13605, thx @jsferrei
  • Table: Fix CSS alpha background-color applied twice in table cell with link #13606, thx @grisme
  • Singlestat: Fix XSS in prefix/postfix #13946, thx @cinaglia
  • Units: New clock time format, to format ms or second values as for example 01h:59m, #13635, thx @franciscocpg
  • Alerting: Increaste default duration for queries #13945
  • Alerting: More options for the Slack Alert notifier #13993, thx @andreykaipov
  • Alerting: Can’t receive DingDing alert when alert is triggered #13723, thx @Yukinoshita-Yukino
  • Alerting: Increase Telegram captions length limit #13876, thx @skgsergio
  • Internal metrics: Renamed grafana_info to grafana_build_info and added branch, goversion and revision #13876
  • Datasource Proxy: Keep trailing slash for datasource proxy requests #13326, thx @ryantxu
  • OAuth: Fix Google OAuth relies on email, not google account id #13924, thx @vinicyusmacedo
  • Dashboard: Toggle legend using keyboard shortcut #13655, thx @davewat
  • Dashboard: Fix render dashboard row drag handle only in edit mode #13555, thx @praveensastry
  • Teams: Fix cannot select team if not included in initial search #13425
  • Render: Support full height screenshots using phantomjs render script #13352, thx @amuraru
  • HTTP API: Support retrieving teams by user #14120, thx @supercharlesliu
  • Metrics: Add basic authentication to metrics endpoint #13577, thx @bobmshannon

Breaking changes

  • Postgres/MySQL/MSSQL datasources now per default uses max open connections = unlimited (earlier 10), max idle connections = 2 (earlier 10) and connection max lifetime = 4 hours (earlier unlimited).