493 KiB
9.0.0-beta2 (2022-05-31)
Features and enhancements
- Alerting: Add legacy indicator to navbar. #49511, @peterholmberg
- Alerting: Add templated subject config to email notifier. #49742, @JacobsonMT
- Alerting: Enable Unified Alerting for open source and enterprise. #49834, @grobinson-grafana
- Alerting: Make alertmanager datasource stable. #49485, @gillesdemey
- Angular: Remove deprecated angular modal support and libs. #49781, @torkelo
- AuthProxy: Remove deprecated ldap_sync_ttl setting. #49902, @kalleep
- Build: Enable long term caching for frontend assets. #47625, @jackw
- Chore: Remove deprecated TextDisplayOptions export. #49705, @kaydelaney
- Chore: Remove deprecated
surface
prop from IconButton. #49715, @kaydelaney - Chore: Remove usage of deprecated getColorForTheme function. #49519, @kaydelaney
- DatePicker: Add minDate prop. #49503, @alexanderzobnin
- Notification history: Enable by default. #49502, @ashharrison90
- Prometheus: Add pluginVersion to query. #49414, @toddtreece
- Prometheus: Enable prometheusStreamingJSONParser by default. #49475, @toddtreece
- Prometheus: Predefined scopes for Azure authentication. #49557, @kostrse
- Prometheus: Streaming JSON parser performance improvements. #48792, @toddtreece
- ValueMapping: Add support for regex replacement over multiple lines. #49607, @ashharrison90
Bug fixes
- Accessibility: Pressing escape in a Modal or DashboardSettings correctly closes the overlay. #49500, @ashharrison90
- Alerting: Validate alert notification UID length. #45546, @wbrowne
- BackendSrv: Throw an error when fetching an invalid JSON. #47493, @leventebalogh
- Fix: Timeseries migration regex override. #49629, @zoltanbedi
- Loki: Fix unwrap parsing in query builder. #49732, @ivanahuckova
- Navigation: Position hamburger menu correctly in mobile view. #49603, @ashharrison90
- PanelEditor: Fixes issue with Table view and multi data frames. #49854, @JoaoSilvaGrafana
- Preferences: Fix updating of preferences for Navbar and Query History. #49677, @ivanahuckova
- TimeRange: Fixes issue when zooming out on a timerange with timespan 0. #49622, @JoaoSilvaGrafana
- Variables: Fixes DS variables not being correctly used in panel queries. #49323, @JoaoSilvaGrafana
Breaking changes
Drop support for deprecated setting ldap_sync_ttl under [auth.proxy] Only sync_ttl will work from now on Issue #49902
Removes support for deprecated heading
and description
props. Moving forward, the Card.Heading
and Card.Description
components should be used. Issue #49885
Removes the deprecated link
variant from the Button
component.
To migrate, replace any usage of variant="link"
with fill="text"
. Issue #49843
Removes the deprecated surface
prop from the IconButton
component. This prop hasn't actually done anything for a while, so it should be safe to just remove any instances of its usage.
Issue #49715
Removes the deprecated TextDisplayOptions
export from @grafana/data
in favor of VizTextDisplayOptions
from @grafana/schema
. To migrate, just replace usage of TextDisplayOptions
with VizTextDisplayOptions
. Issue #49705
Removed support for the deprecated getColorForTheme(color: string, theme: GrafanaTheme)
function in favor of the
theme.visualization.getColorByName(color: string)
method. The output of this method is identical to the removed function, so migration should just be a matter of rewriting calls of getColorForTheme(myColor, myTheme)
to myTheme.visualization.getColorByName(myColor)
.
Issue #49519
In the Prometheus data source, for consistency and performance reasons, we changed how we represent NaN
(not a number) values received from Prometheus. In the past versions, we converted these to null
in the frontend (for dashboard and explore), and kept as NaN
in the alerting path. Starting with this version, we will always keep it as NaN
. This change should be mostly invisible for the users. Issue #49475
Plugins using custom Webpack configs could potentially break due to the changes between webpack@4 and webpack@5. Please refer to the official migration guide for assistance.
Webpack 5 does not include polyfills for node.js core modules by default (e.g. buffer
, stream
, os
). This can result in failed builds for plugins. If polyfills are required it is recommended to create a custom webpack config in the root of the plugin repo and add the required fallbacks:
// webpack.config.js
module.exports.getWebpackConfig = (config, options) => ({
...config,
resolve: {
...config.resolve,
fallback: {
os: require.resolve('os-browserify/browser'),
stream: require.resolve('stream-browserify'),
timers: require.resolve('timers-browserify'),
},
},
});
Please refer to the webpack build error messages or the official migration guide for assistance with fallbacks.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
It does not bump the following dependencies to the very latest due to the latest versions being ES modules:
- ora
- globby
- execa
- chalk Issue #47826
We have changed the internals of backendSrv.fetch()
to throw an error when the response is an incorrect JSON.
// PREVIOUSLY: this was returning with an empty object {} - in case the response is an invalid JSON
return await getBackendSrv().post(`${API_ROOT}/${id}/install`);
// AFTER THIS CHANGE: the following will throw an error - in case the response is an invalid JSON
return await getBackendSrv().post(`${API_ROOT}/${id}/install`);
When is the response handled as JSON?
- If the response has the
"Content-Type: application/json"
header, OR - If the backendSrv options (
BackendSrvRequest
) specify the response as JSON:{ responseType: 'json' }
How does it work after this change?
- In case it is recognised as a JSON response and the response is empty, it returns an empty object
{}
- In case it is recognised as a JSON response and it has formatting errors, it throws an error
How to migrate?
Make sure to handle possible errors on the callsite where using backendSrv.fetch()
(or any other backendSrv
methods). Issue #47493
Plugin development fixes & changes
- UI/Card: Remove deprecated props. #49885, @kaydelaney
- UI/Button: Remove deprecated "link" variant. #49843, @kaydelaney
- Toolkit: Bump dependencies. #47826, @jackw
9.0.0-beta1 (2022-05-24)
Features and enhancements
- AccessControl: Add setting for permission cache. (Enterprise)
- AccessControl: Check dashboard permissions for reports. (Enterprise)
- Auth: Remove grafana ui dependency to the aws sdk. #43559, @sunker
- BasicRoles: Add API endpoint to reset basic roles permissions to factory. (Enterprise)
- LDAP Mapping: Allow Grafana Admin mapping without org role. #37189, @krzysdabro
- Licensing: Only enforce total number of users. (Enterprise)
- Loki: do not convert NaN to null. #45389, @gabor
- Report: API support for multiple dashboards. (Enterprise)
- Report: Support sending embedded image in the report email. (Enterprise)
- Report: UI for multiple dashboards. (Enterprise)
- Reporting: Remove redundant empty attachment when export to CSV is enabled. (Enterprise)
- SAML: Implement Name Templates for assertion_attribute_name option. (Enterprise)
- SSE/Alerting: Support prom instant vector responses. #44865, @kylebrandt
- Tracing: Add trace to metrics config behind feature toggle. #46298, @connorlindsey
Bug fixes
- Fix: Prevent automatic parsing of string data types to numbers. #46035, @joshhunt
- Prometheus: Fix inconsistent labels in exemplars resulting in marshal json error. #46135, @hanjm
Breaking changes
In the Loki data source, for consistency and performance reasons, we changed how we represent NaN
(not a number) values received from Loki. In the past versions, we converted these to null
in the frontend (for dashboard and explore), and kept as NaN
in the alerting path. Starting with this version, we will always keep it as NaN
. This change should be mostly invisible for the users. Issue #45389
The dependency to grafana/aws-sdk is moved from grafana/ui to the plugin. This means that any plugin that use SIGV4 auth need to pass a SIGV4 editor component as a prop to the DataSourceHttpSettings
component. Issue #43559
8.5.4 (2022-05-30)
Features and enhancements
- Alerting: Remove disabled flag for data source when migrating alerts. #48559, @yuri-tceretian
- Alerting: Show notification tab of legacy alerting only to editor. #49624, @yuri-tceretian
- Alerting: Update migration to migrate only alerts that belong to existing org\dashboard. #49192, @yuri-tceretian
- AzureMonitor: Do not quote variables when a custom "All" variable option is used. #49428, @andresmgot
- AzureMonitor: Update allowed namespaces. #48468, @jcolladokuri
- CloudMonitor: Correctly encode default project response. #49510, @aangelisc
- Cloudwatch: Add support for new AWS/RDS EBS* metrics. #48798, @szymonpk
- InfluxDB: Use backend for influxDB by default via feature toggle. #48453, @yesoreyeram
- Legend: Use correct unit for percent and count calculations. #49004, @dprokop
- LokI: use millisecond steps in Grafana 8.5.x. #48630, @gabor
- Plugins: Introduce HTTP 207 Multi Status response to api/ds/query. #48550, @wbrowne
- Reporting: Improve PDF file size using grid layout. (Enterprise)
- Transformations: Add an All Unique Values Reducer. #48653, @josiahg
- Transformers: avoid error when the ExtractFields source field is missing. #49368, @wardbekker
- [v8.5.x] Alerting: Update migration to migrate only alerts that belong to existing org\dashboard. #49199, @grafanabot
- [v8.5.x] Reporting: Improve PDF file size using grid layout. (Enterprise)
Bug fixes
- Alerting: Allow disabling override timings for notification policies. #48648, @gillesdemey
- Alerting: Allow serving images from custom url path. #49022, @gillesdemey
- Alerting: Apply Custom Headers to datasource queries. #47860, @joeblubaugh
- Alerting: Fix RBAC actions for notification policies. #49185, @yuri-tceretian
- Alerting: Fix access to alerts for viewer with editor permissions when RBAC is disabled. #49270, @yuri-tceretian
- Alerting: Fix anonymous access to alerting. #49203, @yuri-tceretian
- Alerting: correctly show all alerts in a folder. #48684, @gillesdemey
- AzureMonitor: Fixes metric definition for Azure Storage queue/file/blob/table resources. #49101, @aangelisc
- Dashboard: Fix dashboard update permission check. #48746, @IevaVasiljeva
- DashboardExport: Fix exporting and importing dashboards where query data source ended up as incorrect. #48410, @torkelo
- FileUpload: clicking the
Upload file
button now opens the modal correctly. #48766, @ashharrison90 - GrafanaUI: Fix color of links in error Tooltips in light theme. #49327, @joshhunt
- LibraryPanels: Fix library panels not connecting properly in imported dashboards. #49161, @joshhunt
- Loki: Improve unpack parser handling. #49074, @gabor
- RolePicker: Fix menu position on smaller screens. #48429, @Clarity-89
- TimeRange: Fixes updating time range from url and browser history. #48657, @torkelo
- TimeSeries: Fix detection & rendering of sparse datapoints. #48841, @leeoniya
- Timeseries: Fix outside range stale state. #49633, @ryantxu
- Tooltip: Fix links not legible in Tooltips when using light theme. #48748, @joshhunt
- Tooltip: Sort decimals using standard numeric compare. #49084, @dprokop
- Transforms: Labels to fields, fix label picker layout. #49304, @torkelo
- Variables: Fixes issue with data source variables not updating queries with variable. #49478, @torkelo
- [v8.5.x] Alerting: Fix RBAC actions for notification policies (#49185). #49348, @yuri-tceretian
- [v8.5.x] Alerting: Fix access to alerts for viewer with editor permissions when RBAC is disabled. #49427, @konrad147
- [v8.5.x] Alerting: Fix anonymous access to alerting. #49268, @yuri-tceretian
Breaking changes
For a data source query made via /api/ds/query :
- If the
DatasourceQueryMultiStatus
feature is enabled and- The data source response has an error set as part of the
DataResponse
, the resulting HTTP status code is now207 Multi Status
instead of400 Bad gateway
- The data source response has an error set as part of the
- If the
DatasourceQueryMultiStatus
feature is not enabled and- The data source response has an error set as part of the
DataResponse
, the resulting HTTP status code is400 Bad Request
(no breaking change) --> Issue #48550
- The data source response has an error set as part of the
8.5.3
Bug fixes
8.5.2 (2022-05-03)
Features and enhancements
- Alerting: Add safeguard for migrations that might cause dataloss. #48526, @JohnnyQQQQ
- AzureMonitor: Add support for not equals and startsWith operators when creating Azure Metrics dimension filters. #48077, @aangelisc
- Elasticsearch: Add deprecation notice for < 7.10 versions. #48506, @ivanahuckova
- Traces: Filter by service/span name and operation in Tempo and Jaeger. #48209, @joey-grafana
Bug fixes
- AzureAd Oauth: Fix strictMode to reject users without an assigned role. #48474, @kyschouv
- CloudWatch: Fix variable query tag migration. #48587, @iwysiu
- Plugins: Ensure catching all appropriate 4xx api/ds/query scenarios. #47565, @wbrowne
8.5.1 (2022-04-27)
Bug fixes
- Azure Monitor: Fix space character encoding for metrics query link to Azure Portal. #48139, @kevinwcyu
- CloudWatch: Prevent log groups from being removed on query change. #47994, @asimpson
- Cloudwatch: Fix template variables in variable queries. #48140, @iwysiu
- Explore: Prevent direct access to explore if disabled via feature toggle. #47714, @Elfo404
- InfluxDB: Fixes invalid no data alerts. #48295, @yesoreyeram
- Navigation: Prevent navbar briefly showing on login. #47968, @ashharrison90
- Plugins Catalog: Fix styling of hyperlinks. #48196, @marefr
- Table: Fix filter crashes table. #48258, @zoltanbedi
- TimeSeries: Properly stack series with missing datapoints. #48321, @leeoniya
8.5.0 (2022-04-21)
Features and enhancements
- Alerting: Add contact points provisioning API. #47197, @JohnnyQQQQ
- Alerting: Add resolved count to notification title when both firing and resolved present. #46697, @JacobsonMT
- Alerting: Alert rule should wait For duration when execution error state is Alerting. #47052, @grobinson-grafana
- Alerting: Classic conditions can now display multiple values. #46971, @gotjosh
- Alerting: Display query from grafana-managed alert rules on
/api/v1/rules
. #45969, @gotjosh - Alerting: Enhance support for arbitrary group names in managed alerts. #47785, @gillesdemey
- Alerting: add field for custom slack endpoint. #45751, @nathanrodman
- Azure Monitor : Adding json formatting of error messages in Panel Header Corner and Inspect Error Tab. #44877, @yaelleC
- Azure Monitor: Add 2 more Curated Dashboards for VM Insights. #45187, @jcolladokuri
- CloudWatch: Handle new error codes for MetricInsights. #47033, @Gabrielopesantos
- Dashboards: show changes in save dialog. #46557, @ryantxu
- DataSource: Default data source is no longer a persisted state but just the default data source for new panels. #45132, @torkelo
- DataSourcePlugin API: Allow queries import when changing data source type. #47435, @dprokop
- Explore: Remove return to panel button. #45018, @gelicia
- Explore: allow users to save Explore state to a new panel in a new dashboard. #45148, @Elfo404
- Instrumentation: Proxy status code correction and various improvements. #47473, @marefr
- Logging: Introduce feature toggle to activate gokit/log format. #47336, @ying-jeanne
- NewsPanel: Add support for Atom feeds. #45390, @kaydelaney
- Plugins: Add deprecation notice for /api/tsdb/query endpoint. #45238, @wbrowne
- Plugins: Adding support for traceID field to accept variables. #45559, @vinisdl
- PostgreSQL: __unixEpochGroup to support arithmetic expression as argument. #46764, @s0nik42
- Profile/Help: Expose option to disable profile section and help menu. #46308, @cameronwaterman
- Prometheus: Enable new visual query builder by default. #46634, @torkelo
- SAML: Allow disabling of SAML signups. #47481, @mmandrus
- SAML: Allow disabling of SAML signups. (Enterprise)
- Table: New pagination option. #45732, @zoltanbedi
- TablePanel: Add cell inspect option. #45620, @dprokop
- Tempo / Trace Viewer: Support Span Links in Trace Viewer. #45632, @Shachi16
- Tempo: Download span references in data inspector. #47074, @connorlindsey
- Tempo: Separate trace to logs and loki search datasource config. #46655, @connorlindsey
- Trace View: Show number of child spans. #44393, @tharun208
- Transformations: Support escaped characters in key-value pair parsing. #47901, @aangelisc
Bug fixes
- Azure Monitor: Bug Fix for incorrect variable cascading for template variables. #47478, @jcolladokuri
- CloudWatch: List all metrics properly in SQL autocomplete. #45898, @sunker
- CloudWatch: Run query on blur in logs query field. #47454, @fridgepoet
- Dashboard: Template variables are now correctly persisted when clicking breadcrumb links. #46790, @ashharrison90
- DashboardPage: Remember scroll position when coming back panel edit / view panel. #47639, @torkelo
- Panel Edit: Options search now works correctly when a logarithmic scale option is set. #47927, @ashharrison90
- Postgres: Return tables with hyphenated schemes. #45754, @zuchka
- Table panel: Fix horizontal scrolling when pagination is enabled. #47776, @dprokop
- Variables: Ensure variables in query params are correctly recognised. #47049, @ashharrison90
- Variables: Fix crash when changing query variable datasource. #44957, @joshhunt
- Visualizations: Stack negative-valued series downwards. #47373, @leeoniya
Breaking changes
For a proxied request, e.g. Grafana's datasource or plugin proxy:
- If the request is cancelled, e.g. from the browser/by the client, the HTTP status code is now
499 Client closed request
instead of502 Bad gateway
- If the request times out, e.g. takes longer time than allowed, the HTTP status code is now
504 Gateway timeout
instead of502 Bad gateway
. Issue #47473
The change in behavior is that negative-valued series are now stacked downwards from 0 (in their own stacks), rather than downwards from the top of the positive stacks. We now automatically group stacks by Draw style, Line interpolation, and Bar alignment, making it impossible to stack bars on top of lines, or smooth lines on top of stepped lines. Issue #47373
The meaning of the default data source has now changed from being a persisted property in a panel. Before when you selected the default data source for a panel and later changed the default data source to another data source it would change all panels who were configured to use the default data source. From now on the default data source is just the default for new panels and changing the default will not impact any currently saved dashboards. Issue #45132
The Tooltip component provided by @grafana/ui
is no longer automatically interactive (that is you can hover onto it and click a link or select text). It will from now on by default close automatically when you mouse out from the trigger element. To make tooltips behave like before set the new interactive
property to true.
Issue #45053
Deprecations
/api/tsdb/query
API has been deprecated and will be removed in a future release. Use /api/ds/query instead. Issue #45238
Plugin development fixes & changes
- Card: Increase clickable area when meta items are present. #47935, @ashharrison90
- Loki: Fix operator description propup from being shortened. #46575, @glintik
- Tooltips: Make tooltips non interactive by default. #45053, @torkelo
8.5.0-beta1 (2022-04-06)
Features and enhancements
- Add config option to enable/disable reporting. (Enterprise)
- Alerting: Accurately set value for prom-compatible APIs. #47216, @gotjosh
- Alerting: Provisioning API - Notification Policies. #46755, @alexweav
- Alerting: Notification URL points to alert view page instead of alert edit page. #47752, @joeblubaugh
- Analytics: Enable grafana and plugin update checks to be operated independently. #46352, @wbrowne
- Azure Monitor: Add support for multiple template variables in resource picker. #46215, @sarahzinger
- Caching: Add separate TTL for resources cache. (Enterprise)
- Caching: add support for TLS configuration for Redis Cluster. (Enterprise)
- NewsPanel: Remove Use Proxy option and update documentation with recommendations. #47189, @joshhunt
- OAuth: Sync GitHub OAuth user name to Grafana if it's set. #45438, @pallxk
Bug fixes
Breaking changes
When user is using Github OAuth, GitHub login is showed as both Grafana login and name. Now the GitHub name is showed as Grafana name, and GitHub login is showed as Grafana Login. Issue #45438
The meaning of the default data source has now changed from being a persisted property in a panel. Before when you selected the default data source for a panel and later changed the default data source to another data source it would change all panels who were configured to use the default data source. From now on the default data source is just the default for new panels and changing the default will not impact any currently saved dashboards. Issue #45132
8.4.7 (2022-04-19)
Features and enhancements
- CloudWatch: Added missing MemoryDB Namespace metrics. #47290, @james-deee
- Histogram Panel: Take decimal into consideration. #47330, @mdvictor
- TimeSeries: Sort tooltip values based on raw values. #46738, @dprokop
Bug fixes
- API: Include userId, orgId, uname in request logging middleware. #47183, @marefr
- Elasticsearch: Respect maxConcurrentShardRequests datasource setting. #47120, @alexandrst88
8.4.6 (2022-04-12)
- Security: Fixes CVE-2022-24812. For more information, see our blog
8.4.5 (2022-03-31)
Features and enhancements
- Instrumentation: Make backend plugin metrics endpoints available with optional authentication. #46467, @marefr
- Table panel: Show datalinks for cell display modes JSON View and Gauge derivates. #46020, @mdvictor
Bug fixes
- Azure Monitor: Small bug fixes for Resource Picker. #46665, @sarahzinger
- Logger: Use specified format for file logger. #46970, @sakjur
- Logs: Handle missing fields in dataframes better. #46963, @gabor
- ManageDashboards: Fix error when deleting all dashboards from folder view. #46877, @joshhunt
8.4.4 (2022-03-16)
Features and enhancements
- Loki: Add unpack to autocomplete suggestions (#44623). #46573, @glintik
- Plugins: allow using both Function and Class components for app plugins. #46148, @leventebalogh
- TimeSeries: Add migration for Graph panel's transform series override. #46577, @dprokop
- TimeSeries: Preserve null/undefined values when performing negative y transform. #46584, @dprokop
Bug fixes
- CloudWatch: Use default http client from aws-sdk-go. #46370, @sunker
- Dashboards: Fixes repeating by row and no refresh. #46565, @torkelo
- Gauge: Fixes blank viz when data link exists and orientation was horizontal. #46335, @torkelo
- Search: sort results correctly when using postgres. #46466, @xlson
- TagsInput: fix tags remove button accessibility issues. #46254, @Elfo404
- TextPanel: Sanitize after markdown has been rendered to html. #46166, @ashharrison90
8.4.3 (2022-03-02)
Features and enhancements
- Alerting: Grafana uses > instead of >= when checking the For duration. #46010
- Alerting: Use expanded labels in dashboard annotations. #45726, @grobinson-grafana
- Logs: Escape windows newline into single newline. #45771, @perosb
Bug fixes
- Alerting: Fix use of > instead of >= when checking the For duration. #46011, @grobinson-grafana
- Azure Monitor: Fixes broken log queries that use workspace. #45820, @sunker
- CloudWatch: Remove error message when using multi-valued template vars in region field. #45886, @sunker
- Middleware: Fix IPv6 host parsing in CSRF check. #45911, @ying-jeanne
Plugin development fixes & changes
- ClipboardButton: Use a fallback when the Clipboard API is unavailable. #45831, @ashharrison90
8.4.2 (2022-02-23)
Features and enhancements
- OAuth: Add setting to skip org assignment for external users. #34834, @baez90
- Tracing: Add option to map tag names to log label names in trace to logs settings. #45178, @connorlindsey
Bug fixes
8.4.1 (2022-02-18)
Features and enhancements
- Cloudwatch: Add support for AWS/PrivateLink* metrics and dimensions. #45515, @szymonpk
- Configuration: Add ability to customize okta login button name and icon. #44079, @DanCech
- Tempo: Switch out Select with AsyncSelect component to get loading state in Tempo Search. #45110, @CatPerry
Bug fixes
- Alerting: Fix migrations by making send_alerts_to field nullable. #45572, @santihernandezc
8.4.0 (2022-02-16)
Features and enhancements
- API: Extract OpenAPI specification from source code using go-swagger. #40528, @papagian
- AccessControl: Disable user remove and user update roles when they do not have the permissions. #43429, @Jguer
- AccessControl: Provisioning for teams. #43767, @gamab
- API: Add usage stats preview endpoint. #43899, @Jguer
- Alerting: Move slow queries in the scheduler to another goroutine. #44423, @grobinson-grafana
- Alerting: Use time.Ticker instead of alerting.Ticker in ngalert. #44395, @grobinson-grafana
- Alerting: add custom grouping to Alert Panel. #44559, @gillesdemey
- Analytics: Add user id tracking to google analytics. #42763, @autoric
- Angular: Add AngularJS plugin support deprecation plan to docs site. #45149, @torkelo
- Auth: implement auto_sign_up for auth.jwt. #43502, @sakjur
- Azure Monitor Logs: Order subscriptions in resource picker by name. #45228, @sunker
- Azure monitor Logs: Optimize data fetching in resource picker. #44549, @sunker
- AzureMonitor: Filter list of resources by resourceType. #43522, @andresmgot
- BarChart: color by field, x time field, bar radius, label skipping. #43257, @leeoniya
- Chore: Implement OpenTelemetry in Grafana. #42674, @idafurjes
- Cloud Monitoring: Adds metric type to Metric drop down options. #43268, @tw1nk
- CloudWatch: Add Data Lifecycle Manager metrics and dimension. #43310, @ilyastoli
- CloudWatch: Add Missing Elasticache Host-level metrics. #43455, @dhendo
- CloudWatch: Add all ElastiCache Redis Metrics. #43336, @siavashs
- CloudWatch: Add new AWS/ES metrics. #43034, @sunker
- Cloudwatch: Add syntax highlighting and autocomplete for "Metric Search". #43985, @sarahzinger
- Explore: Support custom display label for exemplar links for Prometheus datasource. #42732, @JokerQueue
- Hotkeys: Make time range absolute/permanent. #43802, @davkal
- Playlists: Enable sharing direct links to playlists. #44161, @ashharrison90
- SQLStore: Prevent concurrent migrations. #44101, @papagian
- SSE: Add Mode to drop NaN/Inf/Null in Reduction operations. #43583, @kylebrandt
- Setting: Support configuring feature toggles with bools instead of just passing an array. #43326, @bergquist
- TimeSeries: Add support for negative Y and constant transform. #44774, @dprokop
- Transformations: Add 'JSON' field type to ConvertFieldTypeTransformer. #42624, @sd2k
Bug fixes
- Auth: Guarantee consistency of signed SigV4 headers. #45054, @wbrowne
- CloudWatch: Fix MetricName resetting on Namespace change. #44165, @yaelleC
- Cloudwatch : Fixed resetting metric name when changing namespace in Metric Query. #44612, @yaelleC
- Explore: Avoid locking timepicker when range is inverted. #44790, @Elfo404
- Instrumentation: Fix HTTP request instrumentation of authentication failures. #44234, @marefr
- LibraryPanels: Prevent long descriptions and names from obscuring the delete button. #45190, @zuchka
- OAuth: Fix parsing of ID token if header contains non-string value. #44159, @marefr
- Panel Edit: Visualization search now works correctly with special characters. #45137, @ashharrison90
- Provisioning: Fix duplicate validation when multiple organizations have been configured. #44151, @marefr
- QueryField: Fix issue with undo history when suggestion is inserted (#28656). #39114, @glintik
- TablePanel: Do not prefix columns with frame name if multiple frames and override active. #45174, @mdvictor
Deprecations
AngularJS plugin support is now in a deprecated state, meaning it will be removed in a future release. Currently, that is planned for version 10 (in 2023). The documentation site has an article with more details on why, when, and how. Issue #45149
8.4.0-beta1 (2022-02-02)
Features and enhancements
- Alerting: Support WeCom as a contact point type. #40975, @smallpath
- Alerting: UI for mute timings. #41578, @nathanrodman
- Alerting: add settings for peer reconnection in HA mode. #42300, @JohnnyQQQQ
- Auth: implement auto_sign_up for auth.jwt. #37040, @Roguelazer
- Dashboard: Add Show unknown variables toggle to dashboard settings. #41854, @hugohaggmark
- Instrumentation: Logger migration from log15 to gokit/log. #41636, @ying-jeanne
- MSSQL: Change regex to validate Provider connection string. #40248, @ianselmi
- MSSQL: Configuration of certificate verification for TLS connection. #31865, @mortenaa
- Middleware: Don't require HTTPS for HSTS headers to be emitted. #35147, @alexmv
- Navigation: Implement Keyboard Navigation. #41618, @axelavargas
- News: Reload feed when changing the time range or refreshing. #42217, @ashharrison90
- UI/Plot: Implement keyboard controls for plot cursor. #42244, @kaydelaney
8.3.7 (2022-03-01)
Bug fixes
- Provisioning: Ensure that the default value for orgID is set when provisioning datasources to be deleted. #44244, @filewalkwithme
8.3.6 (2022-02-09)
Features and enhancements
- Cloud Monitoring: Reduce request size when listing labels. #44365, @mtanda
- Explore: Show scalar data result in a table instead of graph. #44362, @tharun208
- Snapshots: Updates the default external snapshot server URL. #44563, @DanCech
- Table: Makes footer not overlap table content. #44210, @dprokop
- Tempo: Add request histogram to service graph datalink. #44671, @connorlindsey
- Tempo: Add time range to tempo search query behind a feature flag. #43811, @connorlindsey
- Tempo: Auto-clear results when changing query type. #44390, @connorlindsey
- Tempo: Display start time in search results as relative time. #44568, @tharun208
Bug fixes
- CloudMonitoring: Fix resource labels in query editor. #44550, @iwysiu
- Cursor sync: Apply the settings without saving the dashboard. #44270, @dprokop
- LibraryPanels: Fix for Error while cleaning library panels. #45033, @hugohaggmark
- Logs Panel: fix timestamp parsing for string dates without timezone. #44664, @Elfo404
- Prometheus: Fix some of the alerting queries that use reduce/math operation. #44380, @ivanahuckova
- TablePanel: Fix ad-hoc variables not working on default datasources. #44314, @joshhunt
- Text Panel: Fix alignment of elements. #44313, @ashharrison90
- Variables: Fix for constant variables in self referencing links. #44631, @hugohaggmark
8.3.5 (2022-02-08)
- Security: Fixes CVE-2022-21702. For more information, see our blog
- Security: Fixes CVE-2022-21703. For more information, see our blog
- Security: Fixes CVE-2022-21713. For more information, see our blog
8.3.4 (2022-01-17)
Features and enhancements
- Alerting: Allow configuration of non-ready alertmanagers. #43063, @alexweav
- Alerting: Allow customization of Google chat message. #43568, @alexweav
- Alerting: Allow customization of Google chat message (#43568). #43723, @alexweav
- AppPlugins: Support app plugins with only default nav. #43016, @torkelo
- InfluxDB: InfluxQL: query editor: skip fields in metadata queries. #42543, @gabor
- Postgres/MySQL/MSSQL: Cancel in-flight SQL query if user cancels query in grafana. #43890, @mdvictor
- Prometheus: Forward oauth tokens after prometheus datasource migration. #43686, @MasslessParticle
Bug fixes
- Azure Monitor: Bug fix for variable interpolations in metrics dropdowns. #43251, @sarahzinger
- Azure Monitor: Improved error messages for variable queries. #43213, @sunker
- CloudMonitoring: Fixes broken variable queries that use group bys. #43914, @sunker
- Configuration: You can now see your expired API keys if you have no active ones. #42452, @ashharrison90
- Elasticsearch: Fix handling multiple datalinks for a single field. #44029, @Elfo404
- Export: Fix error being thrown when exporting dashboards using query variables that reference the default datasource. #44034, @ashharrison90
- ImportDashboard: Fixes issue with importing dashboard and name ending up in uid. #43451, @torkelo
- Login: Page no longer overflows on mobile. #43739, @ashharrison90
- Plugins: Set backend metadata property for core plugins. #43349, @marefr
- Prometheus: Fill missing steps with null values. #43622, @ivanahuckova
- Prometheus: Fix interpolation of $__rate_interval variable. #44035, @ivanahuckova
- Prometheus: Interpolate variables with curly brackets syntax. #42927, @ivanahuckova
- Prometheus: Respect the http-method data source setting. #42753, @gabor
- Table: Fixes issue with field config applied to wrong fields when hiding columns. #43376, @torkelo
- Toolkit: Fix bug with rootUrls not being properly parsed when signing a private plugin. #43014, @dessen-xu
- Variables: Fix so data source variables are added to adhoc configuration. #43881, @hugohaggmark
Plugin development fixes & changes
- Toolkit: Revert build config so tslib is bundled with plugins to prevent plugins from crashing. #43556, @mckn
8.3.3 (2021-12-10)
Features and enhancements
- BarChart: Use new data error view component to show actions in panel edit. #42474, @torkelo
- CloudMonitor: Iterate over pageToken for resources. #42546, @iwysiu
- Macaron: Prevent WriteHeader invalid HTTP status code panic. #42973, @bergquist
Bug fixes
- AnnoListPanel: Fix interpolation of variables in tags. #42318, @francoisdtm
- CloudWatch: Allow queries to have no dimensions specified. #42800, @sunker
- CloudWatch: Fix broken queries for users migrating from 8.2.4/8.2.5 to 8.3.0. #42611, @sunker
- CloudWatch: Make sure MatchExact flag gets the right value. #42621, @sunker
- Dashboards: Fix so that empty folders can be deleted from the manage dashboards/folders page. #42527, @ashharrison90
- InfluxDB: Improve handling of metadata query errors in InfluxQL. #42500, @gabor
- Loki: Fix adding of ad hoc filters for queries with parser and line_format expressions. #42590, @ivanahuckova
- Prometheus: Fix running of exemplar queries for non-histogram metrics. #42749, @ivanahuckova
- Prometheus: Interpolate template variables in interval. #42637, @ivanahuckova
- StateTimeline: Fix toolitp not showing when for frames with multiple fields. #42741, @dprokop
- TraceView: Fix virtualized scrolling when trace view is opened in right pane in Explore. #42480, @autoric
- Variables: Fix repeating panels for on time range changed variables. #42828, @hugohaggmark
- Variables: Fix so queryparam option works for scoped variables. #42742, @hugohaggmark
8.3.2 (2021-12-10)
- Security: Fixes CVE-2021-43813 and CVE-2021-43815. For more information, see our [blog](https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
8.3.1 (2021-12-07)
- Security: Fixes CVE-2021-43798. For more information, see our blog
8.3.0 (2021-11-30)
Features and enhancements
- Alerting: Prevent folders from being deleted when they contain alerts. #42307, @peterholmberg
- Alerting: Show full preview value in tooltip. #42445, @peterholmberg
- BarGauge: Limit title width when name is really long. #42346, @torkelo
- CloudMonitoring: Avoid to escape regexps in filters. #41961, @andresmgot
- CloudWatch: Add support for AWS Metric Insights. #42487, @sunker
- TooltipPlugin: Remove other panels' shared tooltip in edit panel. #42187, @mdvictor
- Visualizations: Limit y label width to 40% of visualization width. #42350, @torkelo
Bug fixes
- Alerting: Clear alerting rule evaluation errors after intermittent failures. #42386, @gotjosh
- Alerting: Fix refresh on legacy Alert List panel. #42322, @peterholmberg
- Dashboard: Fix queries for panels with non-integer widths. #42420, @gabor
- Explore: Fix url update inconsistency. #42288, @gabor
- Prometheus: Fix range variables interpolation for time ranges smaller than 1 second. #42242, @ivanahuckova
- ValueMappings: Fixes issue with regex value mapping that only sets color. #42311, @torkelo
8.3.0-beta2 (2021-11-25)
Features and enhancements
- Alerting: Create DatasourceError alert if evaluation returns error. #41869, @gerobinson
- Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting. #42200, @armandgrillet
- Alerting: Support mute timings configuration through the api for the embedded alert manager. #41533, @JohnnyQQQQ
- CloudWatch: Add missing AWS/Events metrics. #42164, @n2N8Z
- Docs: Add easier to find deprecation notices to certain data sources and to the changelog. #41938, @gabor
- Plugins Catalog: Enable install controls based on the pluginAdminEnabled flag. #41686, @leventebalogh
- Query caching: Increase max_value_mb default to 10. (Enterprise)
- Table: Add space between values for the DefaultCell. #42246, @kirederik
- Table: Add space between values on JSONViewCell. #42156, @kirederik
- Tracing: Make query editors available in dashboard for Tempo and Zipkin. #41974, @ivanahuckova
Bug fixes
- AccessControl: Renamed
orgs
roles, removedfixed:orgs:reader
introduced in beta1. #42049, @gamab - Azure Monitor: Add trap focus for modals in grafana/ui and other small a11y fixes for Azure Monitor. #41449, @sarahzinger
- CodeEditor: Prevent suggestions from being clipped. #42120, @kaydelaney
- Dashboard: Fix cache timeout persistence. #42204, @hugohaggmark
- Datasource: Fix stable sort order of query responses. #41868, @marefr
- Explore: Fix error in query history when removing last item. #42179, @gabor
- Logs: Fix requesting of older logs when flipped order. #41966, @ivanahuckova
- Prometheus: Fix running of health check query based on access mode. #42189, @ivanahuckova
- TextPanel: Fix suggestions for existing panels. #42195, @hugohaggmark
- Tracing: Fix incorrect indentations due to reoccurring spanIDs. #41919, @ivanahuckova
- Tracing: Show start time of trace with milliseconds precision. #42132, @ivanahuckova
- Variables: Make renamed or missing variable section expandable. #41964, @hugohaggmark
Breaking changes
Grafana 8 Alerting enabled by default for installations that do not use legacy alerting
Starting with Grafana v8.3.0, if you have not explicitly disabled unified alerting and do not have legacy alerts set up you are automatically "migrated" to Grafana 8 Alerting.
A migration from legacy to Grafana 8 Alerting will never incur a data loss, as the previous data is kept around for rollback purposes. However, going from Grafana 8 Alerting to legacy alerting will delete all the data created for Grafana 8 Alerting. It is recommended that you backup your database before attempting a migration between systems.
If unclear, please verify the table below:
[alerting][enabled] |
[unified_alerting][enabled] |
With Existing Legacy Alerts | Result |
---|---|---|---|
true |
true |
N/A | Error |
true |
false |
N/A | Legacy Alerting |
true |
not set | Yes | Legacy Alerting |
true |
not set | No | Grafana 8 Alerting |
not set | true |
N/A | Grafana 8 Alerting |
not set | false |
N/A | Legacy Alerting |
not set | not set | Yes | Legacy Alerting |
not set | not set | No | Grafana 8 Alerting |
false |
true |
N/A | Grafana 8 Alerting |
false |
false |
N/A | Alerting disabled |
false |
not set | N/A | Grafana 8 Alerting |
N/A in the "With Existing Legacy Alerts" column means that it does not matter if you have legacy alerts or not. Issue #42200
Keep Last State for "If execution error or timeout" when upgrading to Grafana 8 alerting
In Grafana 8.3.0-beta2 we changed how alert rules that use Keep Last State
for If execution error or timeout
are upgraded from Legacy Alerting to Grafana 8 alerting. In 8.3.0-beta1 and earlier, alert rules with Keep Last State
for If execution error or timeout
were changed to Alerting
when upgrading from Legacy Alerting to Grafana 8 alerting. However, in 8.3.0-beta2 these alert rules are now upgraded to a new option called Error
. With this option, on encountering an error evaluating an alert rule, Grafana creates a special alert called DatasourceError
with the rule_uid
and ref_id
as labels and an annotation called Error
with the error message. Issue #41869
Deprecations
The access mode "browser" is deprecated in the following data sources and will be removed in a later release:
- Prometheus
- InfluxDB
- Elasticsearch Issue #41938
Plugin development fixes & changes
- Select: Select menus now properly scroll during keyboard navigation. #41917, @ashharrison90
8.3.0-beta1 (2021-11-18)
Features and enhancements
- AccessControl: Apply role-based access control to licensing. (Enterprise)
- Alerting: Add UI for contact point testing with custom annotations and labels. #40491, @nathanrodman
- Alerting: Make alert state indicator in panel header work with Grafana 8 alerts. #38713, @domasx2
- Alerting: Option for Discord notifier to use webhook name. #40463, @Skyebold
- Annotations: Deprecate AnnotationsSrv. #39631, @hugohaggmark
- Auditing: Add audit logs for unified alerting endpoints. (Enterprise)
- Auditing: Add endpoints (plugins, datasources, library elements). (Enterprise)
- Auth: Omit all base64 paddings in JWT tokens for the JWT auth. #35602, @gillg
- Azure Monitor: Clean up fields when editing Metrics. #41762, @andresmgot
- AzureMonitor: Add new starter dashboards. #39876, @jcolladokuri
- AzureMonitor: Add starter dashboard for app monitoring with Application Insights. #40725, @jcolladokuri
- Barchart/Time series: Allow x axis label. #41142, @oscarkilhed
- CLI: Improve error handling for installing plugins. #41257, @marefr
- CloudMonitoring: Migrate to use backend plugin SDK contracts. #38650, @idafurjes
- CloudWatch Logs: Add retry strategy for hitting max concurrent queries. #39290, @aocenas
- CloudWatch: Add AWS RoboMaker metrics and dimension. #41450, @ilyastoli
- CloudWatch: Add AWS Transfer metrics and dimension. #41168, @ilyastoli
- Dashboard: replace datasource name with a reference object. #33817, @ryantxu
- Dashboards: Show logs on time series when hovering. #40110, @ryantxu
- Elasticsearch: Add support for Elasticsearch 8.0 (Beta). #41729, @Elfo404
- Elasticsearch: Add time zone setting to Date Histogram aggregation. #40882, @Elfo404
- Elasticsearch: Enable full range log volume histogram. #41202, @ifrost
- Elasticsearch: Full range logs volume. #40700, @ifrost
- Explore: Allow changing the graph type. #40522, @gabor
- Explore: Show ANSI colors when highlighting matched words in the logs panel. #40971, @oliverfrye
- Graph(old) panel: Listen to events from Time series panel. #41033, @zoltanbedi
- Import: Load gcom dashboards from URL. #41799, @ashharrison90
- LibraryPanels: Improves export and import of library panels between orgs. #39214, @hugohaggmark
- OAuth: Support PKCE. #39948, @sakjur
- Panel edit: Overrides now highlight correctly when searching. #41684, @ashharrison90
- PanelEdit: Display drag indicators on draggable sections. #41711, @ashharrison90
- Plugins: Refactor Plugin Management. #40477, @wbrowne
- Prometheus: Add custom query parameters when creating PromLink url. #41213, @Ian-Yy
- Prometheus: Remove limits on metrics, labels, and values in Metrics Browser. #40660, @autoric
- StateTimeline: Share cursor with rest of the panels. #41038, @zoltanbedi
- Tempo: Add error details when json upload fails. #41803, @aocenas
- Tempo: Add filtering for service graph query. #41162, @aocenas
- Tempo: Add links to nodes in Service Graph pointing to Prometheus metrics. #41135, @aocenas
- Time series/Bar chart panel: Add ability to sort series via legend. #40226, @zoltanbedi
- TimeSeries: Allow multiple axes for the same unit. #41635, @dprokop
- TraceView: Allow span links defined on dataFrame. #40563, @aocenas
- Transformations: Support a rows mode in labels to fields. #41020, @ryantxu
- ValueMappings: Don't apply field config defaults to time fields. #41132, @torkelo
- Variables: Only update panels that are impacted by variable change. #39420, @hugohaggmark
Bug fixes
- API: Fix dashboard quota limit for imports. #41495, @yangkb09
- Alerting: Fix rule editor issues with Azure Monitor data source. #41317, @domasx2
- Azure monitor: Make sure alert rule editor is not enabled when template variables are being used. #41335, @sunker
- CloudMonitoring: Fix annotation queries. #41529, @sunker
- CodeEditor: Trigger the latest getSuggestions() passed to CodeEditor. #40544, @DukeManh
- Dashboard: Remove the current panel from the list of options in the Dashboard datasource. #41826, @ashharrison90
- Encryption: Fix decrypting secrets in alerting migration. #41061, @undef1nd
- InfluxDB: Fix corner case where index is too large in ALIAS field. #41562, @gabor
- NavBar: Order App plugins alphabetically. #40078, @ashharrison90
- NodeGraph: Fix zooming sensitivity on touchpads. #40718, @aocenas
- Plugins: Add OAuth pass-through logic to api/ds/query endpoint. #41352, @wbrowne
- Snapshots: Fix panel inspector for snapshot data. #41530, @joshhunt
- Tempo: Fix basic auth password reset on adding tag. #41808, @aocenas
- ValueMapping: Fixes issue with regex mappings. #41515, @mcdee
Plugin development fixes & changes
8.2.7 (2021-12-07)
- Security: Fixes CVE-2021-43798. For more information, see our blog
8.2.6 (2021-12-02)
Features and enhancements
- Security: Upgrade Docker base image to Alpine 3.14.3. #42061, @dsotirakis
- Security: Upgrade Go to 1.17.2. #42427, @idafurjes
Bug fixes
8.2.5 (2021-11-18)
Bug fixes
- Alerting: Fix a bug where the metric in the evaluation string was not correctly populated. #41731, @JohnnyQQQQ
- Alerting: Fix no data behaviour in Legacy Alerting for alert rules using the AND operator. #41305, @gerobinson
- CloudMonitoring: Ignore min and max aggregation in MQL queries. #41302, @sunker
- Dashboards: 'Copy' is no longer added to new dashboard titles. #41344, @joshhunt
- DataProxy: Fix overriding response body when response is a WebSocket upgrade. #41364, @marefr
- Elasticsearch: Use field configured in query editor as field for date_histogram aggregations. #41258, @Elfo404
- Explore: Fix running queries without a datasource property set. #40805, @Elfo404
- InfluxDB: Fix numeric aliases in queries. #41531, @gabor
- Plugins: Ensure consistent plugin settings list response. #41346, @wbrowne
- Tempo: Fix validation of float durations. #41400, @ivanahuckova
- Tracing: Correct tags for each span are shown. #41473, @ivanahuckova
Breaking changes
Fix No Data behaviour in Legacy Alerting
In Grafana 8.2.5 and later, this change fixes a bug in the evaluation of alert rules when using the AND operator to compare two or more conditions. In Grafana 8.2.4 and earlier such alert rules would evaluate to OK
if at least one, but not all, conditions returned no data. This change fixes that bug such that in Grafana 8.2.5 these alert rules now evaluate to No Data
.
If an alert should evaluate to OK
when one or all conditions return No Data
then this can be done via changing If no data or all values are null
to OK
. However, this will not preserve the old behaviour in 8.2.4 where an alert will be OK
if at least one, but not all, conditions return no data and then No Data
if all conditions return No Data
. Issue #41305
8.2.4 (2021-11-15)
- Security: Fixes CVE-2021-41244. For more information, see our blog
8.2.3 (2021-11-03)
- Security: Fixes CVE-2021-41174. For more information, see our blog
8.2.2 (2021-10-21)
Features and enhancements
- Annotations: We have improved tag search performance. #40567, @ashharrison90
- Application: You can now configure an error-template title. #40310, @benrubson
- AzureMonitor: We removed a restriction from the resource filter query. #40690, @andresmgot
- Caching: Make cache size metric collection optional. (Enterprise)
- Packaging: We removed the ProcSubset option in systemd. This option prevented Grafana from starting in LXC environments. #40339, @kminehart
- Prometheus: We removed the autocomplete limit for metrics. #39363, @ivanahuckova
- Request interceptor: Allow MSSQL's named instances. (Enterprise)
- Table: We improved the styling of the type icons to make them more distinct from column / field name. #40596, @torkelo
- ValueMappings: You can now use value mapping in stat, gauge, bar gauge, and pie chart visualizations. #40612, @torkelo
Bug fixes
- Alerting: Fix panic when Slack's API sends unexpected response. #40721, @santihernandezc
- Alerting: The Create Alert button now appears on the dashboard panel when you are working with a default datasource. #40334, @domasx2
- Explore: We fixed the problem where the Explore log panel disappears when an Elasticsearch logs query returns no results. #40217, @Elfo404
- Graph: You can now see annotation descriptions on hover. #40581, @axelavargas
- Logs: The system now uses the JSON parser only if the line is parsed to an object. #40507, @ivanahuckova
- Prometheus: We fixed the issue where the system did not reuse TCP connections when querying from Grafana alerting. #40349, @kminehart
- Prometheus: We fixed the problem that resulted in an error when a user created a query with a $__interval min step. #40525, @ivanahuckova
- RowsToFields: We fixed the issue where the system was not properly interpreting number values. #40580, @torkelo
- Scale: We fixed how the system handles NaN percent when data min = data max. #40622, @torkelo
- Table panel: You can now create a filter that includes special characters. #40458, @dprokop
8.2.1 (2021-10-11)
Bug fixes
- Dashboard: Fix rendering of repeating panels. #39991, @hugohaggmark
- Datasources: Fix deletion of data source if plugin is not found. #40095, @jackw
- Packaging: Remove systemcallfilters sections from systemd unit files. #40176, @kminehart
- Prometheus: Add Headers to HTTP client options. #40214, @dsotirakis
8.2.0 (2021-10-07)
Features and enhancements
- AWS: Updated AWS authentication documentation. #39236, @sunker
- Alerting: Added support Alertmanager data source for upstream Prometheus AM implementation. #39775, @domasx2
- Alerting: Allows more characters in label names so notifications are sent. #38629, @gotjosh
- Alerting: Get alert rules for a dashboard or a panel using /api/v1/rules endpoints. #39476, @gerobinson
- Annotations: Improved rendering performance of event markers. #39984, @torkelo
- CloudWatch Logs: Skip caching for log queries. #39860, @aocenas
- Explore: Added an opt-in configuration for Node Graph in Jaeger, Zipkin, and Tempo. #39958, @connorlindsey
- Packaging: Add stricter systemd unit options. #38109, @erdnaxe
- Prometheus: Metrics browser can now handle label values with special characters. #39713, @gabor
Bug fixes
- CodeEditor: Ensure that we trigger the latest onSave callback provided to the component. #39835, @mckn
- DashboardList/AlertList: Fix for missing All folder value. #39772, @hugohaggmark
Breaking changes
Potential failure to start in Ubuntu 18.04 / Debian 9 / CentOS
- In Grafana v8.2.0, this change can prevent the
grafana-server
service from starting on older versions of systemd, present on Ubuntu 18.04 and slightly older versions of Debian. If running one of those versions, please wait until v8.2.1 is released before upgrading. If you still want to upgrade or have already ugpraded, a simple fix is available here: https://github.com/grafana/grafana/issues/40162#issuecomment-938060240 Issue #38109
Plugin development fixes & changes
8.2.0-beta2 (2021-09-30)
Features and enhancements
- AccessControl: Document new permissions restricting data source access. #39091, @gamab
- TimePicker: Add fiscal years and search to time picker. #39073, @oscarkilhed
- Alerting: Added support for Unified Alerting with Grafana HA. #37920, @gotjosh
- Alerting: Added support for tune rule evaluation using configuration options. #35623, @papagian
- Alerting: Cleanups alertmanager namespace from key-value store when disabling Grafana 8 alerts. #39554, @papagian
- Alerting: Remove
ngalert
feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations. #38746, @papagian - CloudWatch: Introduced new math expression where it is necessary to specify the period field. #39458, @sunker
- InfluxDB: Added support for $__interval and $__interval_ms in Flux queries for alerting. #38889, @gabor
- InfluxDB: Flux queries can use more precise start and end timestamps with nanosecond-precision. #39415, @gabor
- Plugins Catalog: Make the catalog the default way to interact with plugins. #39779, @leventebalogh
- Prometheus: Removed autocomplete limit for metrics. #39363, @ivanahuckova
Bug fixes
- Alerting: Fixed an issue where the edit page crashes if you tried to preview an alert without a condition set. #39659, @peterholmberg
- Alerting: Fixed rules migration to keep existing Grafana 8 alert rules. #39541, @yuri-tceretian
- Alerting: Fixed the silence file content generated during migration. #39557, @papagian
- Analytics: Fixed an issue related to interaction event propagation in Azure Application Insights. #39752, @sunker
- BarGauge: Fixed an issue where the cell color was lit even though there was no data. #39574, @ashharrison90
- BarGauge: Improved handling of streaming data. #39737, @ashharrison90
- CloudMonitoring: Fixed INT64 label unmarshal error. #39441, @bspellmeyer
- ConfirmModal: Fixes confirm button focus on modal open. #39328, @torkelo
- Dashboard: Add option to generate short URL for variables with values containing spaces. #39552, @hugohaggmark
- Explore: No longer hides errors containing refId property. #39504, @Elfo404
- Fixed an issue that produced State timeline panel tooltip error when data was not in sync. #39438, @zoltanbedi
- InfluxDB: InfluxQL query editor is set to always use resultFormat. #39330, @gabor
- Loki: Fixed creating context query for logs with parsed labels. #39648, @ivanahuckova
- PageToolbar: Fixed alignment of titles. #39572, @ashharrison90
- Plugins Catalog: Update to the list of available panels after an install, update or uninstall. #39293, @leventebalogh
- TimeSeries: Fixed an issue where the shared cursor was not showing when hovering over in old Graph panel. #39738, @zoltanbedi
- Variables: Fixed issues related to change of focus or refresh pages when pressing enter in a text box variable input. #39666, @hugohaggmark
- Variables: Panel no longer crash when using the adhoc variable in data links. #39546, @hugohaggmark
Breaking changes
Grafana v8.2.0-beta1 caused data loss for users having enabled ngalert
in 8.0.x - 8.1.x and created alerts using the new alerting system. This issue is now fixed except if the deployment has multiple organizations and the feature flag was enabled in the previous version (8.0.x - 8.1.x).
In this scenario (upgrade from 8.0.x - 8.1.x with multiple organizations and ngalert
enabled to 8.2.0-beta2), the migration will assign existing notification policies and contact points to the first organization and then apply the default alertmanager configuration to all organizations. This will effectively reset notification policies for all organizations. Issue #39541
Deprecations
ngalert
feature toggle it has been deprecated it will be removed in a future release. To enable Grafana 8 alerts, modify your configuration and:
- in the
unified_alerting
section set theenabled
property totrue
- in the
alerting
section set theenabled
property tofalse
Issue #38746
8.2.0-beta1 (2021-09-16)
Features and enhancements
- AccessControl: Introduce new permissions to restrict access for reloading provisioning configuration. #38906, @vtorosyan
- Admin: Update license page UI. (Enterprise)
- Alerting: Add UI to edit Cortex/Loki namespace, group names, and group evaluation interval. #38543, @domasx2
- Alerting: Add a Test button to test contact point. #37475, @domasx2
- Alerting: Allow creating/editing recording rules for Loki and Cortex. #38064, @domasx2
- Alerting: Metrics should have the label
org
instead ofuser
. #39353, @gotjosh - Alerting: Sort notification channels by name to make them easier to locate. #37426, @jstangroome
- Alerting: Support org level isolation of notification configuration. #37414, @papagian
- AzureMonitor: Add data links to deep link to Azure Portal Azure Resource Graph. #35591, @shuotli
- AzureMonitor: Add support for annotations from Azure Monitor Metrics and Azure Resource Graph services. #37633, @joshhunt
- AzureMonitor: Show error message when subscriptions request fails in ConfigEditor. #37837, @joshhunt
- Chore: Update to Golang 1.16.7. #38604, @dsotirakis
- CloudWatch Logs: Add link to X-Ray data source for trace IDs in logs. #39135, @aocenas
- CloudWatch Logs: Disable query path using websockets (Live) feature. #39231, @aocenas
- CloudWatch/Logs: Don't group dataframes for non time series queries. #37998, @aocenas
- Cloudwatch: Migrate queries that use multiple stats to one query per stat. #36925, @sunker
- Dashboard: Keep live timeseries moving left (v2). #37769, @ryantxu
- Datasources: Introduce
response_limit
for datasource responses. #38962, @dsotirakis - Explore: Add filter by trace or span ID to
trace to logs
feature. #38943, @connorlindsey - Explore: Download traces as JSON in Explore Inspector. #38614, @connorlindsey
- Explore: Reuse Dashboard's QueryRows component. #38942, @Elfo404
- Explore: Support custom display label for derived fields buttons for Loki datasource. #37273, @connorlindsey
- Grafana UI: Update monaco-related dependencies. #39027, @gabor
- Graphite: Deprecate browser access mode. #38783, @ifrost
- InfluxDB: Improve handling of intervals in alerting. #37588, @gabor
- InfluxDB: InfluxQL query editor: Handle unusual characters in tag values better. #39170, @gabor
- Introduce "monitored queries" service. (Enterprise)
- Jaeger: Add ability to upload JSON file for trace data. #37205, @zoltanbedi
- LibraryElements: Enable specifying UID for new and existing library elements. #39019, @hugohaggmark
- LibraryPanels: Remove library panel icon from the panel header so you can no longer tell that a panel is a library panel from the dashboard view. #38749, @hugohaggmark
- Logs panel: Scroll to the bottom on page refresh when sorting in ascending order. #37634, @ivanahuckova
- Loki: Add fuzzy search to label browser. #36864, @connorlindsey
- Navigation: Implement active state for items in the Sidemenu. #39030, @ashharrison90
- Packaging: Add stricter systemd unit options. #38109, @erdnaxe
- Packaging: Update PID file location from
/var/run
to/run
. #35739, @MichaIng - Plugins: Add Hide OAuth Forward config option. #36306, @wbrowne
- Postgres/MySQL/MSSQL: Add setting to limit the maximum number of rows processed. #38986, @marefr
- Prometheus: Add browser access mode deprecation warning. #37578, @ivanahuckova
- Prometheus: Add interpolation for built-in-time variables to backend. #39051, @ivanahuckova
- Recorded Queries: Finish rest API endpoints. (Enterprise)
- Reporting: enable creating reports from dashboard. (Enterprise)
- Tempo: Add ability to upload trace data in JSON format. #37407, @zoltanbedi
- TimeSeries/XYChart: Allow grid lines visibility control in XYChart and TimeSeries panels. #38502, @dprokop
- Transformations: Convert field types to time string number or boolean. #38517, @nikki-kiga
- Usage Insights: Support writing events to Grafana's log. (Enterprise)
- Value mappings: Add regular-expression based value mapping. #38931, @mcdee
- Zipkin: Add ability to upload trace JSON. #37483, @zoltanbedi
Bug fixes
- Admin: Prevent user from deleting user's current/active organization. #38056, @idafurjes
- LibraryPanels: Fix library panel getting saved in the dashboard's folder. #38978, @hugohaggmark
- OAuth: Make generic teams URL and JMES path configurable. #37233, @djairhogeuens
- QueryEditor: Fix broken copy-paste for mouse middle-click (#39117). #39117, @glintik
- Thresholds: Fix undefined color in "Add threshold". #39113, @glintik
- Timeseries: Add wide-to-long, and fix multi-frame output. #38670, @ryantxu
- TooltipPlugin: Fix behavior of Shared Crosshair when Tooltip is set to All. #37285, @nikki-kiga
Breaking changes
The monaco-editor
dependency in grafana-ui
has been updated to a newer version (0.27.0
), which is not completely backward compatible with the old version (0.21.2
). The backward incompatible changes are fairly small, but they do exist, so if your code accesses the raw monaco-objects through the grafana-ui
package, please check the monaco-editor changelog and apply any necessary changes. Issue #39027
The mandatory css
prop in grafana/ui
components has been removed.
Previous versions of grafana/ui
components were typed incorrectly due to a dependency mismatch between emotion 10 and 11 causing a css
prop to be added to components that extended react types.
Issue #38078
Unified Alerting (Grafana 8 Alerting) data loss
Grafana v8.2 fixed an issue with org isolation for notification configuration but to fix this Grafana will now re-run the migration from old alerting and this will cause complete removal of all new alert rules and notification configurations. This data loss is not something we find acceptable and are working on ways to mitigate it. So in the meantime, if you are an early adopter of unified alerting please wait with trying v8.2 beta. Issue #37414
Panel queries and/or annotation queries that used more than one statistic will be converted into one query/annotation per statistic. In case an alerting rule was based on a query row that had more than one statistic, it would now be based only on the first statistic for that query row. New alerting rules will not be created for migrated queries. Please note that in most cases it would not make sense to have an alerting rule that is based on multiple statistics anyway. Issue #36925
Deprecations
getHighlighterExpressions
in datasource APIs ( used to highlight logs while editing queries) has been deprecated and will be removed in a future release.
Deprecation notice
ExploreQueryFieldProps
interface for query editors has been deprecated and will be removed in a future release. Use QueryEditorProps
instead. Issue #38942
Plugin development fixes & changes
8.1.8 (2021-12-07)
- Security: Fixes CVE-2021-43798. For more information, see our blog
8.1.7 (2021-10-06)
Bug fixes
- Alerting: Fix alerts with evaluation interval more than 30 seconds resolving before notification. #39513, @gerobinson
- Elasticsearch/Prometheus: Fix usage of proper SigV4 service namespace. #39439, @marefr
8.1.6 (2021-10-05)
- Security: Fixes CVE-2021-39226. For more information, see our blog
8.1.5 (2021-09-21)
Bug fixes
8.1.4 (2021-09-16)
Features and enhancements
- Explore: Ensure logs volume bar colors match legend colors. #39072, @ifrost
- LDAP: Search all DNs for users. #38891, @sakjur
Bug fixes
- Alerting: Fix notification channel migration. #38983, @papagian
- Annotations: Fix blank panels for queries with unknown data sources. #39017, @hugohaggmark
- BarChart: Fix stale values and x axis labels. #39188, @leeoniya
- Graph: Make old graph panel thresholds work even if ngalert is enabled. #38918, @domasx2
- InfluxDB: Fix regex to identify
/
as separator. #39185, @dsotirakis - LibraryPanels: Fix update issues related to library panels in rows. #38963, @hugohaggmark
- Variables: Fix variables not updating inside a Panel when the preceding Row uses "Repeat For". #38935, @axelavargas
8.1.3 (2021-09-08)
Bug fixes
- Alerting: Fix alert flapping in the internal alertmanager. #38648, @gotjosh
- Alerting: Fix request handler failed to convert dataframe "results" to plugins.DataTimeSeriesSlice: input frame is not recognized as a time series. #38587, @idafurjes
- Dashboard: Fix UIDs are not preserved when importing/creating dashboards thru importing .json file. #38659, @axelavargas
- Dashboard: Forces panel re-render when exiting panel edit. #38913, @hugohaggmark
- Dashboard: Prevent folder from changing when navigating to general settings. #38103, @hugohaggmark
- Docker: Force use of libcrypto1.1 and libssl1.1 versions to fix CVE-2021-3711. #38585, @dsotirakis
- Elasticsearch: Fix metric names for alert queries. #38546, @dsotirakis
- Elasticsearch: Limit Histogram field parameter to numeric values. #38631, @Elfo404
- Elasticsearch: Prevent pipeline aggregations to show up in terms order by options. #38448, @Elfo404
- LibraryPanels: Prevent duplicate repeated panels from being created. #38804, @hugohaggmark
- Loki: Fix ad-hoc filter in dashboard when used with parser. #38542, @ivanahuckova
- Plugins: Track signed files + add warn log for plugin assets which are not signed. #38938, @wbrowne
- Postgres/MySQL/MSSQL: Fix region annotations not displayed correctly. #38936, @marefr
- Prometheus: Fix validate selector in metrics browser. #38921, @ivanahuckova
- Security: Fix stylesheet injection vulnerability #38432, @idafurjes. Big thanks to Tobias Hamann and Lauritz Holtmann of usd AG for reporting this issue.
- Security: Fix short URL vulnerability #38436, @idafurjes. Big thanks to Tobias Hamann and Lauritz Holtmann of usd AG for reporting this issue.
8.1.2 (2021-08-19)
Features and enhancements
- AzureMonitor: Add support for PostgreSQL and MySQL Flexible Servers. #38075, @joshhunt
- Datasource: Change HTTP status code for failed datasource health check to 400. #37895, @stephaniehingtgen
- Explore: Add span duration to left panel in trace viewer. #37806, @connorlindsey
- Plugins: Use file extension allowlist when serving plugin assets instead of checking for UNIX executable. #37688, @wbrowne
- Profiling: Add support for binding pprof server to custom network interfaces. #36580, @cinaglia
- Search: Make search icon keyboard navigable. #37865, @tskarhed
- Template variables: Keyboard navigation improvements. #38001, @tskarhed
- Tooltip: Display ms within minute time range. #37569, @nikki-kiga
Bug fixes
- Alerting: Fix saving LINE contact point. #37744, @xy-man
- Alerting: Fix saving LINE contact point. #37718, @xy-man
- Annotations: Fix alerting annotation coloring. #37412, @kylebrandt
- Annotations: Alert annotations are now visible in the correct Panel. #37959, @hugohaggmark
- Auth: Hide SigV4 config UI and disable middleware when its config flag is disabled. #37293, @wbrowne
- Dashboard: Prevent incorrect panel layout by comparing window width against theme breakpoints. #37868, @ashharrison90
- Elasticsearch: Fix metric names for alert queries. #37871, @dsotirakis
- Explore: Fix showing of full log context. #37442, @ivanahuckova
- PanelEdit: Fix 'Actual' size by passing the correct panel size to Das…. #37885, @ashharrison90
- Plugins: Fix TLS datasource settings. #37797, @wbrowne
- Variables: Fix issue with empty drop downs on navigation. #37776, @hugohaggmark
- Variables: Fix URL util converting
false
intotrue
. #37402, @simPod
Plugin development fixes & changes
- Toolkit: Fix matchMedia not found error. #37643, @zoltanbedi
8.1.1 (2021-08-09)
Bug fixes
- CloudWatch Logs: Fix crash when no region is selected. #37639, @aocenas
- Reporting: Fix timezone parsing for scheduler. (Enterprise)
8.1.0 (2021-08-05)
Features and enhancements
- Alerting: Deduplicate receivers during migration. #36812, @codesome
- ColorPicker: Display colors as RGBA. #37231, @nikki-kiga
- Encryption: Add support for multiple encryption algorithms (aes-gcm). (Enterprise)
- Select: Make portalling the menu opt-in, but opt-in everywhere. #37501, @ashharrison90
- TeamSync: Batch team synchronization. (Enterprise)
- TimeRangePicker: Improve accessibility. #36912, @tskarhed
Bug fixes
- Annotations: Correct annotations that are displayed upon page refresh. #37496, @axelavargas
- Annotations: Fix Enabled button that disappeared from Grafana v8.0.6. #37454, @axelavargas
- Annotations: Fix data source template variable that was not available for annotations. #37506, @axelavargas
- AzureMonitor: Fix annotations query editor that does not load. #37476, @torkelo
- Geomap: Fix scale calculations. #37375, @ryantxu
- GraphNG: Fix y-axis autosizing. #37464, @leeoniya
- Live: Display stream rate and fix duplicate channels in list response. #37365, @FZambia
- Loki: Update labels in log browser when time range changes. #37520, @ivanahuckova
- Loki: Update labels in log browser when time range changes in dashboard. #37541, @ivanahuckova
- NGAlert: Send resolve signal to alertmanager on alerting -> Normal. #37363, @kylebrandt
- PasswordField: Prevent a password from being displayed when you click the Enter button. #37444, @tskarhed
- Renderer: Remove debug.log file when Grafana is stopped. #37367, @AgnesToulet
- Security: Update dependencies to fix CVE-2021-36222. #37546, @ying-jeanne
8.1.0-beta3 (2021-07-29)
Features and enhancements
- Alerting: Support label matcher syntax in alert rule list filter. #36408, @nathanrodman
- IconButton: Put tooltip text as aria-label. #36760, @tskarhed
- Live: Experimental HA with Redis. #36787, @FZambia
- UI: FileDropzone component. #36646, @zoltanbedi
- [v8.1.x] CloudWatch: Add AWS LookoutMetrics. #37329, @ilyastoli
Bug fixes
- Docker: Fix builds by delaying go mod verify until all required files are copied over. #37246, @wbrowne
- Exemplars: Fix disable exemplars only on the query that failed. #37296, @zoltanbedi
- SQL: Fix SQL dataframe resampling (fill mode + time intervals). #36937, @idafurjes
8.1.0-beta2 (2021-07-23)
Features and enhancements
- Alerting: Expand the value string in alert annotations and labels. #37051, @gerobinson
- Auth: Add Azure HTTP authentication middleware. #36932, @kostrse
- Auth: Auth: Pass user role when using the authentication proxy. #36729, @yuwaMSFT2
- Gazetteer: Update countries.json file to allow for linking to 3-letter country codes. #37129, @bryanuribe
Bug fixes
- Config: Fix Docker builds by correcting formatting in sample.ini. #37106, @FZambia
- Explore: Fix encoding of internal URLs. #36919, @aocenas
8.1.0-beta1 (2021-07-22)
Features and enhancements
- Alerting: Add Alertmanager notifications tab. #35759, @nathanrodman
- Alerting: Add button to deactivate current Alertmanager configuration. #36951, @domasx2
- Alerting: Add toggle in Loki/Prometheus data source configuration to opt out of alerting UI. #36552, @domasx2
- Alerting: Allow any "evaluate for" value >=0 in the alert rule form. #35807, @domasx2
- Alerting: Load default configuration from status endpoint, if Cortex Alertmanager returns empty user configuration. #35769, @domasx2
- Alerting: view to display alert rule and its underlying data. #35546, @mckn
- Annotation panel: Release the annotation panel. #36959, @ryantxu
- Annotations: Add typeahead support for tags in built-in annotations. #36377, @ashharrison90
- AzureMonitor: Add curated dashboards for Azure services. #35356, @avidhanju
- AzureMonitor: Add support for deep links to Microsoft Azure portal for Metrics. #32273, @shuotli
- AzureMonitor: Remove support for different credentials for Azure Monitor Logs. #35121, @andresmgot
- AzureMonitor: Support querying any Resource for Logs queries. #33879, @joshhunt
- Elasticsearch: Add frozen indices search support. #36018, @Elfo404
- Elasticsearch: Name fields after template variables values instead of their name. #36035, @Elfo404
- Elasticsearch: add rate aggregation. #33311, @estermv
- Email: Allow configuration of content types for email notifications. #34530, @djairhogeuens
- Explore: Add more meta information when line limit is hit. #33069, @ivanahuckova
- Explore: UI improvements to trace view. #34276, @aocenas
- FieldOverrides: Added support to change display name in an override field and have it be matched by a later rule. #35893, @torkelo
- HTTP Client: Introduce
dataproxy_max_idle_connections
config variable. #35864, @dsotirakis - InfluxDB: InfluxQL: adds tags to timeseries data. #36702, @gabor
- InfluxDB: InfluxQL: make measurement search case insensitive. #34563, @gabor
- Legacy Alerting: Replace simplejson with a struct in webhook notification channel. #34952, @KEVISONG
- Legend: Updates display name for Last (not null) to just Last*. #35633, @torkelo
- Logs panel: Add option to show common labels. #36166, @ivanahuckova
- Loki: Add $__range variable. #36175, @ivanahuckova
- Loki: Add support for "label_values(log stream selector, label)" in templating. #35488, @ivanahuckova
- Loki: Add support for ad-hoc filtering in dashboard. #36393, @ivanahuckova
- MySQL Datasource: Add timezone parameter. #27535, @andipabst
- NodeGraph: Show gradient fields in legend. #34078, @aocenas
- PanelOptions: Don't mutate panel options/field config object when updating. #36441, @dprokop
- PieChart: Make pie gradient more subtle to match other charts. #36961, @nikki-kiga
- Prometheus: Update PromQL typeahead and highlighting. #36730, @ekpdt
- Prometheus: interpolate variable for step field. #36437, @zoltanbedi
- Provisioning: Improve validation by validating across all dashboard providers. #26742, @nabokihms
- Query cache: Adding an encryption option for caching. (Enterprise)
- Reporting: Use start and end dates for scheduling. (Enterprise)
- SQL Datasources: Allow multiple string/labels columns with time series. #36485, @kylebrandt
- Select: Portal select menu to document.body. #36398, @ashharrison90
- Team Sync: Add group mapping to support team sync in the Generic OAuth provider. #36307, @wardbekker
- Tooltip: Make active series more noticeable. #36824, @nikki-kiga
- Tracing: Add support to configure trace to logs start and end time. #34995, @zoltanbedi
- Transformations: Skip merge when there is only a single data frame. #36407, @edgarpoce
- ValueMapping: Added support for mapping text to color, boolean values, NaN and Null. Improved UI for value mapping. #33820, @torkelo
- Visualizations: Dynamically set any config (min, max, unit, color, thresholds) from query results. #36548, @torkelo
- live: Add support to handle origin without a value for the port when matching with root_url. #36834, @FZambia
Bug fixes
- Alerting: Handle marshaling Inf values. #36947, @kylebrandt
- AzureMonitor: Fix macro resolution for template variables. #36944, @andresmgot
- AzureMonitor: Fix queries with Microsoft.NetApp/../../volumes resources. #32661, @pckls
- AzureMonitor: Request and concat subsequent resource pages. #36958, @andresmgot
- Bug: Fix parse duration for day. #36942, @idafurjes
- Datasources: Improve error handling for error messages. #35120, @ifrost
- Explore: Correct the functionality of shift-enter shortcut across all uses. #36600, @ivanahuckova
- Explore: Show all dataFrames in data tab in Inspector. #32161, @ivanahuckova
- GraphNG: Fix Tooltip mode 'All' for XYChart. #31260, @Posnet
- Loki: Fix highlight of logs when using filter expressions with backticks. #36024, @ivanahuckova
- Modal: Force modal content to overflow with scroll. #36754, @ashharrison90
- Plugins: Ignore symlinked folders when verifying plugin signature. #34434, @wbrowne
Breaking changes
When parsing Elasticsearch query responses using template variables, each field gets named after the variable value instead of the name.
For example, executing a terms
aggregation on a variable named $groupBy
that has @hostname
as a value, the resulting column in the table response will be @hostname
instead of $groupBy
Issue #36035
Azure Monitor data source no longer supports different credentials for Metrics and Logs in existing data sources. To use different credentials for Azure Monitor Logs, create another data source. Issue #35121
Existing Azure Metrics Logs queries for Log Analytics Workspaces should be backward compatible with this change and should not get impacted. Panels will be migrated to use the new resource-centric backend when you first edit and save them.
Application Insights and Insights Analytics queries are now read-only and cannot be modified. To update Application Insights queries, users can manually recreate them as Metrics queries, and Insights Analytics are recreated with Logs.
Issue #33879
Plugin development fixes & changes
8.0.7 (2021-12-07)
- Security: Fixes CVE-2021-43798. For more information, see our blog
8.0.6 (2021-07-14)
Features and enhancements
- Alerting: Add annotation upon alert state change. #36535, @davidmparrott
- Alerting: Allow space in label and annotation names. #36549, @codesome
- InfluxDB: Improve legend labels for InfluxDB query results. #36603, @gabor
Bug fixes
- Alerting: Fix improper alert by changing the handling of empty labels. #36679, @davidmparrott
- CloudWatch/Logs: Reestablish Cloud Watch alert behavior. #36558, @aocenas
- Dashboard: Avoid migration breaking on fieldConfig without defaults field in folded panel. #36666, @glindstedt
- DashboardList: Fix issue not re-fetching dashboard list after variable change. #36591, @torkelo
- Database: Fix incorrect format of isolation level configuration parameter for MySQL. #36565, @marefr
- InfluxDB: Correct tag filtering on InfluxDB data. #36570, @gabor
- Links: Fix links that caused a full page reload. #36631, @torkelo
- Live: Fix HTTP error when InfluxDB metrics have an incomplete or asymmetrical field set. #36664, @FZambia
- Postgres/MySQL/MSSQL: Change time field to "Time" for time series queries. #36720, @marefr
- Postgres: Fix the handling of a null return value in query results. #36648, @idafurjes
- Tempo: Show hex strings instead of uints for IDs. #36471, @zoltanbedi
- TimeSeries: Improve tooltip positioning when tooltip overflows. #36440, @ashharrison90
- Transformations: Add 'prepare time series' transformer. #36737, @ryantxu
8.0.5 (2021-07-08)
Features and enhancements
- Cloudwatch Logs: Send error down to client. #36277, @zoltanbedi
- Folders: Return 409 Conflict status when folder already exists. #36429, @dsotirakis
- TimeSeries: Do not show series in tooltip if it's hidden in the viz. #36353, @dprokop
Bug fixes
- AzureMonitor: Fix issue where resource group name is missing on the resource picker button. #36400, @joshhunt
- Chore: Fix AWS auth assuming role with workspace IAM. #36430, @wbrowne
- DashboardQueryRunner: Fixes unrestrained subscriptions being created. #36371, @hugohaggmark
- DateFormats: Fix reading correct setting key for use_browser_locale. #36428, @torkelo
- Links: Fix links to other apps outside Grafana when under sub path. #36498, @torkelo
- Snapshots: Fix snapshot absolute time range issue. #36350, @torkelo
- Table: Fix data link color. #36446, @tharun208
- Time Series: Fix X-axis time format when tick increment is larger than a year. #36335, @torkelo
- Tooltip Plugin: Prevent tooltip render if field is undefined. #36260, @ashharrison90
8.0.4 (2021-07-01)
Features and enhancements
- Live: Rely on app url for origin check. #35983, @FZambia
- PieChart: Sort legend descending, update placeholder to show default …. #36062, @ashharrison90
- TimeSeries panel: Do not reinitialize plot when thresholds mode change. #35952, @dprokop
Bug fixes
- Elasticsearch: Allow case sensitive custom options in date_histogram interval. #36168, @Elfo404
- Elasticsearch: Restore previous field naming strategy when using variables. #35624, @Elfo404
- Explore: Fix import of queries between SQL data sources. #36210, @ivanahuckova
- InfluxDB: InfluxQL query editor: fix retention policy handling. #36022, @gabor
- Loki: Send correct time range in template variable queries. #36268, @ivanahuckova
- TimeSeries: Preserve RegExp series overrides when migrating from old graph panel. #36134, @ashharrison90
8.0.3 (2021-06-18)
Features and enhancements
- Alerting: Increase alertmanager_conf column if MySQL. #35657, @kylebrandt
- Time series/Bar chart panel: Handle infinite numbers as nulls when converting to plot array. #35638, @dprokop
- TimeSeries: Ensure series overrides that contain color are migrated, and migrate the previous
fieldConfig
when changing the panel type. #35676, @ashharrison90 - ValueMappings: Improve singlestat value mappings migration. #35578, @dprokop
Bug fixes
- Annotations: Fix annotation line and marker colors. #35608, @torkelo
- AzureMonitor: Fix KQL template variable queries without default workspace. #35836, @joshhunt
- CloudWatch/Logs: Fix missing response data for log queries. #35724, @aocenas
- Elasticsearch: Restore previous field naming strategy when using variables. #35624, @Elfo404
- LibraryPanels: Fix crash in library panels list when panel plugin is not found. #35907, @torkelo
- LogsPanel: Fix performance drop when moving logs panel in dashboard. #35379, @aocenas
- Loki: Parse log levels when ANSI coloring is enabled. #35607, @olbo98
- MSSQL: Fix issue with hidden queries still being executed. #35787, @torkelo
- PanelEdit: Display the VisualizationPicker that was not displayed if a panel has an unknown panel plugin. #35831, @jackw
- Plugins: Fix loading symbolically linked plugins. #35635, @domasx2
- Prometheus: Fix issue where legend name was replaced with name Value in stat and gauge panels. #35863, @torkelo
- State Timeline: Fix crash when hovering over panel. #35692, @hugohaggmark
8.0.2 (2021-06-14)
Features and enhancements
- Datasource: Add support for max_conns_per_host in dataproxy settings. #35520, @jvrplmlmn
Bug fixes
- Configuration: Fix changing org preferences in FireFox. #35549, @hugohaggmark
- PieChart: Fix legend dimension limits. #35563, @torkelo
- Postgres/MySQL/MSSQL: Fix panic in concurrent map writes. #35510, @marefr
- Variables: Hide default data source if missing from regex. #35561, @hugohaggmark
8.0.1 (2021-06-10)
Bug fixes
- Alerting/SSE: Fix "count_non_null" reducer validation. #35451, @kylebrandt
- Cloudwatch: Fix duplicated time series. #35433, @sunker
- Cloudwatch: Fix missing defaultRegion. #35436, @andresmgot
- Dashboard: Fix Dashboard init failed error on dashboards with old singlestat panels in collapsed rows. #35425, @torkelo
- Datasource: Fix storing timeout option as numeric. #35441, @marefr
- Postgres/MySQL/MSSQL: Fix annotation parsing for empty responses. #35367, @marcbachmann
- Postgres/MySQL/MSSQL: Numeric/non-string values are now returned from query variables. #35411, @marefr
- Postgres: Fix an error that was thrown when the annotation query did not return any results. #35382, @dprokop
- StatPanel: Fix an issue with the appearance of the graph when switching color mode. #35460, @torkelo
- Visualizations: Fix an issue in the Stat/BarGauge/Gauge/PieChart panels where all values mode were showing the same name if they had the same value. #35368, @torkelo
Plugin development fixes & changes
8.0.0 (2021-06-08)
Features and enhancements
- AzureMonitor: Require default subscription for workspaces() template variable query. #35181, @joshhunt
- AzureMonitor: Use resource type display names in the UI. #35060, @joshhunt
- Dashboard: Remove support for loading and deleting dashboard by slug. #35104, @dsotirakis
- InfluxDB: Deprecate direct browser access in data source. #35105, @gabor
- VizLegend: Add a read-only property. #35096, @dprokop
Bug fixes
- AzureMonitor: Fix Azure Resource Graph queries in Azure China. #35235, @kostrse
- Checkbox: Fix vertical layout issue with checkboxes due to fixed height. #35022, @torkelo
- Dashboard: Fix Table view when editing causes the panel data to not update. #34998, @axelavargas
- Dashboard: Fix issues where unsaved-changes warning is not displayed. #34989, @torkelo
- Login: Fixes Unauthorized message showing when on login page or snapshot page. #35311, @torkelo
- NodeGraph: Fix sorting markers in grid view. #35200, @aocenas
- Short URL: Include orgId in generated short URLs. #34696, @farodin91
- Variables: Support raw values of boolean type. #34727, @simPod
Breaking changes
The following endpoints were deprecated for Grafana v5.0 and support for them has now been removed:
- GET
/dashboards/db/:slug
- GET
/dashboard-solo/db/:slug
- GET
/api/dashboard/db/:slug
- DELETE
/api/dashboards/db/:slug
Issue #35104
8.0.0-beta3 (2021-06-01)
Features and enhancements
- API: Support folder UID in dashboards API. #33991, @zserge
- Alerting: Add support for configuring avatar URL for the Discord notifier. #33355, @ChipWolf
- Alerting: Clarify that Threema Gateway Alerts support only Basic IDs. #34828, @dbrgn
- Azure: Expose Azure settings to external plugins. #34484, @sunker
- AzureMonitor: Deprecate using separate credentials for Azure Monitor Logs. #34758, @andresmgot
- AzureMonitor: Display variables in resource picker for Azure Monitor Logs. #34648, @joshhunt
- AzureMonitor: Hide application insights for data sources not using it. #34725, @joshhunt
- AzureMonitor: Support querying subscriptions and resource groups in Azure Monitor Logs. #34766, @joshhunt
- AzureMonitor: remove requirement for default subscription. #34787, @kostrse
- CloudWatch: Add Lambda@Edge Amazon CloudFront metrics. #34561, @razor-x
- CloudWatch: Add missing AWS AppSync metrics. #34691, @razor-x
- ConfirmModal: Auto focus delete button. #34917, @torkelo
- Explore: Add caching for queries that are run from logs navigation. #34297, @ivanahuckova
- Loki: Add formatting for annotations. #34774, @fredr
- Loki: Bring back processed bytes as meta information. #34092, @mmenbawy
- NodeGraph: Display node graph collapsed by default with trace view. #34491, @aocenas
- Overrides: Include a manual override option to hide something from visualization. #34783, @torkelo
- PieChart: Support row data in pie charts. #34755, @torkelo
- Prometheus: Update default HTTP method to POST for existing data sources. #34599, @ivanahuckova
- Reporting: Enable generating PDF for anonymous users. (Enterprise)
- SAML: Make private key and certificate optional. (Enterprise)
- Time series panel: Position tooltip correctly when window is scrolled or resized. #34782, @dprokop
Bug fixes
- Admin: Fix infinite loading edit on the profile page. #34627, @hugohaggmark
- Color: Fix issues with random colors in string and date fields. #34913, @torkelo
- Dashboard: Fix issue with title or folder change has no effect after exiting settings view. #34677, @torkelo
- DataLinks: Fix an issue __series.name is not working in data link. #34932, @torkelo
- Datasource: Fix dataproxy timeout should always be applied for outgoing data source HTTP requests. #34597, @dsotirakis
- Elasticsearch: Fix NewClient not passing httpClientProvider to client impl. #34539, @KiVirgil
- Explore: Fix Browser title not updated on Navigation to Explore. #34651, @axelavargas
- GraphNG: Remove fieldName and hideInLegend properties from UPlotSeriesBuilder. #34901, @dprokop
- OAuth: Fix fallback to auto_assign_org_role setting for Azure AD OAuth when no role claims exists. #34838, @idafurjes
- PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit. #34765, @torkelo
- StatPanel: Fix data link tooltip not showing for single value. #34934, @torkelo
- Table: Fix sorting for number fields. #34722, @hugohaggmark
- Table: Have text underline for datalink, and add support for image datalink. #34635, @thisisobate
- Time series panel: Position tooltip correctly when window is scrolled or resized. #34584, @dprokop
- Transformations: Prevent FilterByValue transform from crashing panel edit. #34747, @jackw
Breaking changes
The default HTTP method for Prometheus data source is now POST. Previously, it was GET. The POST APIs have been available since January 2018 (Prometheus 2.1.0) and they have fewer limitations than the GET APIs. For example, when dealing with high cardinality labels, GET hits the URL size limit.
If you have a Prometheus instance with version < 2.1.0, which uses the default HTTP method, update your HTTP method to GET. Issue #34599
8.0.0-beta2 (2021-05-20)
Features and enhancements
- AppPlugins: Expose react-router to apps. #33775, @dprokop
- AzureMonitor: Add Azure Resource Graph. #33293, @shuotli
- AzureMonitor: Managed Identity configuration UI. #34170, @kostrse
- AzureMonitor: Token provider with support for Managed Identities. #33807, @kostrse
- AzureMonitor: Update Logs workspace() template variable query to return resource URIs. #34445, @joshhunt
- BarChart: Value label sizing. #34229, @dprokop
- CloudMonitoring: Add support for preprocessing. #33011, @sunker
- CloudWatch: Add AWS/EFS StorageBytes metric. #33426, @freshleafmedia
- CloudWatch: Allow use of missing AWS namespaces using custom metrics. #30961, @mmcoltman
- Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy. #33439, @marefr
- InfluxDB: InfluxQL: allow empty tag values in the query editor. #34311, @gabor
- Instrumentation: Instrument incoming HTTP request with histograms by default. #33921, @bergquist
- Library Panels: Add name endpoint & unique name validation to AddLibraryPanelModal. #33987, @kaydelaney
- Logs panel: Support details view. #34125, @ivanahuckova
- PieChart: Always show the calculation options dropdown in the editor. #34267, @oscarkilhed
- PieChart: Remove beta flag. #34098, @oscarkilhed
- Plugins: Enforce signing for all plugins. #34364, @wbrowne
- Plugins: Remove support for deprecated backend plugin protocol version. #34127, @idafurjes
- Tempo/Jaeger: Add better display name to legend. #34063, @aocenas
- Timeline: Add time range zoom. #34079, @torkelo
- Timeline: Adds opacity & line width option. #34118, @torkelo
- Timeline: Value text alignment option. #34087, @torkelo
- ValueMappings: Add duplicate action, and disable dismiss on backdrop click. #34100, @torkelo
- Zipkin: Add node graph view to trace response. #34414, @aocenas
Bug fixes
- Annotations panel: Remove subpath from dashboard links. #34134, @jackw
- Content Security Policy: Allow all image sources by default. #34265, @aknuds1
- Content Security Policy: Relax default template wrt. loading of scripts, due to nonces not working. #34363, @aknuds1
- Datasource: Fix tracing propagation for alert execution by introducing HTTP client outgoing tracing middleware. #34466, @marefr
- InfluxDB: InfluxQL always apply time interval end. #34308, @gabor
- Library Panels: Fixes "error while loading library panels". #34278, @hugohaggmark
- NewsPanel: Fixes rendering issue in Safari. #34067, @kaydelaney
- PanelChrome: Fix queries being issued again when scrolling in and out of view. #34061, @torkelo
- Plugins: Fix Azure token provider cache panic and auth param nil value. #34252, @kostrse
- Snapshots: Fix key and deleteKey being ignored when creating an external snapshot. #33686, @wengelbrecht-grafana
- Table: Fix issue with cell border not showing with colored background cells. #34231, @torkelo
- Table: Makes tooltip scrollable for long JSON values. #34120, @hugohaggmark
- TimeSeries: Fix for Connected null values threshold toggle during panel editing. #34452, @leeoniya
- Variables: Fixes inconsistent
selected
states on dashboard load. #34197, @hugohaggmark - Variables: Refreshes all panels even if panel is full screen. #34097, @hugohaggmark
Breaking changes
The workspaces()
template variable, mainly for use with Azure Monitor Logs, has been changed to return resource URIs instead of Log Analytics Workspaces GUIDs. This should not impact Azure Monitor Logs queries, but if the variables are being used in other data sources which expect a Workspace GUID may no longer be compatible.
Custom template variables used in the workspace or resource field in Azure Monitor Logs queries should resolve to an Azure Resource URI in the format /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
Issue #34445
Removes support for deprecated backend plugin protocol (v1) including usage of github.com/grafana/grafana-plugin-model.
Issue #34127
Plugin development fixes & changes
- QueryField: Remove carriage return character from pasted text. #34076, @ivanahuckova
8.0.0-beta1 (2021-05-13)
Features and enhancements
- API: Add org users with pagination. #33788, @idafurjes
- API: Return 404 when deleting nonexistent API key. #33346, @chaudum
- API: Return query results as JSON rather than base64 encoded Arrow. #32303, @ryantxu
- Alerting: Allow sending notification tags to Opsgenie as extra properties. #30332, @DewaldV
- Alerts: Replaces all uses of InfoBox & FeatureInfoBox with Alert. #33352, @torkelo
- Auth: Add support for JWT Authentication. #29995, @marshall-lee
- AzureMonitor: Add support for Microsoft.SignalRService/SignalR metrics. #33246, @M0ns1gn0r
- AzureMonitor: Azure settings in Grafana server config. #33728, @kostrse
- AzureMonitor: Migrate Metrics query editor to React. #30783, @joshhunt
- BarChart panel: enable series toggling via legend. #33955, @dprokop
- BarChart panel: Adds support for Tooltip in BarChartPanel. #33938, @dprokop
- PieChart panel: Change look of highlighted pie slices. #33841, @oscarkilhed
- CloudMonitoring: Migrate config editor from angular to react. #33645, @sunker
- CloudWatch: Add Amplify Console metrics and dimensions. #33171, @rodrigorfk
- CloudWatch: Add missing Redshift metrics to CloudWatch data source. #32121, @tomdaly
- CloudWatch: Add metrics for managed RabbitMQ service. #31838, @nirojan
- DashboardList: Enable templating on search tag input. #31460, @delta50
- Datasource config: correctly remove single custom http header. #32445, @gabor
- Elasticsearch: Add generic support for template variables. #32762, @Elfo404
- Elasticsearch: Allow omitting field when metric supports inline script. #32839, @Elfo404
- Elasticsearch: Allow setting a custom limit for log queries. #32422, @Elfo404
- Elasticsearch: Guess field type from first non-empty value. #32290, @Elfo404
- Elasticsearch: Use application/x-ndjson content type for multisearch requests. #32282, @Elfo404
- Elasticsearch: Use semver strings to identify ES version. #33646, @Elfo404
- Explore: Add logs navigation to request more logs. #33259, @ivanahuckova
- Explore: Map Graphite queries to Loki. #33405, @ifrost
- Explore: Scroll split panes in Explore independently. #32978, @ivanahuckova
- Explore: Wrap each panel in separate error boundary. #33868, @aocenas
- FieldDisplay: Smarter naming of stat values when visualising row values (all values) in stat panels. #31704, @torkelo
- Graphite: Expand metric names for variables. #33694, @ifrost
- Graphite: Handle unknown Graphite functions without breaking the visual editor. #32635, @ifrost
- Graphite: Show graphite functions descriptions. #32305, @ifrost
- Graphite: Support request cancellation properly (Uses new backendSrv.fetch Observable request API). #31928, @mckn
- InfluxDB: Flux: Improve handling of complex response-structures. #33823, @gabor
- InfluxDB: Support region annotations. #31526, @Komalis
- Inspector: Download logs for manual processing. #32764, @ivanahuckova
- Jaeger: Add node graph view for trace. #31521, @aocenas
- Jaeger: Search traces. #32805, @zoltanbedi
- Loki: Use data source settings for alerting queries. #33942, @ivanahuckova
- NodeGraph: Exploration mode. #33623, @aocenas
- OAuth: Add support for empty scopes. #32129, @jvoeller
- PanelChrome: New logic-less emotion based component with no dependency on PanelModel or DashboardModel. #29456, @torkelo
- PanelEdit: Adds a table view toggle to quickly view data in table form. #33753, @torkelo
- PanelEdit: Highlight matched words when searching options. #33717, @torkelo
- PanelEdit: UX improvements. #32124, @torkelo
- Plugins: PanelRenderer and simplified QueryRunner to be used from plugins. #31901, @torkelo
- Plugins: AuthType in route configuration and params interpolation. #33674, @kostrse
- Plugins: Enable plugin runtime install/uninstall capabilities. #33836, @wbrowne
- Plugins: Support set body content in plugin routes. #32551, @marefr
- Plugins: Introduce marketplace app. #33869, @jackw
- Plugins: Moving the DataSourcePicker to grafana/runtime so it can be reused in plugins. #31628, @mckn
- Prometheus: Add custom query params for alert and exemplars queries. #32440, @aocenas
- Prometheus: Use fuzzy string matching to autocomplete metric names and label. #32207, @ifrost
- Routing: Replace Angular routing with react-router. #31463, @dprokop
- Slack: Use chat.postMessage API by default. #32511, @aknuds1
- Tempo: Search for Traces by querying Loki directly from Tempo. #33308, @davkal
- Tempo: Show graph view of the trace. #33635, @aocenas
- Themes: Switch theme without reload using global shortcut. #32180, @torkelo
- TimeSeries panel: Add support for shared cursor. #33433, @dprokop
- TimeSeries panel: Do not crash the panel if there is no time series data in the response. #33993, @dprokop
- Variables: Do not save repeated panels, rows and scopedVars. #32436, @torkelo
- Variables: Removes experimental Tags feature. #33361, @hugohaggmark
- Variables: Removes the never refresh option. #33533, @hugohaggmark
- Visualizations: Unify tooltip options across visualizations. #33892, @dprokop
- Visualizations: Refactor and unify option creation between new visualizations. #33867, @oscarkilhed
- Visualizations: Remove singlestat panel. #31904, @dprokop
Bug fixes
- APIKeys: Fixes issue with adding first api key. #32201, @torkelo
- Alerting: Add checks for non supported units - disable defaulting to seconds. #32477, @dsotirakis
- Alerting: Fix issue where Slack notifications won't link to user IDs. #32861, @n-wbrown
- Alerting: Omit empty message in PagerDuty notifier. #31359, @pkoenig10
- AzureMonitor: Fix migration error from older versions of App Insights queries. #32372, @joshhunt
- CloudWatch: Fix AWS/Connect dimensions. #33736, @sunker
- CloudWatch: Fix broken AWS/MediaTailor dimension name. #33271, @sunker
- Dashboards: Allow string manipulation as advanced variable format option. #29754, @rscot231
- DataLinks: Includes harmless extended characters like Cyrillic characters. #33551, @hugohaggmark
- Drawer: Fixes title overflowing its container. #33857, @thisisobate
- Explore: Fix issue when some query errors were not shown. #32212, @aocenas
- Generic OAuth: Prevent adding duplicated users. #32286, @dsotirakis
- Graphite: Handle invalid annotations. #32437, @ifrost
- Graphite: Fix autocomplete when tags are not available. #31680, @ifrost
- InfluxDB: Fix Cannot read property 'length' of undefined in when parsing response. #32504, @ivanahuckova
- Instrumentation: Enable tracing when Jaeger host and port are set. #33682, @zserge
- Instrumentation: Prefix metrics with
grafana
. #33925, @bergquist - MSSQL: By default let driver choose port. #32417, @aknuds1
- OAuth: Add optional strict parsing of role_attribute_path. #28021, @klausenbusk
- Panel: Fixes description markdown with inline code being rendered on newlines and full width. #32405, @dprokop
- PanelChrome: Ignore data updates & errors for non data panels. #33477, @torkelo
- Permissions: Fix inherited folder permissions can prevent new permissions being added to a dashboard. #33329, @marefr
- Plugins: Remove pre-existing plugin installs when installing with grafana-cli. #31515, @wbrowne
- Plugins: Support installing to folders with whitespace and fix pluginUrl trailing and leading whitespace failures. #32506, @wbrowne
- Postgres/MySQL/MSSQL: Don't return connection failure details to the client. #32408, @marefr
- Postgres: Fix ms precision of interval in time group macro when TimescaleDB is enabled. #33853, @ying-jeanne
- Provisioning: Use dashboard checksum field as change indicator. #29797, @cristi-
- SQL: Fix so that all captured errors are returned from sql engine. #32353, @marefr
- Shortcuts: Fixes panel shortcuts so they always work. #32385, @torkelo
- Table: Fixes so border is visible for cells with links. #33160, @hugohaggmark
- Variables: Clear query when data source type changes. #33924, @hugohaggmark
- Variables: Filters out builtin variables from unknown list. #33933, @hugohaggmark
- Variables: Refreshes all panels even if panel is full screen. #33201, @hugohaggmark
Breaking changes
Removes the never
refresh option for Query variables. Existing variables will be migrated and any stored options will be removed. Issue #33533
Removes the experimental Tags feature for Variables. Issue #33361
Deprecations
The InfoBox & FeatureInfoBox are now deprecated please use the Alert component instead with severity info. Issue #33352
Plugin development fixes & changes
- Button: Introduce buttonStyle prop. #33384, @jackw
- DataQueryRequest: Remove deprecated props showingGraph and showingTabel and exploreMode. #31876, @torkelo
- grafana/ui: Update React Hook Form to v7. #33328, @Clarity-89
- IconButton: Introduce variant for red and blue icon buttons. #33479, @jackw
- Plugins: Expose the
getTimeZone
function to be able to get the current selected timeZone. #31900, @mckn - TagsInput: Add className to TagsInput. #33944, @Clarity-89
- VizLegend: Move onSeriesColorChanged to PanelContext (breaking change). #33611, @ryantxu
License update
- AGPL License: Update license from Apache 2.0 to the GNU Affero General Public License (AGPL). #33184
7.5.15 (2022-02-08)
- Security: Fixes CVE-2022-21702. For more information, see our blog
- Security: Fixes CVE-2022-21703. For more information, see our blog
- Security: Fixes CVE-2022-21713. For more information, see our blog
7.5.13 (2022-01-18)
Bug fixes
- [v7.5.x] Alerting: Fix NoDataFound for alert rules using AND operator (#41305). #44066, @armandgrillet
7.5.11 (2021-10-05)
- Security: Fixes CVE-2021-39226. For more information, see our blog
7.5.10 (2021-07-15)
Bug fixes
7.5.9 (2021-06-23)
Bug fixes
7.5.8 (2021-06-16)
Features and enhancements
- Datasource: Add support for max_conns_per_host in dataproxy settings. #35519, @jvrplmlmn
- Datasource: Add support for max_idle_connections_per_host in dataproxy settings. #35365, @dsotirakis
- Instrumentation: Add metrics for outbound HTTP connections. #35321, @dsotirakis
- Snapshots: Remove dashboard links from dashboard snapshots. #35567, @torkelo
7.5.7 (2021-05-19)
Bug fixes
- Dockerfile: Fixes missing --no-cache. #33906, @030
- Annotations: Prevent orphaned annotation tags cleanup when no annotations were cleaned. #33957, @afayngelerindbx
- Quota: Do not count folders towards dashboard quota. #32519, @conorevans
7.5.6 (2021-05-11)
Features and enhancements
- Database: Add isolation level configuration parameter for MySQL. #33830, @zserge
- InfluxDB: Improve measurement-autocomplete behavior. #33494, @gabor
- Instrumentation: Don't consider invalid email address a failed email. #33671, @bergquist
Bug fixes
- Loki: fix label browser crashing when + typed. #33900, @zoltanbedi
- Prometheus: Sanitize PromLink button. #33874, @ivanahuckova
7.5.5 (2021-04-28)
Features and enhancements
- Explore: Load default data source in Explore when the provided source does not exist. #32992, @ifrost
- Instrumentation: Add success rate metrics for email notifications. #33359, @bergquist
Bug fixes
- Alerting: Remove field limitation from Slack notifications. #33113, @dsotirakis
- Auth: Do not clear auth token cookie when token lookup fails. #32999, @marefr
- Bug: Add git command to Dockerfile.ubuntu file. #33247, @dsotirakis
- Explore: Adjust time to the selected timezone. #33315, @ifrost
- GraphNG: Fix exemplars window position. #33427, @zoltanbedi
- Loki: Pass Skip TLS Verify setting to alert queries. #33025, @ivanahuckova
- Postgres: Fix time group macro when TimescaleDB is enabled and interval is less than a second. #33153, @marefr
7.5.4 (2021-04-14)
Features and enhancements
- Auditing: Use nanosecond resolution for audit log timestamps. (Enterprise)
- AzureMonitor: Add support for Microsoft.AppConfiguration/configurationStores namespace. #32123, @deesejohn
- TablePanel: Make sorting case-insensitive. #32435, @kaydelaney
Bug fixes
- AzureMonitor: Add support for Virtual WAN namespaces. #32935, @joshhunt
- Bugfix: Add proper padding when scrolling is added to bar gauge. #32411, @mckn
- Datasource: Prevent default data source named "default" from causing infinite loop. #32949, @jackw
- Prometheus: Allow exemplars endpoint in data source proxy. #32802, @zoltanbedi
- Table: Fix table data links so they refer to correct row after sorting. #32571, @torkelo
7.5.3 (2021-04-07)
Features and enhancements
- Dashboard: Do not include default datasource when externally exporting dashboard with row. #32494, @kaydelaney
- Loki: Remove empty annotations tags. #32359, @conorevans
Bug fixes
- AdHocVariable: Add default data source to picker. #32470, @hugohaggmark
- Configuration: Prevent browser hanging / crashing with large number of org users. #32546, @jackw
- Elasticsearch: Fix bucket script variable duplication in UI. #32705, @Elfo404
- Explore: Fix bug where navigating to explore would result in wrong query and datasource to be shown. #32558, @aocenas
- FolderPicker: Prevent dropdown menu from disappearing off screen. #32603, @jackw
- SingleStat: Fix issue with panel links. #32721, @gjulianm
- Variables: Confirm selection before opening new picker. #32586, @hugohaggmark
- Variables: Confirm selection before opening new picker. #32503, @hugohaggmark
- Variables: Fix unsupported data format error for null values. #32480, @hugohaggmark
7.5.2 (2021-03-30)
Features and enhancements
- Explore: Set Explore's GraphNG to use default value for connected null values setting. #32471, @ivanahuckova
Bug fixes
- DashboardDataSource: Fix query not being executed after selecting source panel. #32383, @torkelo
- Graph: Fix setting right y-axis when standard option unit is configured. #32426, @torkelo
- Table: Fix links for image cells. #32370, @kaydelaney
- Variables: Fix data source variable when default data source is selected. #32384, @torkelo
- Variables: Fix manually entering non-matching custom value in variable input/picker error. #32390, @torkelo
7.5.1 (2021-03-26)
Bug fixes
7.5.0 (2021-03-25)
Features and enhancements
- Alerting: Add ability to include aliases with hyphen in InfluxDB. #32262, @grafanabot
- CloudWatch: Use latest version of aws sdk. #32217, @sunker
Bug fixes
- Alerting: Add ability to include aliases with hyphen in InfluxDB. #32224, @dsotirakis
- DashboardSettings: Fixes issue with tags list not updating changes are made. #32241, @huynhsamha
- DashboardSettings: Fixes issue with tags list not updating changes are made. #32189, @huynhsamha
- Loki: Fix text search in Label browser. #32293, @ivanahuckova
7.5.0-beta2 (2021-03-19)
Features and enhancements
- CloudWatch: Add support for EC2 IAM role. #31804, @sunker
- CloudWatch: Consume the grafana/aws-sdk. #31807, @sunker
- CloudWatch: Restrict auth provider and assume role usage according to Grafana configuration. #31805, @sunker
- Cloudwatch: ListMetrics API page limit. #31788, @sunker
- Cloudwatch: Use shared library for aws auth. #29550, @ryantxu
- DataLinks: Bring back single click links for Stat, Gauge and BarGauge panel. #31692, @dprokop
- Docker: Support pre-installed plugins from other sources in custom Dockerfiles. #31234, @sgnsys3
- Elasticseach: Add support for histogram fields. #29079, @simianhacker
- Exemplars: Always query exemplars. #31673, @zoltanbedi
- Explore: Support full inspect drawer. #32005, @ivanahuckova
- HttpServer: Make read timeout configurable but disabled by default. #31575, @bergquist
- SQLStore: Close session in withDbSession. #31775, @aknuds1
- Templating: Use dashboard timerange when variables are set to refresh 'On Dashboard Load'. #31721, @Elfo404
- Tempo: Convert to backend data source. #31618, @zoltanbedi
Bug fixes
- Admin: Keeps expired api keys visible in table after delete. #31636, @hugohaggmark
- Data proxy: Fix encoded characters in URL path should be proxied as encoded. #30597, @marefr
- Explore/Logs: Fix escaping in ANSI logs. #31731, @ivanahuckova
- GraphNG: Fix tooltip series color for multi data frame scenario. #32098, @dprokop
- GraphNG: Make sure data set and config are in sync when initializing and re-initializing uPlot. #32106, @dprokop
- Loki: Fix autocomplete when re-editing Loki label values. #31828, @ivanahuckova
- MixedDataSource: Name is updated when data source variables change. #32090, @hugohaggmark
- PanelInspect: Interpolates variables in CSV file name. #31936, @hugohaggmark
- ReduceTransform: Include series with numeric string names. #31763, @hugohaggmark
- Snapshots: Fix usage of sign in link from the snapshot page. #31986, @marefr
- TimePicker: Fixes hidden time picker shown in kiosk TV mode. #32062, @torkelo
- ValueMappings: Fixes value 0 not being mapped. #31924, @Willena
- Variables: Fixes filtering in picker with null items. #31979, @hugohaggmark
- Variables: Improves inspection performance and unknown filtering. #31811, @hugohaggmark
Plugin development fixes & changes
- Auth: Allow soft token revocation. #31601, @joanlopez
7.5.0-beta1 (2021-03-04)
Features and enhancements
- Alerting: Customise OK notification priorities for Pushover notifier. #30169, @acaire
- Alerting: Improve default message for SensuGo notifier. #31428, @M4teo
- Alerting: PagerDuty: adding current state to the payload. #29270, @Eraac
- AzureMonitor: Add deprecation message for App Insights/Insights Analytics. #30633, @joshhunt
- CloudMonitoring: Allow free text input for GCP project on dashboard variable query. #28048
- CloudMonitoring: Increase service api page size. #30892, @sunker
- CloudMonitoring: Show service and SLO display name in SLO Query editor. #30900, @sunker
- CloudWatch: Add AWS Ground Station metrics and dimensions. #31362, @ilyastoli
- CloudWatch: Add AWS Network Firewall metrics and dimensions. #31498, @ilyastoli
- CloudWatch: Add AWS Timestream Metrics and Dimensions. #31624, @ilyastoli
- CloudWatch: Add RDS Proxy metrics. #31595, @sunker
- CloudWatch: Add eu-south-1 Cloudwatch region. #31198, @rubycut
- CloudWatch: Make it possible to specify custom api endpoint. #31402, @sunker
- Cloudwatch: Add AWS/DDoSProtection metrics and dimensions. #31297, @relvira
- Dashboard: Remove template variables option from ShareModal. #30395, @oscarkilhed
- Docs: Define TLS/SSL terminology. #30533, @aknuds1
- Elasticsearch: Add word highlighting to search results. #30293, @simianhacker
- Folders: Editors should be able to edit name and delete folders. #31242, @torkelo
- Graphite/SSE: update graphite to work with server side expressions. #31455, @kylebrandt
- InfluxDB: Improve maxDataPoints error-message in Flux-mode, raise limits. #31259, @gabor
- InfluxDB: In flux query editor, do not run query when disabled. #31324, @gabor
- LogsPanel: Add deduplication option for logs. #31019, @ivanahuckova
- Loki: Add line limit for annotations. #31183, @ivanahuckova
- Loki: Add support for alerting. #31424, @ivanahuckova
- Loki: Label browser. #30351, @davkal
- PieChart: Add color changing options to pie chart. #31588, @oscarkilhed
- PostgreSQL: Allow providing TLS/SSL certificates as text in addition to file paths. #30353, @ying-jeanne
- Postgres: SSL certification. #30352, @ying-jeanne
- Profile: Prevent OAuth users from changing user details or password. #27886, @dupondje
- Prometheus: Change default httpMethod for new instances to POST. #31292, @ivanahuckova
- Prometheus: Min step defaults to seconds when no unit is set. #30966, @nutmos
- Stats: Exclude folders from total dashboard count. #31320, @bergquist
- Tracing: Specify type of data frame that is expected for TraceView. #31465, @aocenas
- Transformers: Add search to transform selection. #30854, @ryantxu
Bug fixes
- Alerting: Ensure Discord notification is sent when metric name is absent. #31257, @LeviHarrison
- Alerting: Fix case when Alertmanager notifier fails if a URL is not working. #31079, @kurokochin
- CloudMonitoring: Prevent resource type variable function from crashing. #30901, @sunker
- Color: Fix issue where colors are reset to gray when switching panels. #31611, @torkelo
- Explore: Show ANSI colored logs in logs context. #31510, @ivanahuckova
- Explore: keep enabled/disabled state in angular based QueryEditors correctly. #31558, @gabor
- Graph: Fix tooltip not being displayed when close to edge of viewport. #31493, @msober
- Heatmap: Fix missing value in legend. #31430, @kurokochin
- InfluxDB: Handle columns named "table". #30985, @gabor
- Prometheus: Use configured HTTP method for /series and /labels endpoints. #31401, @ivanahuckova
- RefreshPicker: Make valid intervals in url visible in RefreshPicker. #30474, @hugohaggmark
- TimeSeriesPanel: Fix overlapping time axis ticks. #31332, @torkelo
- TraceViewer: Fix show log marker in spanbar. #30742, @zoltanbedi
Plugin development fixes & changes
- Plugins: Add autoEnabled plugin JSON field to auto enable App plugins and add configuration link to menu by default. #31354, @torkelo
- Pagination: Improve pagination for large number of pages. #30151, @nathanrodman
7.4.5 (2021-03-18)
Bug fixes
- Security: Fix API permissions issues related to team-sync CVE-2021-28146, CVE-2021-28147. (Enterprise)
- Security: Usage insights requires signed in users CVE-2021-28148. (Enterprise)
- Security: Do not allow editors to incorrectly bypass permissions on the default data source. CVE-2021-27962. (Enterprise)
7.4.3 (2021-02-24)
Bug fixes
- AdHocVariables: Fixes crash when values are stored as numbers. #31382, @hugohaggmark
- DashboardLinks: Fix an issue where the dashboard links were causing a full page reload. #31334, @torkelo
- Elasticsearch: Fix query initialization logic & query transformation from Prometheus/Loki. #31322, @Elfo404
- QueryEditor: Fix disabling queries in dashboards. #31336, @gabor
- Streaming: Fix an issue with the time series panel and streaming data source when scrolling back from being out of view. #31431, @torkelo
- Table: Fix an issue regarding the fixed min and auto max values in bar gauge cell. #31316, @torkelo
7.4.2 (2021-02-17)
Features and enhancements
- Explore: Do not show non queryable data sources in data source picker. #31144, @torkelo
- Security: Do not allow an anonymous user to create snapshots. CVE-2021-27358. #31263, @marefr
Bug fixes
- CloudWatch: Ensure empty query row errors are not passed to the panel. #31172, @sunker
- DashboardLinks: Fix the links that always cause a full page to reload. #31178, @torkelo
- DashboardListPanel: Fix issue with folder picker always showing All and using old form styles. #31160, @torkelo
- IPv6: Support host address configured with enclosing square brackets. #31226, @aknuds1
- Permissions: Fix team and role permissions on folders/dashboards not displayed for non Grafana Admin users. #31132, @AgnesToulet
- Postgres: Fix timeGroup macro converts long intervals to invalid numbers when TimescaleDB is enabled. #31179, @kurokochin
- Prometheus: Fix enabling of disabled queries when editing in dashboard. #31055, @ivanahuckova
- QueryEditors: Fix an issue that happens after moving queries then editing would update other queries. #31193, @torkelo
- SqlDataSources: Fix the Show Generated SQL button in query editors. #31236, @torkelo
- StatPanels: Fix an issue where the palette color scheme is not cleared when loading panel. #31126, @torkelo
- Variables: Add the default option back for the data source variable. #31208, @hugohaggmark
- Variables: Fix missing empty elements from regex filters. #31156, @hugohaggmark
7.4.1 (2021-02-11)
Features and enhancements
- Influx: Make max series limit configurable and show the limiting message if applied. #31025, @aocenas
- Make value mappings correctly interpret numeric-like strings. #30893, @dprokop
- Variables: Adds queryparam formatting option. #30858, @hugohaggmark
Bug fixes
- Alerting: Fixes so notification channels are properly deleted. #31040, @hugohaggmark
- BarGauge: Improvements to value sizing and table inner width calculations. #30990, @torkelo
- DashboardLinks: Fixes crash when link has no title. #31008, @hugohaggmark
- Elasticsearch: Fix alias field value not being shown in query editor. #30992, @Elfo404
- Elasticsearch: Fix log row context errors. #31088, @Elfo404
- Elasticsearch: Show Size setting for raw_data metric. #30980, @Elfo404
- Graph: Fixes so graph is shown for non numeric time values. #30972, @hugohaggmark
- Logging: Ignore 'file already closed' error when closing file. #31119, @aknuds1
- Plugins: Fix plugin signature validation for manifest v2 on Windows. #31045, @wbrowne
- TextPanel: Fixes so panel title is updated when variables change. #30884, @hugohaggmark
- Transforms: Fixes Outer join issue with duplicate field names not getting the same unique field names as before. #31121, @torkelo
7.4.0 (2021-02-04)
Features and enhancements
- CDN: Adds support for serving assets over a CDN. #30691, @torkelo
- DashboardLinks: Support variable expression in to tooltip - Issue #30409. #30569, @huynhsamha
- Explore: Set Explore's GraphNG to be connected. #30707, @ivanahuckova
- InfluxDB: Add http configuration when selecting InfluxDB v2 flavor. #30827, @aocenas
- InfluxDB: Show all datapoints for dynamically windowed flux query. #30688, @davkal
- Loki: Improve live tailing errors. #30517, @ivanahuckova
Bug fixes
- Admin: Fixes so form values are filled in from backend. #30544, @hugohaggmark
- Admin: Fixes so whole org drop down is visible when adding users to org. #30481, @hugohaggmark
- Alerting: Hides threshold handle for percentual thresholds. #30431, @hugohaggmark
- CloudWatch: Prevent field config from being overwritten. #30437, @sunker
- Decimals: Big Improvements to auto decimals and fixes to auto decimals bug found in 7.4-beta1. #30519, @torkelo
- Explore: Fix jumpy live tailing. #30650, @ivanahuckova
- Explore: Fix loading visualisation on the top of the new time series panel. #30553, @ivanahuckova
- Footer: Fixes layout issue in footer. #30443, @torkelo
- Graph: Fixes so only users with correct permissions can add annotations. #30419, @hugohaggmark
- Mobile: Fixes issue scrolling on mobile in chrome. #30746, @torkelo
- PanelEdit: Trigger refresh when changing data source. #30744, @torkelo
- Panels: Fixes so panels are refreshed when scrolling past them fast. #30784, @hugohaggmark
- Prometheus: Fix show query instead of Value if no name and metric. #30511, @zoltanbedi
- TimeSeriesPanel: Fixes default value for Gradient mode. #30484, @torkelo
- Variables: Clears drop down state when leaving dashboard. #30810, @hugohaggmark
- Variables: Fixes display value when using capture groups in regex. #30636, @hugohaggmark
- Variables: Fixes so queries work for numbers values too. #30602, @hugohaggmark
- Variables: Fixes so text format will show All instead of custom all value. #30730, @hugohaggmark
Plugin development fixes & changes
7.4.0-beta1 (2021-01-20)
Features and enhancements
- API: Add ID to snapshot API responses. #29600, @AgnesToulet
- AlertListPanel: Add options to sort by Time(asc) and Time(desc). #29764, @dboslee
- AlertListPanel: Changed alert url to to go the panel view instead of panel edit. #29060, @zakiharis
- Alerting: Add support for Sensu Go notification channel. #28012, @nixwiz
- Alerting: Add support for alert notification query label interpolation. #29908, @wbrowne
- Annotations: Remove annotation_tag entries as part of annotations cleanup. #29534, @dafydd-t
- Azure Monitor: Add Microsoft.Network/natGateways. #29479, @JoeyLemur
- Backend plugins: Support Forward OAuth Identity for backend data source plugins. #27055, @billoley
- Cloud Monitoring: MQL support. #26551, @mtanda
- CloudWatch: Add 'EventBusName' dimension to CloudWatch 'AWS/Events' namespace. #28402, @tomdaly
- CloudWatch: Add support for AWS DirectConnect ConnectionErrorCount metric. #29583, @haeringer
- CloudWatch: Add support for AWS/ClientVPN metrics and dimensions. #29055, @marefr
- CloudWatch: Added HTTP API Gateway specific metrics and dimensions. #28780, @karlatkinson
- Configuration: Add an option to hide certain users in the UI. #28942, @AgnesToulet
- Currency: Adds Indonesian IDR currency. #28363, @hiddenrebel
- Dashboards: Delete related data (permissions, stars, tags, versions, annotations) when deleting a dashboard or a folder. #28826, @AgnesToulet
- Dependencies: Update angularjs to 1.8.2. #28736, @torkelo
- Docker: Use root group in the custom Dockerfile. #28639, @chugunov
- Elasticsearch: Add Moving Function Pipeline Aggregation. #28131, @simianhacker
- Elasticsearch: Add Support for Serial Differencing Pipeline Aggregation. #28618, @simianhacker
- Elasticsearch: Deprecate browser access mode. #29649, @Elfo404
- Elasticsearch: Interpolate variables in Filters Bucket Aggregation. #28969, @Elfo404
- Elasticsearch: Support extended stats and percentiles in terms order by. #28910, @simianhacker
- Elasticsearch: View in context feature for logs. #28764, @simianhacker
- Explore/Logs: Alphabetically sort unique labels, labels and parsed fields. #29030, @ivanahuckova
- Explore/Logs: Update Parsed fields to Detected fields. #28881, @ivanahuckova
- Field overrides: Added matcher to match all fields returned by a specific query. #28872, @mckn
- Graph: Add support for spline interpolation (smoothing) added in new time series panel. #4303
- Instrumentation: Add histograms for database queries. #29662, @dafydd-t
- Jaeger: Remove browser access mode. #30349, @zoltanbedi
- LogsPanel: Don't show scroll bars when not needed. #28972, @aocenas
- Loki: Add query type and line limit to query editor in dashboard. #29356, @ivanahuckova
- Loki: Add query type selector to query editor in Explore. #28817, @ivanahuckova
- Loki: Retry web socket connection when connection is closed abnormally. #29438, @ivanahuckova
- MS SQL: Integrated security. #30369, @daniellee
- Middleware: Add CSP support. #29740, @aknuds1
- OAuth: Configurable user name attribute. #28286, @alexanderzobnin
- PanelEditor: Render panel field config categories as separate option group sections. #30301, @dprokop
- Postgres: SSL certification. #30352, @ying-jeanne
- Prometheus: Add support for Exemplars. #28057, @zoltanbedi
- Prometheus: Improve autocomplete performance and remove disabling of dynamic label lookup. #30199, @ivanahuckova
- Prometheus: Update default query type option to "Both" in Explore query editor. #28935, @ivanahuckova
- Prometheus: Use customQueryParameters for all queries. #28949, @alexbumbacea
- Security: Prefer server cipher suites for http2. #29379, @bergquist
- Security: Remove insecure cipher suit as default option. #29378, @bergquist
- StatPanels: Add new calculation option for percentage difference. #26369, @jedstar
- StatPanels: Change default stats option to "Last (not null)". #28617, @ryantxu
- Table: migrate old-table config to new table config. #30142, @jackw
- Templating: Custom variable edit UI, change options input into textarea. #28322, @darrylsepeda
- TimeSeriesPanel: The new graph panel now supports y-axis value mapping. #30272, @torkelo
- Tracing: Tag spans with user login and datasource name instead of id. #29183, @bergquist
- Transformations: Add "Rename By Regex" transformer. #29281, @simianhacker
- Transformations: Added new transform for excluding and including rows based on their values. #26884, @Totalus
- Transforms: Add sort by transformer. #30370, @ryantxu
- Variables: Add deprecation warning for value group tags. #30160, @torkelo
- Variables: Added __user.email to global variable. #28853, @mckn
- Variables: Adds description field. #29332, @hugohaggmark
- Variables: Adds variables inspection. #25214, @hugohaggmark
- Variables: New Variables are stored immediately. #29178, @hugohaggmark
- Zipkin: Remove browser access mode. #30360, @zoltanbedi
Bug fixes
- API: Query database from /api/health endpoint. #28349, @ceh
- Alerting: Return proper status code when trying to create alert notification channel with duplicate name or uid. #28043, @jgulick48
- Auth: Fix default maximum lifetime an authenticated user can be logged in. #30030, @papagian
- Backend: Fix IPv6 address parsing erroneous. #28585, @taciomcosta
- CloudWatch: Make sure stats grow horizontally and not vertically in the Query Editor. #30106, @sunker
- Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data. #28761, @torkelo
- Dashboards: Hide playlist edit functionality from viewers and snapshots link from unauthenticated users. #28992, @jackw
- Data source proxy: Convert 401 HTTP status code from data source to 400. #28962, @aknuds1
- Decimals: Improving auto decimals logic for high numbers and scaled units. #30262, @torkelo
- Elasticsearch: Fix date histogram auto interval handling for alert queries. #30049, @simianhacker
- Elasticsearch: Fix index pattern not working with multiple base sections. #28348, @tomdaly
- Explore: Clear errors after running a new query. #30367, @ivanahuckova
- Graph: Fixes stacking issues like floating bars when data is not aligned. #29051, @torkelo
- Graph: Staircase and null value=null calculates auto Y-Min incorrectly (fixed in new Time series panel). #12995
- Graph: Staircase mode, do now draw line segment from zero when drawing null values as null (Fixed in new Time series panel). #17838
- Image uploader: Fix uploading of images to GCS. #26493, @gastonqiu
- Influx: Fixes issue with many queries being issued as you type in the variable query field. #29968, @dprokop
- Logs Panel: Fix inconsistent highlighting. #28971, @ivanahuckova
- Logs Panel: Fixes problem dragging scrollbar inside logs panel. #28974, @aocenas
- Loki: Fix hiding of series in table if labels have number values. #30185, @ivanahuckova
- Loki: Lower min step to 1ms. #30135, @ivanahuckova
- Loki: Remove showing of unique labels with the empty string value. #30363, @ivanahuckova
- Loki: Timeseries should not produce 0-values for missing data. #30116, @davkal
- Plugins: Fix panic when using complex dynamic URLs in app plugin routes. #27977, @cinaglia
- Prometheus: Fix link to Prometheus graph in dashboard. #29543, @ivanahuckova
- Provisioning: Build paths in an os independent way. #29143, @amattheisen
- Provisioning: Fixed problem with getting started panel being added to custom home dashboard. #28750, @torkelo
- SAML: Fixes bug in processing SAML response with empty element by updating saml library (Enterprise). #29991, @alexanderzobnin
- SQL: Define primary key for tables without it. #22255, @azhiltsov
- Tracing: Fix issue showing more than 300 spans. #29377, @zoltanbedi
- Units: Changes FLOP/s to FLOPS and some other rates per second units get /s suffix. #28825, @Berbe
- Variables: Fixes Constant variable persistence confusion. #29407, @hugohaggmark
- Variables: Fixes Textbox current value persistence. #29481, @hugohaggmark
- Variables: Fixes loading with a custom all value in url. #28958, @hugohaggmark
- Variables: Fixes so clicking on Selected in drop down will exclude All value from selection. #29844, @hugohaggmark
Breaking changes
Constant variables
In order to minimize the confusion with Constant variable usage, we've removed the ability to make Constant variables visible. This change will also migrate all
existing visible
Constant variables to Textbox variables because which we think this is a more appropriate type of variable for this use case.
Issue #29407
Plugin compatibility
We have upgraded AngularJS from version 1.6.6 to 1.8.2. Due to this upgrade some old angular plugins might stop working and will require a small update. This is due to the deprecation and removal of pre-assigned bindings. So if your custom angular controllers expect component bindings in the controller constructor you need to move this code to an $onInit
function. For more details on how to migrate AngularJS code open the migration guide and search for pre-assigning bindings.
In order not to break all angular panel plugins and data sources we have some custom angular inject behavior that makes sure that bindings for these controllers are still set before constructor is called so many old angular panels and data source plugins will still work. Issue #28736
Deprecations
Query variable value group tags
This option to group query variable values into groups by tags has been an experimental feature since it was introduced. It was introduced to work around the lack of tags support in time series databases at the time. Now that tags (ie. labels) are the norm there is no longer any great need for this feature. This feature will be removed in Grafana v8 later this year. Issue #30160
Plugin development fixes & changes
- AngularPlugins: Angular controller events emitter is now a separate emitter and not the same as PanelModel events emitter. #30379, @torkelo
- FieldConfig API: Add ability to hide field option or disable it from the overrides. #29879, @dprokop
- Select: Changes default menu placement for Select from auto to bottom. #29837, @hugohaggmark
- Collapse: Allow component children to use height: 100% styling. #29776, @aocenas
- DataSourceWithBackend: Throw error if health check fails in DataSourceWithBackend. #29743, @aocenas
- NodeGraph: Add node graph visualization. #29706, @aocenas
- FieldColor: Handling color changes when switching panel types. #28875, @dprokop
- CodeEditor: Added support for javascript language. #28818, @ae3e
- grafana/toolkit: Allow builds with lint warnings. #28810, @dprokop
- grafana/toolkit: Drop console and debugger statements by default when building plugin. #28776, @dprokop
- Card: Add new Card component. #28216, @Clarity-89
- FieldConfig: Implementation slider editor (#27592). #28007, @isaozlerfm
- MutableDataFrame: Remove unique field name constraint and values field index and unused/seldom used stuff. #27573, @torkelo
7.3.10 (2021-03-18)
Bug fixes
- Security: Fix API permissions issues related to team-sync CVE-2021-28146, CVE-2021-28147. (Enterprise)
- Security: Usage insights requires signed in users CVE-2021-28148. (Enterprise)
7.3.7 (2021-01-14)
Bug fixes
- Auth: Add missing request headers to SigV4 middleware allowlist. #30115, @wbrowne
- Elasticsearch: Sort results by index order as well as @timestamp. #29761, @STEELBADGE
- SAML: Fixes bug in processing SAML response with empty element by updating saml library (Enterprise). #30179, @alexanderzobnin
- SeriesToRows: Fixes issue in transform so that value field is always named Value. #30054, @torkelo
7.3.6 (2020-12-17)
Security
- SAML: Fixes encoding/xml SAML vulnerability in Grafana Enterprise. #29875
7.3.5 (2020-12-10)
Features and enhancements
Bug fixes
- Alerting: Fix alarm message formatting in Dingding. #29482, @tomowang
- AzureMonitor: Fix unit translation for MilliSeconds. #29399, @secustor
- Instrumentation: Fix bug with invalid handler label value for HTTP request metrics. #29529, @bergquist
- Prometheus: Fixes problem where changing display name in Field tab had no effect. #29441, @zoltanbedi
- Tracing: Fixed issue showing more than 300 spans. #29377, @zoltanbedi
7.3.4 (2020-11-24)
Bug fixes
- Dashboard: Fixes kiosk state after being redirected to login page and back. #29273, @torkelo
- InfluxDB: Update flux library to fix support for boolean label values. #29310, @ryantxu
- Security: Fixes minor security issue with alert notification webhooks that allowed GET & DELETE requests. #29330, @wbrowne
- Table: Fixes issues with phantom extra 0 for zero values. #29165, @dprokop
7.3.3 (2020-11-17)
Bug fixes
- Cloud monitoring: Fix for multi-value template variable for project selector. #29042, @papagian
- LogsPanel: Fixes problem dragging scrollbar inside logs panel. #28974, @aocenas
- Provisioning: Fixes application not pinned to the sidebar when it's enabled. #29084, @alexanderzobnin
- StatPanel: Fixes hanging issue when all values are zero. #29077, @torkelo
- Thresholds: Fixes color assigned to null values. #29010, @torkelo
7.3.2 (2020-11-11)
Features / Enhancements
- CloudWatch Logs: Change how we measure query progress. #28912, @aocenas
- Dashboards / Folders: delete related data (permissions, stars, tags, versions, annotations) when deleting a dashboard or a folder. #28826, @AgnesToulet
- Gauge: Improve font size auto sizing. #28797, @torkelo
- Short URL: Cleanup unvisited/stale short URLs. #28867, @wbrowne
- Templating: Custom variable edit UI, change options input into textarea. #28322, @darrylsepeda
Bug Fixes
- Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data. #28761, @torkelo
- Dashboard: fix view panel mode for Safari / iOS. #28702, @jackw
- Elasticsearch: Exclude pipeline aggregations from order by options. #28620, @simianhacker
- Panel inspect: Interpolate variables in panel inspect title. #28779, @dprokop
- Prometheus: Fix copy paste behaving as cut and paste. #28622, @aocenas
- StatPanels: Fixes auto min max when latest value is zero. #28982, @torkelo
- TableFilters: Fixes filtering with field overrides. #28690, @hugohaggmark
- Templating: Speeds up certain variable queries for Postgres MySql MSSql. #28686, @hugohaggmark
- Units: added support to handle negative fractional numbers. #28849, @mckn
- Variables: Fix backward compatibility in custom variable options that contain colon. #28896, @mckn
7.3.1 (2020-10-30)
Bug Fixes
- Cloudwatch: Fix duplicate metric data. #28642, @zoltanbedi
- Loki: Fix error when some queries return zero results. #28645, @ivanahuckova
- PanelMenu: Fix panel submenu not being accessible for panels close to the right edge of the screen. #28666, @torkelo
- Plugins: Fix descendent frontend plugin signature validation. #28638, @wbrowne
- StatPanel: Fix value being under graph and reduced likelihood for white and dark value text mixing. #28641, @torkelo
- TextPanel: Fix problems where text panel would show old content. #28643, @torkelo
7.3.0 (2020-10-28)
Features / Enhancements
- AzureMonitor: Support decimal (as float64) type in analytics/logs. #28480, @kylebrandt
- Plugins signing: UI information. #28469, @dprokop
- Short URL: Update last seen at when visiting a short URL. #28565, @marefr
Bug Fixes
- Alerting: Log warnings for obsolete notifiers when extracting alerts and remove frequent error log messages. #28162, @papagian
- Auth: Fix SigV4 request verification step for Amazon Elasticsearch Service. #28481, @wbrowne
- Auth: Should redirect to login when anonymous enabled and URL with different org than anonymous specified. #28158, @marefr
- Elasticsearch: Fix handling of errors when testing data source. #28498, @marefr
- Graphite: Fix default version to be 1.1. #28471, @ivanahuckova
- StatPanel: Fixes BizChart error max: yyy should not be less than min zzz. #28587, @hugohaggmark
7.3.0-beta2 (2020-10-22)
Features / Enhancements
- Add monitoring mixing for Grafana. #28285, @bergquist
- CloudWatch: Missing Namespace AWS/EC2CapacityReservations. #28309, @nonamef
- Explore: Support wide data frames. #28393, @aocenas
- Instrumentation: Add counters and histograms for database queries. #28236, @bergquist
- Loki: Visually distinguish error logs for LogQL2. #28359, @ivanahuckova
Bug Fixes
- API: Fix short URLs. #28300, @aknuds1
- BackendSrv: Fixes queue countdown when unsubscribe is before response. #28323, @hugohaggmark
- CloudWatch/Athena - valid metrics and dimensions.. #28436, @kwarunek
- Dashboard links: Places drop down list so it's always visible. #28330, @maknik
- Graph: Fix for graph size not taking up full height or width. #28314, @jackw
- Loki: Base maxDataPoints limits on query type. #28298, @aocenas
- Loki: Run instant query only when doing metric query. #28325, @aocenas
- Plugins: Don't exit on duplicate plugin. #28390, @aknuds1
7.3.0-beta1 (2020-10-15)
Breaking changes
- CloudWatch: The AWS CloudWatch data source's authentication scheme has changed. See the upgrade notes for details and how this may affect you.
- Docker: The Grafana docker image will run with the root group instead of the Grafana group. This may break builds for users who extend the official Docker images. Refer to the upgrade notes for details.
Features / Enhancements
- Alerting: Add labels to name when converting data frame to series. #28085, @kylebrandt
- Alerting: Ensuring LINE Notify notifications are sent for all alert states. #27639, @haraldkubota
- Auth: Add SigV4 auth option to datasources. #27552, @wbrowne
- AzureMonitor: Pass through null values instead of setting 0. #28126, @kylebrandt
- Cloud Monitoring: Out-of-the-box dashboards. #27864, @papagian
- CloudWatch: Add support for AWS DirectConnect virtual interface metrics and add missing dimensions. #28008, @jgulick48
- CloudWatch: Adding support for Amazon ElastiCache Redis metrics. #28040, @jgulick48
- CloudWatch: Adding support for additional Amazon CloudFront metrics. #28069, @darrylsepeda
- CloudWatch: Re-implement authentication. #25548, @aknuds1,@patstrom
- Dashboard: Allow shortlink generation. #27409, @MisterSquishy
- Docker: OpenShift compatibility. #27813, @xlson
- Elasticsearch: Support multiple pipeline aggregations for a query. #27945, @simianhacker
- Explore: Allow shortlink generation. #28222, @ivanahuckova
- Explore: Remove collapsing of visualisations. #27026, @ivanahuckova
- FieldColor: Adds new standard color option for color. #28039, @torkelo
- Gauge: Improve text sizing and support non threshold color modes. #28256, @torkelo
- NamedColors: Named colors refactors. #28235, @torkelo
- Panel Inspect: Allow CSV download for Excel. #27284, @tomdaly
- Prometheus: Add time range parameters to labels API. #27548, @kakkoyun
- Snapshots: Store dashboard data encrypted in the database. #28129, @wbrowne
- Table: New cell hover behavior and image cell display mode. #27669, @torkelo
- Timezones: Include IANA timezone canonical name in TimeZoneInfo. #27591, @dprokop
- Tracing: Add Tempo data source. #28204, @aocenas
- Transformations: Add Concatenate fields transformer. #28237, @ryantxu
- Transformations: improve the reduce transformer. #27875, @ryantxu
- Users: Expire old user invites. #27361, @wbrowne
- Variables: Adds loading state and indicators. #27917, @hugohaggmark
- Variables: Adds support for key/value mapping in Custom variable. #27829, @sartaj10
- grafana/toolkit: expose Jest maxWorkers arg for plugin test & build tasks. #27724, @domasx2
Bug Fixes
- Azure Analytics: FormatAs Time series groups bool columns wrong. #27713
- Azure: Fixes cancellation of requests with different Azure sources. #28180, @hugohaggmark
- BackendSrv: Reloads page instead of redirect on Unauthorized Error. #28276, @hugohaggmark
- Dashboard: Do not allow users without edit permission to a folder to see new dashboard page. #28249, @torkelo
- Dashboard: Fixed issue accessing horizontal table scrollbar when placed at bottom of dashboard. #28250, @torkelo
- DataProxy: Add additional settings for dataproxy to help with network proxy timeouts. #27841, @kahinton
- Database: Adds new indices to alert_notification_state and alert_rule_tag tables. #28166, @KarineValenca
- Explore: Fix showing of Prometheus data in Query inspector. #28128, @ivanahuckova
- Explore: Show results of Prometheus instant queries in formatted table. #27767, @ivanahuckova
- Graph: Prevent legend from overflowing container. #28254, @jackw
- OAuth: Fix token refresh failure when custom SSL settings are configured for OAuth provider. #27523, @billoley
- Plugins: Let descendant plugins inherit their root's signature. #27970, @aknuds1
- Runtime: Fix handling of short-lived background services. #28025, @ahlaw
- TemplateSrv: Fix interpolating strings with object variables. #28171, @torkelo
- Variables: Fixes so constants set from url get completed state. #28257, @hugohaggmark
- Variables: Prevent adhoc filters from crashing when they are not loaded properly. #28226, @mckn
7.2.3 (2020-12-17)
Security
- SAML: Fixes encoding/xml SAML vulnerability in Grafana Enterprise #29875, @bergquist
7.2.2 (2020-10-21)
Features / Enhancements
Caution: Please do not use/enable the database_metrics
feature flag. It will corrupt MySQL database tables. See #28440 for more information.
Instrumentation: Add counters and histograms for database queries. #28236, @bergquist
- Instrumentation: Add histogram for request duration. #28364, @bergquist
- Instrumentation: Adds environment_info metric. #28355, @bergquist
Bug Fixes
7.2.1 (2020-10-08)
Features / Enhancements
- Api: Add /healthz endpoint for health checks. #27536, @bergquist
- Api: Healthchecks should not be rejected due to domain enforcement checks. #27981, @bergquist
- Instrumentation: Removes invalid chars from label names. #27921, @bergquist
- Orgs: Remove organisations deprecation notice from backend. #27788, @wbrowne
- grafana/toolkit: Add --coverage flag to plugin build command. #27743, @gassiss
Bug Fixes
- BarGauge: Fixed scrollbar showing for bar gauge in Firefox. #27784, @torkelo
- Dashboard: Honour root_url for Explore link. #27654, @tiagomotasantos
- DashboardLinks: values in links are updated when variables change. #27926, @hugohaggmark
- Elasticsearch: Add query's refId to each series returned by a query. #27614, @Elfo404
- Elasticsearch: Fix ad-hoc filter support for Raw Data query and new table panel. #28064, @Elfo404
- Graph: Fixed histogram bucket calculations to avoid missing buckets. #27883, @torkelo
- Loki: Run instant query only in Explore. #27974, @ivanahuckova
- Units: bps & Bps default scale remains decimal (backwards-compatibility). #27838, @Berbe
- ValueMappings: Fix issue with value mappings in override applying to all columns. #27718, @torkelo
7.2.0 (2020-09-23)
Features / Enhancements
- Alerting: Ensuring notifications displayed correctly in mobile device with Google Chat. #27578, @alvarolmedo
- TraceView: Show full traceID and better discern multiple stackTraces in span details. #27710, @aocenas
Bug Fixes
- DataLinks: Fixes issue with data links not interpolating values with correct field config. #27622, @torkelo
- DataProxy: Ignore empty URL's in plugin routes. #27653, @domasx2
- Field config: Respect config paths when rendering default value of field config property. #27652, @dprokop
- Field config: Fix mismatch in field config editor types. #27657, @dprokop
- Panel editor: Prevents adding transformations in panels with alerts. #27706, @hugohaggmark
- Stat panel: Fix problem where string values where always green. #27656, @peterholmberg
7.2.0-beta2 (2020-09-17)
Features / Enhancements
- API: Enrich add user to org endpoints with user ID in the response. #27551, @AgnesToulet
- API: Enrich responses and improve error handling for alerting API endpoints. #27550, @AgnesToulet
- Auth: Replace maximum inactive/lifetime settings of days to duration. #27150, @Hansuuuuuuuuuu
- Dashboard: Support configuring default timezone via config file. #27404, @woutersmeenk
- Elasticsearch: Add support for date_nanos type. #27538, @Elfo404
- Elasticsearch: Allow fields starting with underscore. #27520, @Elfo404
- Elasticsearch: Increase maximum geohash aggregation precision to 12. #27539, @Elfo404
- Field config: Add support for paths in default field config setup. #27570, @dprokop
- Postgres: Support request cancellation properly (Uses new backendSrv.fetch Observable request API). #27478, @hugohaggmark
- Provisioning: Remove provisioned dashboards without parental reader. #26143, @nabokihms
- Variables: Limit rendering of options in dropdown to improve search performance. #27525, @guoqn
- Units: Binary-prefixed data rates. #27022, @Berbe
Bug Fixes
- Admin: Fixes close('X') button layout issue in API keys page. #27625, @nikasvan
- Alerting: Fix integration key so it's stored encrypted for Pagerduty notifier. #27484, @marefr
- Annotations: Fixes issue with showing error notice for cancelled annotation queries. #27557, @torkelo
- Azure/Insights: Fix handling of legacy dimension values. #27513, @marefr
- DataLinks: Respects display name and adds field quoting. #27616, @hugohaggmark
- ImageRendering: Fix rendering panel using shared query in png, PDF reports and embedded scenarios. #27628, @torkelo
- InputControl: Fixed using InputControl in unit tests from plugins. #27615, @torkelo
- NewsPanel: Fixed XSS issue when rendering rss links. #27612, @torkelo
- Transforms: Fix for issue in labels to fields transform where the new option value field name did not work properly. #27501, @torkelo
7.2.0-beta1 (2020-09-09)
Breaking changes
- Units: The date time units
YYYY-MM-DD HH:mm:ss
andMM/DD/YYYY h:mm:ss a
have been renamed toDatetime ISO
andDatetime US
respectively. This is no breaking change just a visual name change (the unit id is unchanged). The unit behavior is different however, it no longer hides the date part if the date is today. If you want this old behavior you need to change unit toDatetime ISO (No date if today)
orDatetime US (No date if today)
.
Features / Enhancements
- API: Return ID of the deleted resource for dashboard, datasource and folder DELETE endpoints. #26691, @AgnesToulet
- API: Support paging in the admin orgs list API. #26932, @benjaminjb
- API: return resource ID for auth key creation, folder permissions update and user invite complete endpoints. #27419, @AgnesToulet
- Alerting: Add toggle to disable alert threshold visibility in graph panel. #25705, @jpalpant
- Alerting: Adds support for overriding 'dedup_key' via alert tags when using the Pagerduty notifier. #27356, @alavrovinfb
- Alerting: Change alert rule link in alert notifications to open panel in view mode. #27378, @robertlestak
- Alerting: Support storing sensitive notifier settings securely/encrypted. #25114, @mtanda
- Annotation: Add clean up job for old annotations. #26156, @bergquist
- AzureMonitor: select plugin route from cloudname. #27273, @kylebrandt
- BackendSrv: Uses credentials, deprecates withCredentials & defaults to same-origin. #27385, @hugohaggmark
- Chore: Upgrade to Go 1.15.1. #27326, @aknuds1
- CloudWatch: Update list of AmazonMQ metrics and dimensions. #27332, @szymonpk
- Cloudwatch: Add Support for external ID in assume role. #23685, @gdhananjay
- Cloudwatch: Add af-south-1 region. #26513, @ruanbekker
- Dashboard: Add Duplicate dashboard links button to links list. #26600, @Hmerac
- Dashboard: Adds folder name and link to the dashboard overview on the homepage. #27214, @michelengelen
- Database: Set 0640 permissions on SQLite database file. #26339, @aknuds1
- DateFormats: Default ISO & US formats never omit date part even if date is today (breaking change). #27300, @torkelo
- Explore/Loki: POC for toggling parsed fields in the list view. #26178, @fredr
- Explore: Sort order of log results. #26669, @ivanahuckova
- Explore: Transform prometheus query to elasticsearch query. #23670, @melchiormoulin
- Field overrides: Overrides UI improvements. #27073, @dprokop
- Heatmap: Reduce the aggressiveness of hiding ticks/labels when panel is small. #27016, @lrstanley
- Image Store: Add support for using signed URLs when uploading images to GCS. #26840, @marcosrmendezthd
- Image Store: Fallback to application default credentials when no key file is specified for GCS. #25948, @Eraac
- InfluxDB/Flux: Increase series limit for Flux datasource. #26746, @sneddrs
- InfluxDB: exclude result and table column from Flux table results. #27081, @ryantxu
- InfluxDB: return a table rather than an error when timeseries is missing time. #27320, @ryantxu
- Instrumentation: Adds instrumentation for outgoing datasource requests. #27427, @bergquist
- Loki: Add scopedVars support in legend formatting for repeated variables. #27046, @ivanahuckova
- Loki: Re-introduce running of instant queries. #27213, @ivanahuckova
- Loki: Support request cancellation properly (Uses new backendSrv.fetch Observable request API). #27265, @hugohaggmark
- MixedDatasource: Shows retrieved data even if a data source fails. #27024, @hugohaggmark
- OAuth: Handle DEFLATE compressed payloads in JWT for Generic OAuth. #26969, @billoley
- OAuth: Increase state cookie max age. #27258, @bergquist
- Orgs: Remove org deprecation notice as we have decided to preserve multi-org support. #26853, @torkelo
- PanelInspector: Adds a Raw display mode but defaults to Formatted display mode. #27306, @hugohaggmark
- Postgres: Support Unix socket for host. #25778, @aknuds1
- Prometheus: Add scopedVars support in legend formatting for repeated variables. #27047, @ivanahuckova
- Prometheus: Support request cancellation properly (Uses new backendSrv.fetch Observable request API). #27090, @hugohaggmark
- Prometheus: add $__rate_interval variable. #26937, @zoltanbedi
- Provisioning: Validate that datasource access field equals to direct or proxy. #26440, @nabokihms
- RangeUtils: migrate logic from kbn to grafana/data. #27347, @ryantxu
- Table: Adds column filtering. #27225, @hugohaggmark
- Table: Support showing numbers in strings with full original value. #27097, @torkelo
- TablePanel: Add support for basic gauge as a cell display mode. #26595, @jutley
- Transformations: Group by and aggregate on multiple fields. #25498, @Totalus
- Transformations: enable transformations reorder. #27197, @dprokop
- Units: Allow re-scaling nanoseconds up to days. #26458, @kaydelaney
- grafana-cli: Add ability to read password from stdin to reset admin password. #26016, @nabokihms
- Reporting: add branding options. (Enterprise)
- Reporting: allow setting custom timerange. (Enterprise)
Bug Fixes
- Auth: Fix signup workflow and UI when verify email is enabled. #26263, @KamalGalrani
- AzureMonitor: Change filterDimensions property to match what is stored. #27459, @kylebrandt
- Cloud Monitoring: Fix missing title and text from cloud monitoring annotations. #27187, @atotto
- CloudWatch: Fix error message returned from tag:GetResources. #27205, @kichik
- Cloudwatch: Update AWS/MediaConnect metrics and dimensions. #26093, @papagian
- DashboardSettings: Fixes auto refresh crash with space in interval. #27438, @hugohaggmark
- Elasticsearch: Fix localized dates in index pattern. #27351, @domasx2
- Elasticsearch: Fix using multiple bucket script aggregations when only grouping by terms. #24064, @MarceloNunesAlves
- Explore: Expand template variables when redirecting from dashboard panel. #27354, @Elfo404
- FolderPicker: Fixes not being able to create new folder. #27092, @hugohaggmark
- Graphite: Show and hide query editor function popup on click. #26923, @ivanahuckova
- InfluxDB/Flux: Fix for Alerts on InfluxDB Flux datasources only use the first series. #27463, @ryantxu
- Loki: Send current time range when fetching labels and values. #26622, @ivanahuckova
- Prometheus: Add backslash escaping for template variables. #26205, @ivanahuckova
- Prometheus: Correctly format multi values variables in queries. #26896, @ivanahuckova
- Provisioning: Add validation for missing organisations in datasource, dashboard, and notifier configurations. #26601, @nabokihms
- Rendering: Fixed issue rendering text panel to image via image renderer plugin. #27083, @torkelo
- Stats: Use more efficient SQL and add timeouts. #27390, @sakjur
- Table: Support date unit formats on string values. #26879, @torkelo
- Thresholds: Fixed issue with thresholds in overrides not working after save and reload. #27297, @torkelo
- Transformations: Fixes outer join transformation when frames are missing field to join by. #27453, @hugohaggmark
- Transformations: merge will properly handle empty frames and frames with multiple rows where values are overlapping. #27362, @mckn
- grafana-cli: Fix installing of plugins missing directory entries in zip. #26945, @adrianlzt
7.1.5 (2020-08-25)
Features / Enhancements
Bug Fixes
- Alerting: remove LongToWide call in alerting. #27140, @kylebrandt
- AzureMonitor: fix panic introduced in 7.1.4 when unit was unspecified and alias was used. #27113, @kylebrandt
- Variables: Fixes issue with All variable not being resolved. #27151, @hugohaggmark
7.1.4 (2020-08-20)
Features / Enhancements
- Azure App Insights Alert error - tsdb.HandleRequest() failed to convert dataframe "" to tsdb.TimeSeriesSlice. #26897
- AzureMonitor: map more units. #26990, @kylebrandt
- Azuremonitor: do not set unit if literal "Unspecified". #26839, @kylebrandt
- Dataframe/Alerting: to tsdb.TimeSeriesSlice - accept "empty" time series. #26903, @kylebrandt
- Field overrides: Filter by field name using regex. #27070, @dprokop
- Overrides: expose byType matcher UI. #27056, @ryantxu
Bug Fixes
- CloudWatch: Add FreeStorageCapacity metric. #26503, @waqark3389
- CloudWatch: Fix sorting of metrics results. #26835, @aknuds1
- Cloudwatch: Add FileSystemId as a dimension key for the AWS/FSx namespace. #26662, @waqark3389
- InfluxDB: Update Flux placeholder URL with respect to latest Go client. #27086, @aknuds1
- InfluxDB: Upgrade Go client, use data source HTTP client. #27012, @aknuds1
- Proxy: Fix updating refresh token in OAuth pass-thru. #26885, @seanlaff
- Templating: Fixes so texts show in picker not the values. #27002, @hugohaggmark
7.1.3 (2020-08-06)
Bug Fixes
- Templating: Templating: Fix undefined result when using raw interpolation format #26818
7.1.2 (2020-08-05)
Features / Enhancements
- Explore: Don't run queries on datasource change. #26033, @davkal
- TemplateSrv: Formatting options for ${**from} and ${**to}, unix seconds epoch, ISO 8601/RFC 3339. #26466, @torkelo
- Toolkit/Plugin: throw an Error instead of a string. #26618, @leventebalogh
Bug Fixes
- Dashbard: Fix refresh interval settings to allow setting it to equal min_refresh_interval. #26615, @torkelo
- Flux: Ensure connections to InfluxDB are closed. #26735, @sneddrs
- Query history: Fix search filtering if null value. #26768, @ivanahuckova
- QueryOptions: Fix not being able to change cache timeout setting. #26614, @torkelo
- StatPanel: Fix stat panel display name not showing when explicitly set. #26616, @torkelo
- Templating: Fixed access to system variables like **dashboard, **user & __org during dashboard load & variable queries. #26637, @torkelo
- TextPanel: Fix content overflowing panel boundaries. #26612, @torkelo
- TimePicker: Fix position and responsive behavior. #26570, @torkelo
- TimePicker: Fixes app crash when changing custom range to nothing. #26775, @hugohaggmark
- Units: Remove duplicate SI prefix from mSv and µSv. #26598, @tofurky
7.1.1 (2020-07-24)
Features / Enhancements
- Graph: Support setting field unit & override data source (automatic) unit. #26529, @ryantxu
- Tracing: Add errorIconColor prop to TraceSpanData. #26509, @zoltanbedi
Bug Fixes
- Branding: Fix login app title. #26425, @benrubson
- Bring back scripts evaluation in TextPanel. #26413, @dprokop
- Dashboard: Fix empty panels after scrolling on Safari/iOS. #26495, @torkelo
- Dashboard: Fix for viewer can enter panel edit mode by modifying url (but cannot not save anything). #26556, @torkelo
- Elasticsearch: Fix displaying of bucket script input. #26552, @ivanahuckova
- Explore: parse queryType from explore url. #26349, @zoltanbedi
- Tracing: upstream fix for hovering on log lines. #26426, @zoltanbedi
7.1.0 (2020-07-16)
Features / Enhancements
- Backend: Use latest go plugin sdk (0.74.0) to sort wide frames. #26207, @kylebrandt
- Elasticsearch: Create Raw Doc metric to render raw JSON docs in columns in the new table panel. #26233, @ivanahuckova
- PluginsListPage: More plugins button should open in new window. #26305, @zoltanbedi
Bug Fixes
- AdminUsers: Reset page to zero on query change. #26293, @hshoff
- CloudWatch Logs: Fixes grouping of results by numeric field. #26298, @kaydelaney
- DashboardLinks: Do not over-query search endpoint. #26311, @torkelo
- Docker: Make sure to create default plugin provisioning directory. #26017, @marefr
- Elastic: Fix error "e.buckets[Symbol.iterator] is not a function" when using filter. #26217, @ivanahuckova
- Explore/Loki: Escape \ in labels for show context queries. #26116, @ivanahuckova
- Jaeger/Zipkin: URL-encode service names and trace ids for API calls. #26115, @ivanahuckova
- Prometheus: Fix prom links in mixed mode. #26244, @zoltanbedi
- Provisioning: Fix bug when provision app plugins using Enterprise edition. #26340, @marefr
- Sign In Use correct url for the Sign In button. #26239, @dprokop
7.1.0-beta3 (2020-07-13)
Features / Enhancements
- Explore: Unification of logs/metrics/traces user interface. #25890, @aocenas
- Graph panel: Move Stacking and null values before Hover tooltip options (#26035). #26037, @jsoref
- LDAP: Get all groups for all group base search DNs. #25825, @Annegies
- Table: JSON Cell should try to convert strings to JSON. #26024, @ryantxu
- Transform: adding missing "table"-transform and "series to rows"-transform to Grafana v7-transforms. #26042, @mckn
Bug Fixes
- AdminUsersTable: Fix width issues. #26019, @tskarhed
- BarGauge: Fix space bug in single series mode. #26176, @torkelo
- Dashboard: Allow removing min refresh interval from refresh options (5s or other). #26150, @torkelo
- DataLinks: Fixed interpolation of repeated variables used in Graph data links. #26147, @torkelo
- Do not break dashboard settings UI when time intervals end with trailing comma. #26126, @dprokop
- Elastic: Display correct log message based on selected log field. #26020, @ivanahuckova
- InfluxDB: Fixed new group by dropdown now showing after first use. #26031, @torkelo
- StatPanel: Fixes issue with name showing for single series / field results. #26070, @torkelo
- Templating: Fix recursive loop of template variable queries when changing ad-hoc-variable. #26191, @torkelo
7.0.6 (2020-07-09)
Bug fixes
- Templating: Fixed recursive queries triggered when switching dashboard settings view #26137
- Templating: Fix recursive loop of template variable queries when changing ad-hoc-variable #26191
- Auth: Add support for forcing authentication in anonymous mode and modify SignIn to use it instead of redirect #25567
- Auth: Fix POST request failures with anonymous access #26049
7.1.0-beta 2 (2020-07-02)
Features / Enhancements
Bug Fixes
- Explore: Fix href when jumping from Explore to Add data source. #25991, @ivanahuckova
- Fix: Build-in plugins failed to load in windows. #25982, @papagian
7.1.0-beta 1 (2020-07-01)
Features / Enhancements
- Alerting: Adds support for multiple URLs in Alertmanager notifier. #24196, @alistarle
- Alerting: updating the victorops alerter to handle the no_data alert type. #23761, @rrusso1982
- Azure: Application Insights metrics to Frame and support multiple query dimensions. #25849, @kylebrandt
- Azure: Multiple dimension support for Azure Monitor Service. #25947, @kylebrandt
- Azure: Split Insights into two services. #25410, @kylebrandt
- Backend plugins: Refactor to allow shared contract between core and external backend plugins. #25472, @marefr
- Branding: Use AppTitle as document title. #25271, @benrubson
- Chore: upgrade to typescript 3.9.3. #25154, @ryantxu
- CloudWatch: Add Route53 DNSQueries metric and dimension. #25125, @erkolson
- CloudWatch: Added AWS DataSync metrics and dimensions. #25054, @ilyastoli
- CloudWatch: Added AWS MediaStore metrics and dimensions. #25492, @ilyastoli
- CloudWatch: Added AWS RoboMaker metrics and dimensions. #25090, @ilyastoli
- CloudWatch: Added AWS SDKMetrics metrics and dimensions. #25150, @ilyastoli
- CloudWatch: Added AWS ServiceCatalog metrics and dimensions. #25812, @ilyastoli
- CloudWatch: Added AWS WAFV2 metrics. #24048, @mikkokupsu
- Dashboards: Make path to default dashboard configurable. #25595, @bergquist
- Elastic: Internal data links. #25942, @aocenas
- Elasticsearch: Add support for template variable in date histogram min_doc_count. #21064, @faxm0dem
- Elasticsearch: Adds cumulative sum aggregation support. #24820, @retzkek
- Elasticsearch: Support using a variable for histogram and terms min doc count. #25392, @marefr
- Explore/Loki: Show results of instant queries only in table and time series only in graph. #25845, @ivanahuckova
- Explore: Remove legend formatting when switching from panel to Explore. #25848, @ivanahuckova
- Footer: Add back footer to login page. #25656, @torkelo
- ForgottenPassword: Move view to login screen. #25366, @tskarhed
- Gauge: Hide orientation option in panel options. #25511, @torkelo
- Grafana-UI: Add FileUpload. #25835, @Clarity-89
- GraphPanel: Make legend values clickable series toggles. #25581, @hshoff
- Influx: Support flux in the influx datasource. #25308, @ryantxu
- Migration: Select org. #24739, @tskarhed
- Migration: Settings forms. #24741, @tskarhed
- Panel Inspect: use Monaco editor for json display. #25251, @ryantxu
- Panel edit: Clicking twice on a visualization closes the VizPicker. #25739, @peterholmberg
- PanelInspect: Update UI for Data display options. #25478, @tskarhed
- Plugins: move jaeger trace type to grafana data. #25403, @zoltanbedi
- Provisioning: Adds support for enabling app plugins. #25649, @marefr
- Provisioning: Use folders structure from the file system to create desired folders in dashboard provisioning. #23117, @nabokihms
- Query history: Add keyboard shortcut support for commenting. #24736, @ivanahuckova
- Query history: Add search for query history and starred queries. #25747, @ivanahuckova
- Rich history: Updates for default settings and starred queries deletion. #25732, @ivanahuckova
- Search: support URL query params. #25541, @Clarity-89
- Stackdriver: Deep linking from Grafana panels to the Metrics Explorer. #25858, @papagian
- Stackdriver: Rename Stackdriver to Google Cloud Monitoring. #25807, @papagian
- StatPanel: Option showing name instead of value and more. #25676, @torkelo
- Switch: Deprecate checked prop in favor of value. #25862, @tskarhed
- Tab: Make active tab clickable and add hyperlink functionality. #25546, @tskarhed
- Table: Adds adhoc filtering. #25467, @hugohaggmark
- Teams: Add index for permission check. #25736, @sakjur
- Template variable filters: Hide overflowing text. #25801, @tskarhed
- Templating: Add bult in __user {name, id, login, email} variable to templating system. #23378, @aidanmountford
- Templating: removes old Angular variable system and featureToggle. #24779, @hugohaggmark
- TextPanel: Adds proper editor for markdown and html. #25618, @hugohaggmark
- TextPanel: Removes Angular Text Panel. #25504, @hugohaggmark
- TextPanel: Removes text mode. #25589, @hugohaggmark
- TimeZone: unify the time zone pickers to one that can rule them all. #24803, @mckn
- Transform: added merge transform that will merge multiple series/tables into one table. #25490, @mckn
- Units: add base-pascals and rotational speed units. #22879, @sakjur
- Units: add new unit for duration, it is optimized for displaying days, hours, minutes and seconds. #24175, @pabigot
- Variables: enables cancel for slow query variables queries. #24430, @hugohaggmark
- switches default value for security settings. #25175, @bergquist
- Reporting: add monthly schedule option. (Enterprise)
Bug Fixes
- DatatLinks: Fix open in new tab state mismatch. #25826, @tskarhed
- Explore/Loki: Fix field type in table for instant queries. #25907, @ivanahuckova
- Explore/Loki: Fix scrolling of context when leaving context window. #25838, @ivanahuckova
- Explore/SQL data sources: Show correctly interpolated queries. #25110, @ivanahuckova
- Explore/Tooltip: Fix label value in tooltip. #25940, @ivanahuckova
- Explore: Fix query editors on mobile. #25148, @ivanahuckova
- Explore: adds an ability to exit log row context with ESC key. #24205, @Estrax
- Fix: Value mappings match against string values. #25929, @peterholmberg
- GraphPanel: Fix annotations overflowing panels. #25606, @hshoff
- Instrumentation: Fix setting Jaeger tracing address through Grafana config. #25768, @marefr
- Prometheus: Fix performance issue in processing of histogram labels. #25813, @bsherrod
- Provisioning: Makes file the default dashboard provisioner type. #24856, @bergquist
- Templating: fixes variables not being interpolated after dashboard refresh. #25698, @hugohaggmark
- Units: Custom unit suffix and docs for custom units. #25710, @torkelo
- ValueFormats: Fix byte-format data rates. #25424, @mueslo
- Variables: Fixes maximum call stack bug for empty value. #25503, @hugohaggmark
Security fixes
- Graph: Fix XSS vulnerability with series overrides #25401. Thanks to Rotem Reiss for reporting this.
7.0.5 (2020-06-30)
Bug Fixes
- Datasource: Make sure data proxy timeout applies to HTTP client. #25865, @marefr
- Graphite: Fix tag value dropdowns not showing in query editor. #25889, @torkelo
7.0.4 (2020-06-25)
Features / Enhancements
- Dashboard: Redirects for old (pre 7.0) edit & view panel urls. #25653, @torkelo
- Stackdriver: Use default project name if project name isn't set on the query. #25413, @alexashley
- TablePanel: Sort numbers correctly. #25421, @speakyourcode
- Update Bitcoin currency to use proper symbol, add mBTC and μBTC. #24182, @overcookedpanda
- Variables: Links that update variables on current dashboard does not trigger refresh / update. #25192, @torkelo
Bug Fixes
- Azure Monitor: fixes undefined is not iterable. #25586, @hugohaggmark
- Datasources: Handle URL parsing error. #25742, @marefr
- InfluxDB: Fix invalid memory address or nil pointer dereference when schema is missing in URL. #25565, @marefr
- Security: Use Header.Set and Header.Del for X-Grafana-User header. #25495, @beardhatcode
- Stackdriver: Fix creating Label Values datasource query variable. #25633, @papagian
- Table: Support custom date formats via custom unit. #25195, @torkelo
- Templating: Fixes query variable with ${__searchFilter} value selection not causing refresh & url update. #25770, @torkelo
7.0.3 (2020-06-03)
Features / Enhancements
- Stats: include all fields. #24829, @ryantxu
- Variables: change VariableEditorList row action Icon to IconButton. #25217, @hshoff
Bug Fixes
- Cloudwatch: Fix dimensions of DDoSProtection. #25317, @papagian
- Configuration: Fix env var override of sections containing hyphen. #25178, @marefr
- Dashboard: Get panels in collapsed rows. #25079, @peterholmberg
- Do not show alerts tab when alerting is disabled. #25285, @dprokop
- Jaeger: fixes cascader option label duration value. #25129, @Estrax
- Transformations: Fixed Transform tab crash & no update after adding first transform. #25152, @torkelo
7.0.2 (2020-06-03)
- Security: Urgent security patch release. Please read more in our blog
7.0.1 (2020-05-26)
Features / Enhancements
- Datasource/CloudWatch: Makes CloudWatch Logs query history more readable. #24795, @kaydelaney
- Download CSV: Add date and time formatting. #24992, @ryantxu
- Table: Make last cell value visible when right aligned. #24921, @peterholmberg
- TablePanel: Adding sort order persistence. #24705, @torkelo
- Transformations: Display correct field name when using reduce transformation. #25068, @peterholmberg
- Transformations: Allow custom number input for binary operations. #24752, @ryantxu
Bug Fixes
- Cloudwatch: Fix AWS WAF and AWS DDoSProtection metrics. #25071, @papagian
- Dashboard/Links: Fixes dashboard links by tags not working. #24773, @KamalGalrani
- Dashboard/Links: Fixes open in new window for dashboard link. #24772, @KamalGalrani
- Dashboard/Links: Variables are resolved and limits to 100. #25076, @hugohaggmark
- DataLinks: Bring back variables interpolation in title. #24970, @dprokop
- Datasource/CloudWatch: Field suggestions no longer limited to prefix-only. #24855, @kaydelaney
- Explore/Table: Keep existing field types if possible. #24944, @kaydelaney
- Explore: Fix wrap lines toggle for results of queries with filter expression. #24915, @ivanahuckova
- Explore: fix undo in query editor. #24797, @zoltanbedi
- Explore: fix word break in type head info. #25014, @zoltanbedi
- Graph: Legend decimals now work as expected. #24931, @torkelo
- LoginPage: Fix hover color for service buttons. #25009, @tskarhed
- LogsPanel: Fix scrollbar. #24850, @ivanahuckova
- MoveDashboard: Fix for moving dashboard caused all variables to be lost. #25005, @torkelo
- Organize transformer: Use display name in field order comparer. #24984, @dprokop
- Panel: shows correct panel menu items in view mode. #24912, @hugohaggmark
- PanelEditor Fix missing labels and description if there is only single option in category. #24905, @dprokop
- PanelEditor: Overrides name matcher still show all original field names even after Field default display name is specified. #24933, @torkelo
- PanelInspector: Makes sure Data display options are visible. #24902, @hugohaggmark
- PanelInspector: Hides unsupported data display options for Panel type. #24918, @hugohaggmark
- PanelMenu: Make menu disappear on button press. #25015, @tskarhed
- Postgres: Fix add button. #25087, @phemmer
- Prometheus: Fix recording rules expansion. #24977, @ivanahuckova
- Stackdriver: Fix creating Service Level Objectives (SLO) datasource query variable. #25023, @papagian
7.0.0 (2020-05-18)
Breaking changes
- Removed PhantomJS: PhantomJS was deprecated in Grafana v6.4 and starting from Grafana v7.0.0, all PhantomJS support has been removed. This means that Grafana no longer ships with a built-in image renderer, and we advise you to install the Grafana Image Renderer plugin.
- Dashboard: A global minimum dashboard refresh interval is now enforced and defaults to 5 seconds.
- 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 setMax data points
to 10 Grafana will dynamically set$__interval
by dividing the current time range by 10. - Datasource/Loki: Support for deprecated Loki endpoints has been removed.
- Backend plugins: Grafana now requires backend plugins to be signed, otherwise Grafana will not load/start them. This is an additional security measure to make sure backend plugin binaries and files haven't been tampered with. Refer to Upgrade Grafana for more information.
- Docker: Our Ubuntu based images have been upgraded to Ubuntu 20.04 LTS.
- @grafana/ui: Forms migration notice, see @grafana/ui changelog
- @grafana/ui: Select API change for creating custom values, see @grafana/ui changelog
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
- The unofficial first version of backend plugins together with usage of grafana/grafana-plugin-model is now deprecated and support for that will be removed in a future release. Please refer to backend plugins documentation for information about the new officially supported backend plugins.
7.0 Feature highlights
Data transformations
Not just visualizing data from anywhere, in Grafana 7 you can transform it too. By chaining a simple set of point and click transformations users will be able join, pivot, filter, re-name and calculate to get the results they need. Perfect for operations across queries or data sources missing essential data transformations.
Data transformations will provide a common set of data operations that were previously duplicated as custom features in many panels or data sources but are now an integral part of the Grafana data processing pipeline and something all data sources and panels can take advantage of.
In Grafana 7.0 we have a shared data model for both time series and table data that we call DataFrame. A DataFrame is like a table with columns but we refer to columns as fields. A time series is simply a DataFrame with two fields (time & value).
Transformations shipping in 7.0
- Reduce: Reduce many rows / data points to a single value
- Filter by name: Filter fields by name or regex
- Filter by refId: Filter by query letter
- Organize fields: Reorder, rename and hide fields.
- Labels to fields: Transform time series with labels into a table where labels get's converted to fields and the result is joined by time
- Join by field: Join many result sets (series) together using for example the time field. Useful for transforming time series into a table with a shared time column and where each series get it's own column.
- Add field from calculation: This is a powerful transformation that allows you perform many different types of math operations and add the result as a new field. Examples:
- Calculate the difference between two series or fields and add the result to a new field
- Multiply one field with another another and add the result to a new field
New panel edit experience
In Grafana 7 we have redesigned the UI for editing panels. The first visible change is that we have separated panel display settings to a right hand side pane that you can collapse or expand depending on what your focus is on. With this change we are also introducing our new unified option model & UI for defining data configuration and display options. This unified data configuration system powers a consistent UI for setting data options across visualizations as well as making all data display settings data driven and overridable.
This new option architecture and UI will make all panels have a consistent set of options and behaviors for attributes like unit
, min
, max
, thresholds
, links
, decimals
. Not only that but all these options will share a consistent UI for specifying override rules and is extensible for custom panel specific options.
We have yet to migrate all core panels to this new architecture so in 7.0 there will sadly be some big inconsistencies in the UI between panels. Hopefully this will be fixed soon in future releases as we update all the core panels and help the community update the community panel plugins.
New table panel
Grafana 7.0 comes with a new table panel (and deprecates the old one). This new table panel supports horizontal scrolling and column resize. Paired with the new Organize fields
transformation detailed above you can reorder, hide & rename columns. This new panel also supports new cell display modes, like showing a bar gauge inside a cell.
Panel inspector
The panel inspector is a feature that every panel will support, including internal as well as external community plugins. In this new panel inspector, you can view the raw data in a table format, apply some pre-defined transformations, and download as CSV. You can find the Inspect setting in the panel menu. Use the keyboard shortcut i
when hovering over a panel to get the panel inspector to appear.
Improved time zone support
Starting in version 7.0, you can override the time zone used to display date and time values in a dashboard.
With this feature, you can specify the local time zone of the service or system that you are monitoring. This can be helpful when monitoring a system or service that operates across several time zones.
We have also extended the time zone options so you can select any of the standard ISO 8601 time zones.
Features / Enhancements
- Azure Monitor: Deep linking from Log Analytic queries to the Azure Portal. #24417, @daniellee
- Backend plugins: Log deprecation warning when using the unofficial first version of backend plugins. #24675, @marefr
- CloudWatch/Logs: Add data links to CloudWatch logs for deep linking to AWS. #24334, @kaydelaney
- CloudWatch: Unify look of query mode select between dashboard and explore. #24648, @aocenas
- Docker: Adds tzdata package to Ubuntu image. #24422, @xlson
- Editor: New line on Enter, run query on Shift+Enter. #24654, @davkal
- Loki: Allow multiple derived fields with the same name. #24437, @aocenas
- Orgs: Add future deprecation notice. #24502, @torkelo
Bug Fixes
- @grafana/toolkit: Use process.cwd() instead of PWD to get directory. #24677, @zoltanbedi
- Admin: Makes long settings values line break in settings page. #24559, @hugohaggmark
- Azure Monitor: Fix failure when using table join in Log Analytics queries. #24528, @daniellee
- CloudWatch/Logs: Add error message when log groups are not selected. #24361, @aocenas
- CloudWatch/Logs: Allows a user to search for log groups that aren't there initially. #24695, @kaydelaney
- CloudWatch/Logs: Correctly interpolate variables in logs queries. #24619, @kaydelaney
- CloudWatch/Logs: Fix autocomplete after by keyword. #24644, @aocenas
- CloudWatch/Logs: Fix field autocomplete suggestions inside function. #24406, @aocenas
- CloudWatch/Logs: Fix fields not being refetched when log group changed. #24529, @aocenas
- CloudWatch/Logs: Fix panic on multiple aggregations queries. #24683, @aocenas
- CloudWatch/Logs: Fix query error when results were sparse. #24702, @aocenas
- CloudWatch/Logs: Fix suggestion for already inserted field. #24581, @aocenas
- CloudWatch/Logs: Fix suggestions of fields after comma. #24520, @aocenas
- CloudWatch/Logs: Fixes various autocomplete issues. #24583, @kaydelaney
- CloudWatch/Logs: Handle errors that are not awserr.Error instances. #24641, @aknuds1
- CloudWatch/Logs: Handle invalidation of log groups when switching data source. #24703, @kaydelaney
- CloudWatch/Logs: Make stats hint show consistently. #24392, @aocenas
- CloudWatch/Logs: Prevents hidden data frame fields from displaying in tables. #24580, @kaydelaney
- CloudWatch/Logs: Results of stats queries are now grouped. #24396, @kaydelaney
- CloudWatch/Logs: Usability improvements. #24447, @kaydelaney
- Dashboard: Allow editing provisioned dashboard JSON and add confirmation when JSON is copied to dashboard. #24680, @dprokop
- Dashboard: Fix for strange "dashboard not found" errors when opening links in dashboard settings. #24416, @torkelo
- Dashboard: Fix so default data source is selected when data source can't be found in panel editor. #24526, @mckn
- Dashboard: Fixed issue changing a panel from transparent back to normal in panel editor. #24483, @torkelo
- Dashboard: Make header names reflect the field name when exporting to CSV file from the panel inspector. #24624, @peterholmberg
- Dashboard: Make sure side pane is displayed with tabs by default in panel editor. #24636, @dprokop
- Data source: Fix query/annotation help content formatting. #24687, @AgnesToulet
- Data source: Fixes async mount errors. #24579, @Estrax
- Data source: Fixes saving a data source without failure when URL doesn't specify a protocol. #24497, @aknuds1
- Explore/Prometheus: Show results of instant queries only in table. #24508, @ivanahuckova
- Explore: Fix rendering of react query editors. #24593, @ivanahuckova
- Explore: Fixes loading more logs in logs context view. #24135, @Estrax
- Graphite: Fix schema and dedupe strategy in rollup indicators for Metrictank queries. #24685, @torkelo
- Graphite: Makes query annotations work again. #24556, @hugohaggmark
- Logs: Clicking "Load more" from context overlay doesn't expand log row. #24299, @kaydelaney
- Logs: Fix total bytes process calculation. #24691, @davkal
- Org/user/team preferences: Fixes so UI Theme can be set back to Default. #24628, @AgnesToulet
- Plugins: Fix manifest validation. #24573, @aknuds1
- Provisioning: Use proxy as default access mode in provisioning. #24669, @bergquist
- Search: Fix select item when pressing enter and Grafana is served using a sub path. #24634, @tskarhed
- Search: Save folder expanded state. #24496, @Clarity-89
- Security: Tag value sanitization fix in OpenTSDB data source. #24539, @rotemreiss
- Table: Do not include angular options in options when switching from angular panel. #24684, @torkelo
- Table: Fixed persisting column resize for time series fields. #24505, @torkelo
- Table: Fixes Cannot read property subRows of null. #24578, @hugohaggmark
- Time picker: Fixed so you can enter a relative range in the time picker without being converted to absolute range. #24534, @mckn
- Transformations: Make transform dropdowns not cropped. #24615, @dprokop
- Transformations: Sort order should be preserved as entered by user when using the reduce transformation. #24494, @hugohaggmark
- Units: Adds scale symbol for currencies with suffixed symbol. #24678, @hugohaggmark
- Variables: Fixes filtering options with more than 1000 entries. #24614, @hugohaggmark
- Variables: Fixes so Textbox variables read value from url. #24623, @hugohaggmark
- Zipkin: Fix error when span contains remoteEndpoint. #24524, @aocenas
- SAML: Switch from email to login for user login attribute mapping (Enterprise)
7.0.0-beta3 (2020-05-08)
Features / Enhancements
- Docker: Upgrade to Alpine 3.11. #24056, @aknuds1
- Forms: Remove Forms namespace [BREAKING]. Will cause all
Forms
imports to stop working. See migration guide in @grafana/ui changelog#24378, @tskarhed
Bug Fixes
- CloudWatch: Fix error with expression only query. #24362, @aocenas
- Elasticsearch: Fix building of raw document queries resulting in error Unknown BaseAggregationBuilder error. #24403, @ivanahuckova
- Prometheus: Fix for prometheus legend formats for instant time series queries. #24407, @torkelo
7.0.0-beta2 (2020-05-07)
Breaking changes
- Removed PhantomJS: PhantomJS was deprecated in Grafana v6.4 and starting from Grafana v7.0.0, all PhantomJS support has been removed. This means that Grafana no longer ships with a built-in image renderer, and we advise you to install the Grafana Image Renderer plugin.
- Docker: Our Ubuntu based images have been upgraded to Ubuntu 20.04 LTS.
- Dashboard: A global minimum dashboard refresh interval is now enforced and defaults to 5 seconds.
- @grafana/ui: Forms migration notice, see @grafana/ui changelog
- 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 setMax data points
to 10 Grafana will dynamically set$__interval
by dividing the current time range by 10. - Datasource/Loki: Support for deprecated Loki endpoints has been removed.
Deprecation warnings
- Scripted dashboards are 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
Features / Enhancements
- CloudWatch: Adds more examples to CloudWatch Logs cheatsheet. #24288, @kaydelaney
- Elasticsearch: Changes terms min_doc_count default from 1 to 0. #24204, @Estrax
- Login Page: New design. #23892, @torkelo
- Logs: Add log level Fatal. #24185, @davkal
- Loki: Show loki datasource stats in panel inspector. #24190, @davkal
- Migration: Dashboard links. #23553, @peterholmberg
- Plugins: Require signing of external back-end plugins. #24075, @aknuds1
- Prometheus: Add off switch for metric/label name lookup. #24034, @s-h-a-d-o-w
- Search: Bring back open search by clicking dashboard name. #24151, @torkelo
- Tracing: Header updates. #24153, @aocenas
- Transformations: Improve time series support. #23978, @ryantxu
Bug Fixes
- CloudWatch logs: Fix default region interpolation and reset log groups on region change. #24346, @aocenas
- Dashboard: Fix for folder picker menu not being visible outside modal when saving dashboard. #24296, @tskarhed
- Dashboard: Go to explore now works even after discarding dashboard changes. #24149, @torkelo
- Dashboard: Only show cache timeout option in panel edit if enabled in data source plugin json. #24095, @peterholmberg
- Dashboard: Propagate unhandled errors when saving dashboard. #24081, @peterholmberg
- Dashboard: Variable without a current value in json model causes crash on load. #24261, @torkelo
- DashboardManager: Disable editing if there are no folder permissions. #24237, @tskarhed
- DataLinks: Do not add empty links. #24088, @dprokop
- Explore/Loki: Removes old query syntax support for regex filter. #24281, @Estrax
- Explore: Fix showing of results of queries in table. #24018, @ivanahuckova
- Field options: show field name when title option config is empty. #24335, @dprokop
- Graph: Fixed graph tooltip getting stuck / not being cleared when leaving dashboard. #24162, @torkelo
- Graph: Fixed issue with x-axis labels showing "MM/DD" after viewing dashboard with pie chart. #24341, @mckn
- Jaeger: Fix how label is created in cascader. #24164, @aocenas
- Loki: Fix label matcher for log metrics queries. #24238, @ivanahuckova
- Panel inspect: hides Query tab for plugins without Query ability. #24216, @hugohaggmark
- Prometheus: Refresh query field metrics on data source change. #24116, @s-h-a-d-o-w
- Select: Fixes so component loses focus on selecting value or pressing outside of input. #24008, @mckn
- Stat/Gauge/BarGauge: Shows default cursor when missing links. #24284, @hugohaggmark
- Tracing: Fix view bounds after trace change. #23994, @aocenas
- Variables: Migrates old tags format for consistency. #24276, @hugohaggmark
- Reporting: Update report schedule as soon as a report is updated (Enterprise)
- White-labeling: Makes login title and subtitle configurable (Enterprise)
7.0.0-beta1 (2020-04-28)
Breaking changes
- Removed PhantomJS: PhantomJS was deprecated in Grafana v6.4 and starting from Grafana v7.0.0, all PhantomJS support has been removed. This means that Grafana no longer ships with a built-in image renderer, and we advise you to install the Grafana Image Renderer plugin.
- Docker: Our Ubuntu based images have been upgraded to Ubuntu 20.04 LTS.
- Dashboard: A global minimum dashboard refresh interval is now enforced and defaults to 5 seconds.
- @grafana/ui: Forms migration notice, see @grafana/ui changelog
- @grafana/ui: Select API change for creating custom values, see @grafana/ui changelog
- 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 setMax data points
to 10 Grafana will dynamically set$__interval
by dividing the current time range by 10. - Datasource/Loki: Support for deprecated Loki endpoints has been removed.
Features / Enhancements
- @grafana/ui: Create Icon component and replace icons. #23402, @ivanahuckova
- @grafana/ui: Create slider component. #22275, @ivanahuckova
- @grafana/ui: Remove ColorPalette component. #23592, @ivanahuckova
- AWS IAM: Support for AWS EKS ServiceAccount roles for CloudWatch and S3 image upload. #21594, @patstrom
- Alerting: Adds support for basic auth in Alertmanager notifier. #23231, @melchiormoulin
- Alerting: Enable Alert rule tags to override PagerDuty Severity setting. #22736, @AndrewBurian
- Alerting: Handle image renderer unavailable when edit notifiers. #23711, @marefr
- Alerting: Upload error image when image renderer unavailable. #23713, @marefr
- Alerting: support alerting on data.Frame (that can be time series). #22812, @kylebrandt
- Azure Monitor: Add alerting support - Port Azure log analytics to the backend. #23839, @daniellee
- Backend plugins: Support alerting in external data source plugins. #6841
- Build: Bundle plugins. #23787, @aknuds1
- Build: Remove usage of Go vendoring. #23796, @kylebrandt
- Build: Upgrade to Go 1.14. #23371, @aknuds1
- CloudWatch: Added AWS Chatbot metrics and dimensions. #23516, @ilyastoli
- CloudWatch: Added Cassandra namespace. #23299, @vikkyomkar
- CloudWatch: Added missing Cassandra metrics. #23467, @ilyastoli
- CloudWatch: Adds support for Cloudwatch Logs. #23566, @kaydelaney
- CloudWatch: Prefer webIdentity over EC2 role. #23452, @dnascimento
- CloudWatch: Prefer webIdentity over EC2 role also when assuming a role. #23807, @bruecktech
- Components: IconButton. #23510, @torkelo
- Dashboard: Add failsafe for slug generation. #23709, @sakjur
- Dashboard: Enforce minimum dashboard refresh interval to 5 seconds per default. #23929, @marefr
- Dashboard: Handle no renderer available in panel share dialog. #23856, @marefr
- Dashboard: Support additional variable format options (singlequote, doublequote, sqlstring). #21622, @xiaobeiyang
- Dashboard: Support data links via field overrides. #23590, @dprokop
- Data source: Max data points now used in interval calculation for all data sources. #23915, @torkelo
- Database: Order results in UserSearch by username/email. #23328, @aknuds1
- Database: Update the xorm dependency to v0.8.1. #22376, @novalagung
- Docker: Upgrade to Ubuntu 20.04 in Dockerfiles. #23852, @aknuds1
- Docs: Adding API reference documentation support for the packages libraries. #21931, @mckn
- Tracing: Add trace UI to show traces from tracing datasources and Jaeger datasource. #23047, @aocenas
- Frontend: Adding support to select preferred timezone for presentation of date and time values. #23586, @mckn
- Grafana Toolkit: Adds template for backend data source. #23864, @bergquist
- Graphite: Rollup indicator and custom meta data inspector. #22738, @torkelo
- HTTP API: Allow assigning a specific organization when creating a new user. #21775, @Sytten
- Image Rendering: New setting to control render request concurrency. #23950, @marefr
- Image Rendering: Remove PhantomJS support. #23460, @marefr
- Logs: Derived fields link design. #23695, @aocenas
- Metrics: Add image rendering metrics. #23827, @alexanderzobnin
- Metrics: Instrument backend plugin requests. #23346, @bergquist
- Migration: Add old Input to legacy namespace. #23286, @tskarhed
- Migration: Admin org edit page. #23866, @tskarhed
- Migration: Alerting - notifications list. #22548, @tskarhed
- Migration: Change password. #23623, @tskarhed
- Migration: Create org. #22542, @tskarhed
- Migration: Data/Panel link editor. #23778, @tskarhed
- Migration: Final components to LegacyForms. #23707, @tskarhed
- Migration: Layout Selector. #23790, @tskarhed
- Migration: Migrate admin/users. #22759, @mckn
- Migration: Migrates ad hoc variable type to react/redux. #22784, @mckn
- Migration: Move Switch from Forms namespace. #23386, @tskarhed
- Migration: Move last components from Forms namespace. #23556, @tskarhed
- Migration: Move old Switch to legacy namespace. #23357, @tskarhed
- Migration: New datasource. #23221, @tskarhed
- Migration: Org users page. #23372, @tskarhed
- Migration: Orgs list. #23821, @tskarhed
- Migration: Remove Button from Forms namespace. #23105, @tskarhed
- Migration: Teams and alert list. #23810, @tskarhed
- Migration: TextArea from Forms namespace. #23436, @tskarhed
- Migration: User edit. #23110, @tskarhed
- OAuth: Adds Okta provider. #22972, @alexanderzobnin
- OAuth: Introduce new setting for configuring max age of OAuth state cookie. #23195, @rtrompier
- Plugins: Add deprecation notice to setEditor method in PanelPlugin. #23895, @dprokop
- Plugins: Adds support for URL params in plugin routes. #23503, @daniellee
- Plugins: Fluent API for custom field config and panel options creation for PanelPlugin. #23070, @dprokop
- Plugins: Hide plugins page from viewers, and limit /api/plugins to only core plugins when called by viewer role. #21901, @dprokop
- Postgres: Add SSL support for datasource. #21341, @ryankurte
- Prometheus: Render missing labels in legend formats as an empty string. #22355, @Hixon10
- Provisioning: Allows specifying uid for datasource and use that in derived fields. #23585, @aocenas
- Provisioning: Validate that dashboard providers have unique names. #22898, @youshy
- Search: Replace search implementation. #23855, @sakjur
- Search: migrate dashboard search to react. #23274, @Clarity-89
- Server: Don't include trailing slash in cookie path when hosting Grafana in a sub path. #22265, @consideRatio
- Stackdriver: Support for SLO queries. #22917, @sunker
- Table: Add support for organizing fields/columns. #23135, @mckn
- Table: Improvements to column resizing, style and alignment. #23663, @torkelo
- Table: upgrades react-table to 7.0.0 and typings. #23247, @hugohaggmark
- Table: Handle column overflow and horizontal scrolling in table panel. #4157
- Tracing: Dark theme styling for TraceView. #23406, @aocenas
- Tracing: Zipkin datasource. #23829, @aocenas
- Transformations: Adds labels as fields transformer. #23703, @hugohaggmark
- Transformations: Improve UI and add some love to filter by name. #23751, @dprokop
- Transformations: calculate a new field based on the row values. #23675, @ryantxu
- Units: add (IEC) and (Metric) to bits and bytes. #23175, @flopp999
- Usagestats: Add usage stats about what type of data source is used in alerting. #23125, @bergquist
- delete old dashboard versions in multiple batches. #23348, @DanCech
- grafana/data: PanelTypeChangedHandler API update to use PanelModel instead of panel options object [BREAKING]. #22754, @dprokop
- grafana/ui: Add basic horizontal and vertical layout components. #22303, @dprokop
- Auth SAML Role and Team Sync (Enterprise)
- Presence Indicators: Display the avatars of active users on dashboards (Enterprise)
- Reporting: Makes it possible to disable the scheduler (Enterprise)
- Dashboard: Dashboard usage view (Enterprise)
- Reporting Makes it possible to trigger report emails without scheduler (Enterprise)
- Search: Sorting based on dashboard views and errors (Enterprise)
- Reporting: Improved landscape mode and panel image quality (Enterprise)
- Reporting: Adds config setting for image_scale_factor of panel images (Enterprise)
Bug Fixes
- @grafana/ui: Fix time range when only partial datetime is provided. #23122, @ivanahuckova
- Alerting: Only include image in notifier when enabled. #23194, @marefr
- Alerting: Basic auth should not be required in the Alertmanager notifier. #23691, @bergquist
- Alerting: Translate notification IDs to UIDs when extracting alert rules. #19882, @aSapien
- Azure Monitor: Fix for application insights Azure China plugin route. #23877, @daniellee
- CloudWatch: Add ServerlessDatabaseCapacity to AWS/RDS metrics. #23635, @jackstevenson
- Dashboard: Fix global variable "__org.id". #23362, @vikkyomkar
- Dashboard: Handle min refresh interval when importing dashboard. #23959, @marefr
- DataSourceProxy: Handle URL parsing error. #23731, @aknuds1
- Frontend: Fix sorting of organization popup in alphabetical order. #22259, @vikkyomkar
- Image Rendering: Make it work using serve_from_sub_path configured. #23706, @marefr
- Image rendering: Fix missing icon on plugins list. #23958, @marefr
- Logs: Fix error when non-string log level supplied. #23654, @ivanahuckova
- Rich history: Fix create url and run query for various datasources. #23627, @ivanahuckova
- Security: Fix XSS vulnerability in table panel. #23816, @torkelo
6.7.6 (2021-03-18)
Bug fixes
- Security: Fix API permissions issues related to team-sync CVE-2021-28147. (Enterprise)
- Security: Usage insights requires signed in users CVE-2021-28148. (Enterprise)
6.7.5 (2020-12-17)
Security
- SAML: Fixes encoding/xml SAML vulnerability in Grafana Enterprise #29875, @bergquist
6.7.4 (2020-06-03)
- Security: Urgent security patch release. Please read more in our blog
6.7.3 (2020-04-23)
Bug Fixes
- Admin: Fix Synced via LDAP message for non-LDAP external users. #23477, @alexanderzobnin
- Alerting: Fixes notifications for alerts with empty message in Google Hangouts notifier. #23559, @hugohaggmark
- AuthProxy: Fixes bug where long username could not be cached.. #22926, @jcmcken
- Dashboard: Fix saving dashboard when editing raw dashboard JSON model. #23314, @peterholmberg
- Dashboard: Try to parse 8 and 15 digit numbers as timestamps if parsing of time range as date fails. #21694, @jessetan
- DashboardListPanel: Fixed problem with empty panel after going into edit mode (General folder filter being automatically added) . #23426, @torkelo
- Data source: Handle datasource withCredentials option properly. #23380, @hvtuananh
- Security: Fix annotation popup XSS vulnerability #23813, @torkelo. Big thanks to Juha Laaksonen for reporting this issue.
- Security: Fix XSS vulnerability in table panel #23816, @torkelo. Big thanks to Rotem Reiss for reporting this issue.
- Server: Exit Grafana with status code 0 if no error. #23312, @aknuds1
- TablePanel: Fix XSS issue in header column rename (backport). #23814, @torkelo
- Variables: Fixes error when setting adhoc variable values. #23580, @hugohaggmark
6.7.2 (2020-04-02)
Bug Fixes
- BackendSrv: Adds config to response to fix issue for external plugins that used this property . #23032, @torkelo
- Dashboard: Fixed issue with saving new dashboard after changing title . #23104, @dprokop
- DataLinks: make sure we use the correct datapoint when dataset contains null value.. #22981, @mckn
- Plugins: Fixed issue for plugins that imported dateMath util . #23069, @mckn
- Security: Fix for dashboard snapshot original dashboard link could contain XSS vulnerability in url. #23254, @torkelo. Big thanks to Ahmed A. Sherif for reporting this issue.
- Variables: Fixes issue with too many queries being issued for nested template variables after value change. #23220, @torkelo
- Plugins: Expose promiseToDigest. #23249, @torkelo
- Reporting: Fixes issue updating a report created by someone else (Enterprise)
6.7.1 (2020-03-20)
Bug Fixes
- Azure: Fixed dropdowns not showing current value. #22914, @torkelo
- BackendSrv: only add content-type on POST, PUT requests. #22910, @hugohaggmark
- Panels: Fixed size issue with panel internal size when exiting panel edit mode. #22912, @torkelo
- Reporting: fixes migrations compatibility with mysql (Enterprise)
- Reporting: Reduce default concurrency limit to 4 (Enterprise)
6.7.0 (2020-03-19)
Features / Enhancements
- AzureMonitor: support workspaces function for template variables. #22882, @daniellee
- SQLStore: Add migration for adding index on annotation.alert_id. #22876, @aknuds1
- TablePanel: Enable new units picker . #22833, @dprokop
Bug Fixes
- AngularPanels: Fixed inner height calculation for angular panels . #22796, @torkelo
- BackendSrv: makes sure provided headers are correctly recognized and set. #22778, @hugohaggmark
- Forms: Fix input suffix position (caret-down in Select) . #22780, @torkelo
- Graphite: Fixed issue with query editor and next select metric now showing after selecting metric node . #22856, @torkelo
- Rich History: UX adjustments and fixes. #22729, @ivanahuckova
6.7.0-beta1 (2020-03-12)
Breaking changes
- Slack: Removed Mention setting and instead introduce Mention Users, Mention Groups, and Mention Channel. The first two settings require user and group IDs, respectively. This change was necessary because the way of mentioning via the Slack API changed and mentions in Slack notifications no longer worked.
- Alerting: Reverts the behavior of
diff
andpercent_diff
to not always be absolute. Something we introduced by mistake in 6.1.0. Alerting now supportdiff()
,diff_abs()
,percent_diff()
andpercent_diff_abs()
. #21338
Notice about changes in backendSrv for plugin authors
In our mission to migrate away from AngularJS to React we have removed all AngularJS dependencies in the core data retrieval service backendSrv
.
Removing the AngularJS dependencies in backendSrv
has the unfortunate side effect of AngularJS digest no longer being triggered for any request made with backendSrv
. Because of this, external plugins using backendSrv
directly may suffer from strange behaviour in the UI.
To remedy this issue, as a plugin author you need to trigger the digest after a direct call to backendSrv
.
Example:
backendSrv.get(‘http://your.url/api’).then(result => {
this.result = result;
this.$scope.$digest();
});
Another unfortunate outcome from this work in backendSrv
is that the response format for .headers()
changed from a function to an object.
To make your plugin work on 6.7.x as well as on previous versions you should add something like the following:
let responseHeaders = response.headers;
if (!responseHeaders) {
return null;
}
// Support pre 6.7 angular HTTP rather than fetch
if (typeof responseHeaders === 'function') {
responseHeaders = responseHeaders();
}
You can test your plugin with the master
branch version of Grafana.
Features / Enhancements
- API: Include IP address when logging request error. #21596, @thedeveloperr
- Alerting: Support passing tags to Pagerduty and allow notification on specific event categories . #21335, @johntdyer
- Chore: Remove angular dependency from backendSrv. #20999, @kaydelaney
- CloudWatch: Surround dimension names with double quotes. #22222, @jeet-parekh
- CloudWatch: updated metrics and dimensions for Athena, DocDB, and Route53Resolver. #22604, @jeet-parekh
- Cloudwatch: add Usage Metrics. #22179, @passing
- Dashboard: Adds support for a global minimum dashboard refresh interval. #19416, @lfroment0
- DatasourceEditor: Add UI to edit custom HTTP headers. #17846, @adrien-f
- Elastic: To get fields, start with today's index and go backwards. #22318, @ChadiEM
- Explore: Rich history. #22570, @ivanahuckova
- Graph: canvas's Stroke is executed after loop. #22610, @merturl
- Graphite: Don't issue empty "select metric" queries. #22699, @papagian
- Image Rendering: Store render key in remote cache to enable renderer to callback to public/load balancer URL when running in HA mode. #22031, @marefr
- LDAP: Add fallback to search_base_dns if group_search_base_dns is undefined.. #21263, @bb-Ricardo
- OAuth: Implement Azure AD provide. #20030, @twendt
- Prometheus: Implement region annotation. #22225, @secustor
- Prometheus: make $__range more precise. #21722, @bmerry
- Prometheus: Do not show rate hint when increase function is used in query. #21955, @fredwangwang
- Stackdriver: Project selector. #22447, @sunker
- TablePanel: display multi-line text. #20210, @michael-az
- Templating: Add new global built-in variables. #21790, @dcastanier
- Reporting: add concurrent render limit to settings (Enterprise)
- Reporting: Add rendering timeout in settings (Enterprise)
Bug Fixes
- API: Fix redirect issues. #22285, @papagian
- Alerting: Don't include image_url field with Slack message if empty. #22372, @aknuds1
- Alerting: Fixed bad background color for default notifications in alert tab . #22660, @krvajal
- Annotations: In table panel when setting transform to annotation, they will now show up right away without a manual refresh. #22323, @krvajal
- Azure Monitor: Fix app insights source to allow for new **timeFrom and **timeTo. #21879, @ChadNedzlek
- BackendSrv: Fixes POST body for form data. #21714, @hugohaggmark
- CloudWatch: Credentials cache invalidation fix. #22473, @sunker
- CloudWatch: Expand alias variables when query yields no result. #22695, @sunker
- Dashboard: Fix bug with NaN in alerting. #22053, @a-melnyk
- Explore: Fix display of multiline logs in log panel and explore. #22057, @thomasdraebing
- Heatmap: Legend color range is incorrect when using custom min/max. #21748, @sv5d
- Security: Fixed XSS issue in dashboard history diff . #22680, @torkelo
- StatPanel: Fixes base color is being used for null values . #22646, @torkelo
6.6.2 (2020-02-20)
Features / Enhancements
- Data proxy: Log proxy errors using Grafana logger. #22174, @bergquist
- Metrics: Add gauge for requests currently in flight. #22168, @bergquist
Bug Fixes
- @grafana/ui: Fix displaying of bars in React Graph. #21968, @ivanahuckova
- API: Fix redirect issue when configured to use a subpath. #21652, @briangann
- API: Improve recovery middleware when response already been written. #22256, @marefr
- Auth: Don't rotate auth token when requests are cancelled by client. #22106, @bergquist
- Docker: Downgrade to 18.04 LTS base image. #22313, @aknuds1
- Elasticsearch: Fix auto interval for date histogram in explore logs mode. #21937, @ivanahuckova
- Image Rendering: Fix PhantomJS compatibility with es2016 node dependencies. #21677, @dprokop
- Links: Assure base url when single stat, panel and data links are built. #21956, @dprokop
- Loki, Prometheus: Fix PromQL and LogQL syntax highlighting. #21944, @ivanahuckova
- OAuth: Enforce auto_assign_org_id setting when role mapping enabled using Generic OAuth. #22268, @aknuds1
- Prometheus: Updates explore query editor to prevent it from throwing error on edit. #21605, @Estrax
- Server: Reorder cipher suites for better security. #22101, @tofu-rocketry
- TimePicker: fixing weird behavior with calendar when switching between months/years . #22253, @mckn
6.6.1 (2020-02-06)
Bug Fixes
- Annotations: Change indices and rewrites annotation find query to improve database query performance. #21915, @papagian, @marefr, @kylebrandt
- Azure Monitor: Fix Application Insights API key field to allow input. #21738, @shavonn
- BarGauge: Fix so we properly display the "no result" value when query returns empty result. #21791, @mckn
- Datasource: Show access (Browser/Server) select on the Prometheus datasource. #21833, @jorgelbg
- DatasourceSettings: Fixed issue navigating away from data source settings page. #21841, @torkelo
- Graph Panel: Fix typo in thresholds form. #21903, @orendain
- Graphite: Fixed issue with functions with multiple required params and no defaults caused params that could not be edited (groupByNodes groupByTags). #21814, @torkelo
- Image Rendering: Fix render of graph panel legend aligned to the right using Grafana image renderer plugin/service. #21854, @marefr
- Metrics: Adds back missing summary quantiles. #21858, @kogent
- OpenTSDB: Adds back missing ngInject to make it work again. #21796, @marefr
- Plugins: Fix routing in app plugin pages. #21847, @dprokop
- Prometheus: Fixes default step value for annotation query. #21934, @hugohaggmark
- Quota: Makes LDAP + Quota work for the first login of a new user. #21949, @xlson
- StatPanels: Fixed change from singlestat to Gauge / BarGauge / Stat where default min & max (0, 100) was copied . #21820, @torkelo
- TimePicker: Should display in kiosk mode. #21816, @evgbibko
- grafana/toolkit: Fix failing linter when there were lint issues. #21849, @dprokop
6.6.0 (2020-01-27)
Features / Enhancements
- CloudWatch: Add DynamoDB Accelerator (DAX) metrics & dimensions. #21644, @kenju
- CloudWatch: Auto period snap to next higher period. #21659, @sunker
- Template variables: Add error for failed query variable on time range update. #21731, @tskarhed
- XSS: Sanitize column link. #21735, @tskarhed
Bug Fixes
- Elasticsearch: Fix adhoc variable filtering for logs query. #21346, @ceh
- Explore: Fix colors for log level when level value is capitalised. #21646, @ivanahuckova
- Explore: Fix context view in logs, where some rows may have been filtered out.. #21729, @aocenas
- Loki: Fix Loki with repeated panels and interpolation for Explore. #21685, @ivanahuckova
- SQLStore: Fix PostgreSQL failure to create organisation for first time. #21648, @papagian
6.6.0-beta1 (2020-01-20)
Breaking changes
- PagerDuty: Change
payload.custom_details
field in PagerDuty notification to be a JSON object instead of a string. - Security: The
[security]
settingcookie_samesite
configured tonone
now renders cookies withSameSite=None
attribute compared to before where noSameSite
attribute was added to cookies. To get the old behavior, use valuedisabled
instead ofnone
. Refer to Upgrade Grafana for more information.
Features / Enhancements
- Graphite: Add Metrictank dashboard to Graphite datasource
- Admin: Show name of user in users table view. #18108, @eleijonmarck
- Alerting: Add configurable severity support for PagerDuty notifier. #19425, @yemble
- Alerting: Add more information to webhook notifications. #20420, @michael-az
- Alerting: Add support for sending tags in OpsGenie notifier. #20810, @aSapien
- Alerting: Added fallbackText to Google Chat notifier. #21464, @alvarolmedo
- Alerting: Adds support for sending a single email to all recipients in email notifier. #21091, @marefr
- Alerting: Enable setting of OpsGenie priority via a tag. #21298, @zabullet
- Alerting: Use fully qualified status emoji in Threema notifier. #21305, @dbrgn
- Alerting: new min_interval_seconds option to enforce a minimum evaluation frequency . #21188, @papagian
- CloudWatch: Calculate period based on time range. #21471, @sunker
- CloudWatch: Display partial result in graph when max DP/call limit is reached . #21533, @sunker
- CloudWatch: ECS/ContainerInsights metrics support. #21125, @briancurt
- CloudWatch: Upgrade aws-sdk-go. #20510, @mtanda
- DataLinks: allow using values from other fields in the same row (cells). #21478, @ryantxu
- Editor: Ignore closing brace when it was added by editor. #21172, @davkal
- Explore: Context tooltip to copy labels and values from graph. #21405, @ivanahuckova
- Explore: Log message line wrapping options for logs. #20360, @ivanahuckova
- Forms: introduce RadioButtonGroup. #20828, @dprokop
- Frontend: Changes in Redux location should not strip subpath from location url. #20161, @wybczu
- Graph: Add fill gradient option to series override line fill. #20941, @hendrikvh
- Graphite: Add metrictank dashboard to Graphite datasource. #20776, @Dieterbe
- Graphite: Do not change query when opening the query editor and there is no data. #21588, @daniellee
- Gravatar: Use HTTPS by default. #20964, @jiajunhuang
- Loki: Support for template variable queries. #20697, @ivanahuckova
- NewsPanel: Add news as a builtin panel. #21128, @ryantxu
- OAuth: Removes send_client_credentials_via_post setting . #20044, @LK4D4
- OpenTSDB: Adding lookup limit to OpenTSDB datasource settings. #20647, @itamarst
- Postgres/MySQL/MSSQL: Adds support for region annotations. #20752, @Bercon
- Prometheus: Field to specify step in Explore. #20195, @Estrax
- Prometheus: User metrics metadata to inform query hints. #21304, @davkal
- Renderer: Add user-agent to remote rendering service requests. #20956, @kfdm
- Security: Add disabled option for cookie samesite attribute. #21472, @marefr
- Stackdriver: Support meta labels. #21373, @sunker
- TablePanel, GraphPanel: Exclude hidden columns from CSV. #19925, @literalplus
- Templating: Update variables on location changed. #21480, @ryantxu
- Tracing: Support configuring Jaeger client from environment. #21103, @hairyhenderson
- Units: Add currency and energy units. #20428, @anirudh-ramesh
- Units: Support dynamic count and currency units. #21279, @ryantxu
- grafana/toolkit: Add option to override webpack config. #20872, @sebimarkgraf
- grafana/ui: ConfirmModal component. #20965, @alexanderzobnin
- grafana/ui: Create Tabs component. #21328, @peterholmberg
- grafana/ui: New table component. #20991, @peterholmberg
- grafana/ui: New updated time picker. #20931, @mckn
- White-labeling: Makes it possible to customize the footer and login background (Enterprise)
Bug Fixes
- API: Optionally list expired API keys. #20468, @papagian
- Alerting: Fix custom_details to be a JSON object instead of a string in PagerDuty notifier. #21150, @tehGoti
- Alerting: Fix image rendering and uploading timeout preventing to send alert notifications. #21536, @marefr
- Alerting: Fix panic in dingding notifier . #20378, @csyangchen
- Alerting: Fix template query validation logic. #20721, @okhowang
- Alerting: If no permission to clear history, keep the historical data. #19007, @lzdw
- Alerting: Unpausing a non-paused alert rule should not change status to Unknown. #21375, @vikkyomkar
- Api: Fix returned message when enabling, disabling and deleting a non-existing user. #21391, @dpavlos
- Auth: Rotate auth tokens at the end of requests. #21347, @woodsaj
- Azure Monitor: Fixes error using azure monitor credentials with log analytics and non-default cloud. #21032, @shavonn
- CLI: Return error and aborts when plugin file extraction fails. #20849, @marefr
- CloudWatch: Multi-valued template variable dimension alias fix. #21541, @sunker
- Dashboard: Disable draggable panels on small devices. #20629, @peterholmberg
- DataLinks: Links with ${__value.time} do not work when clicking on first result . #20019, @dweineha
- Explore: Fix showing of results in selected timezone (UTC/local). #20812, @ivanahuckova
- Explore: Fix timepicker when browsing back after switching datasource. #21454, @ivanahuckova
- Explore: Sync timepicker and logs after live-tailing stops. #20979, @ivanahuckova
- Graph: Fix when clicking a plot on a touch device we won't display the annotation menu. #21479, @mckn
- OAuth: Fix role mapping from id token. #20300, @seanson
- Plugins: Add appSubUrl string to config pages. #21414, @Maddin-619
- Provisioning: Start provision dashboards after Grafana server have started. #21564, @marefr
- Render: Use https as protocol when rendering if HTTP2 enabled. #21600, @marefr
- Security: Use same cookie settings for all cookies. #19787, @jeffdesc
- Singlestat: Support empty value map texts. #20952, @hendrikvh
- Units: Custom suffix and prefix units can now be specified, for example custom currency & SI & time formats. #20763, @ryantxu
- grafana/ui: Do not build grafana/ui in strict mode as it depends on non-strict libs. #21319, @dprokop
6.5.3 (2020-01-15)
Features / Enhancements
- API: Validate redirect_to cookie has valid (Grafana) url . #21057, @papagian, Thanks Habi S Ravi for reporting this issue.
Bug Fixes
- AdHocFilter: Shows SubMenu when filtering directly from table. #21017, @hugohaggmark
- Cloudwatch: Fixed crash when switching from cloudwatch data source. #21376, @torkelo
- DataLinks: Sanitize data/panel link URLs. #21140, @dprokop
- Elastic: Fix multiselect variable interpolation for logs. #20894, @ivanahuckova
- Prometheus: Fixes so user can change HTTP Method in config settings. #21055, @hugohaggmark
- Prometheus: Prevents validation of inputs when clicking in them without changing the value. #21059, @hugohaggmark
- Rendering: Fix panel PNG rendering when using sub url & serve_from_sub_path = true. #21306, @bgranvea
- Table: Matches column names with unescaped regex characters. #21164, @hugohaggmark
6.5.2 (2019-12-11)
Bug Fixes
- Alerting: Improve alert threshold handle dragging behavior. #20922, @torkelo
- AngularPanels: Fixed loading spinner being stuck in some rare cases. #20878, @torkelo
- CloudWatch: Fix query editor does not render in Explore. #20909, @davkal
- CloudWatch: Remove illegal character escaping in inferred expressions. #20915, @sunker
- CloudWatch: Remove template variable error message. #20864, @sunker
- CloudWatch: Use datasource template variable in curated dashboards. #20917, @sunker
- Elasticsearch: Set default port to 9200 in ConfigEditor. #20948, @papagian
- Gauge/BarGauge: Added support for value mapping of "no data"-state to text/value. #20842, @mckn
- Graph: Prevent tooltip from being displayed outside of window. #20874, @mckn
- Graphite: Fixes error with annotation metric queries . #20857, @dprokop
- Login: Fix fatal error when navigating from reset password page. #20747, @peterholmberg
- MixedDatasources: Do not filter out all mixed data sources in add mixed query dropdown. #20990, @torkelo
- Prometheus: Fix caching for default labels request. #20718, @aocenas
- Prometheus: Run default labels query only once. #20898, @aocenas
- Security: Fix invite link still accessible after completion or revocation. #20863, @aknuds1
- Server: Fail when unable to create log directory. #20804, @aknuds1
- TeamPicker: Increase size limit from 10 to 100. #20882, @hendrikvh
- Units: Remove SI prefix symbol from new milli/microSievert(/h) units. #20650, @zegelin
6.5.1 (2019-11-28)
Bug Fixes
- CloudWatch: Region template query fix. #20661, @sunker
- CloudWatch: Fix annotations query editor loading. #20687, @sunker
- Panel: Fixes undefined services/dependencies in plugins without
/**@ngInject*/
. #20696, @hugohaggmark - Server: Fix failure to start with "bind: address already in use" when using socket as protocol. #20679, @aknuds1
- Stats: Fix active admins/editors/viewers stats are counted more than once if the user is part of more than one org. #20711, @papagian
6.5.0 (2019-11-25)
Features / Enhancements
- CloudWatch: Add curated dashboards for most popular amazon services. #20486, @sunker
- CloudWatch: Enable Min time interval. #20260, @mtanda
- Explore: UI improvements for log details. #20485, @ivanahuckova
- Server: Improve grafana-server diagnostics configuration for profiling and tracing. #20593, @papagian
Bug Fixes
- BarGauge/Gauge: Add back missing title option field display options. #20616, @torkelo
- CloudWatch: Fix high CPU load. #20579, @marefr
- CloudWatch: Fix high resolution mode without expression. #20459, @mtanda
- CloudWatch: Make sure period variable is being interpreted correctly. #20447, @sunker
- CloudWatch: Remove HighResolution toggle since it's not being used. #20440, @sunker
- Cloudwatch: Fix LaunchTime attribute tag bug. #20237, @sunker
- Data links: Fix URL field turns read-only for graph panels. #20381, @dprokop
- Explore: Keep logQL filters when selecting labels in log row details. #20570, @ivanahuckova
- MySQL: Fix TLS auth settings in config page. #20501, @peterholmberg
- Provisioning: Fix unmarshaling nested jsonData values. #20399, @aocenas
- Server: Should fail when server is unable to bind port. #20409, @aknuds1
- Templating: Prevents crash when $__searchFilter is not a string. #20526, @hugohaggmark
- TextPanel: Fixes issue with template variable value not properly html escaped #20588, @torkelo
- TimePicker: Should update after location change. #20466, @torkelo
Breaking changes
-
CloudWatch: Pre Grafana 6.5.0, the CloudWatch datasource used the GetMetricStatistics API for all queries that did not have an ´id´ and did not have an ´expression´ defined in the query editor. The GetMetricStatistics API has a limit of 400 transactions per second. In this release, all queries use the GetMetricData API. The GetMetricData API has a limit of 50 transactions per second and 100 metrics per transaction. For API pricing information, please refer to the CloudWatch pricing page (https://aws.amazon.com/cloudwatch/pricing/).
-
CloudWatch: The GetMetricData API does not return metric unit, so unit auto detection in panels is no longer supported.
-
CloudWatch: The
HighRes
switch has been removed from the query editor. Read more about this in upgrading to 6.5. -
CloudWatch: In previous versions of Grafana, there was partial support for using multi-valued template variables as dimension values. When a multi-valued template variable is being used for dimension values in Grafana 6.5, a search expression will be generated. In the GetMetricData API, expressions are limited to 1024 characters, so you might reach this limit if you are using a large number of values. Read our upgrading to 6.5 guide to see how you can use the
*
wildcard for this use case.
6.5.0-beta1 (2019-11-14)
Features / Enhancements
- API: Add
createdAt
andupdatedAt
to api/users/lookup. #19496, @gotjosh - API: Add createdAt field to /api/users/:id. #19475, @cored
- Admin: Adds setting to disable creating initial admin user. #19505, @shavonn
- Alerting: Include alert_state in Kafka notifier payload. #20099, @arnaudlemaignen
- AuthProxy: Can now login with auth proxy and get a login token. #20175, @torkelo
- AuthProxy: replaces setting ldap_sync_ttl with sync_ttl. #20191, @jongyllen
- AzureMonitor: Alerting for Azure Application Insights. #19381, @ChadNedzlek
- Build: Upgrade to Go 1.13. #19502, @aknuds1
- CLI: Reduce memory usage for plugin installation. #19639, @olivierlemasle
- CloudWatch: Add ap-east-1 to hard-coded region lists. #19523, @Nessworthy
- CloudWatch: ContainerInsights metrics support. #18971, @francopeapea
- CloudWatch: Support dynamic queries using dimension wildcards #20058, @sunker
- CloudWatch: Stop using GetMetricStatistics and use GetMetricData for all time series requests #20057, @sunker
- CloudWatch: Convert query editor from Angular to React #19880, @sunker
- CloudWatch: Convert config editor from Angular to React #19881, @shavonn
- CloudWatch: Improved error handling when throttling occurs #20348, @sunker
- CloudWatch: Deep linking from Grafana panel to CloudWatch console #20279, @sunker
- CloudWatch: Add Grafana user agent to GMD calls #20277, @sunker
- Dashboard: Allows the d-solo route to be used without slug. #19640, @97amarnathk
- Docker: Build and publish an additional Ubuntu based docker image. #20196, @aknuds1
- Elasticsearch: Adds support for region annotations. #17602, @fangel
- Explore: Add custom DataLinks on datasource level (like tracing links). #20060, @aocenas
- Explore: Add functionality to show/hide query row results. #19794, @ivanahuckova
- Explore: Synchronise time ranges in split mode. #19274, @ivanahuckova
- Explore: UI change for log row details . #20034, @ivanahuckova
- Frontend: Migrate DataSource HTTP Settings to React. #19452, @dprokop
- Frontend: Show browser not supported notification. #19904, @peterholmberg
- Graph: Added series override option to have hidden series be persisted on save. #20124, @Gauravshah
- Graphite: Add Metrictank option to settings to view Metrictank request processing info in new inspect feature. #20138, @ryantxu
- LDAP: Enable single user sync. #19446, @gotjosh
- LDAP: Last org admin can login but wont be removed. #20326, @xlson
- LDAP: Support env variable expressions in ldap.toml file. #20173, @torkelo
- OAuth: Generic OAuth role mapping support. #17149, @hypery2k
- Prometheus: Custom query parameters string for Thanos downsampling. #19121, @seuf
- Provisioning: Allow saving of provisioned dashboards. #19820, @jongyllen
- Security: Minor XSS issue resolved by angularjs upgrade from 1.6.6 -> 1.6.9. #19849, @peterholmberg
- TablePanel: Prevents crash when data contains mixed data formats. #20202, @hugohaggmark
- Templating: Introduces $__searchFilter to Query Variables. #19858, @hugohaggmark
- Templating: Made default template variable query editor field a textarea with automatic height. #20288, @torkelo
- Units: Add milli/microSievert, milli/microSievert/h and pixels. #20144, @ryantxu
- Units: Added mega ampere and watt-hour per kg. #19922, @Karan96Kaushik
- Enterprise: Enterprise without a license behaves like OSS (Enterprise)
Bug Fixes
- API: Added dashboardId and slug in response to dashboard import api. #19692, @jongyllen
- API: Fix logging of dynamic listening port. #19644, @oleggator
- BarGauge: Fix so that default thresholds not keeps resetting. #20190, @lzdw
- CloudWatch: Fix incorrect casing of Redshift dimension entry for service class and stage. #19897, @nlsdfnbch
- CloudWatch: Fixing AWS Kafka dimension names. #19986, @skuxy
- CloudWatch: Metric math broken when using multi template variables #18337, @sunker
- CloudWatch: Graphs with multiple multi-value dimension variables don't work #17949, @sunker
- CloudWatch: Variables' values surrounded with braces in request sent to AWS #14451, @sunker
- CloudWatch: Cloudwatch Query for a list of instances for which data is available in the selected time interval #12784, @sunker
- CloudWatch: Dimension's positioning/order should be stored in the json dashboard #11062, @sunker
- CloudWatch: Batch CloudWatch API call support in backend #7991, @sunker
- ColorPicker: Fixes issue with ColorPicker disappearing too quickly . #20289, @dprokop
- Datasource: Add custom headers on alerting queries. #19508, @weeco
- Docker: Add additional glibc dependencies to support certain backend plugins in alpine. #20214, @briangann
- Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues. #19798, @aknuds1
- Elasticsearch: Fix template variables interpolation when redirecting to Explore. #20314, @ivanahuckova
- Elasticsearch: Support rendering in logs panel. #20229, @davkal
- Explore: Expand template variables when redirecting from dashboard panel. #19582, @ivanahuckova
- OAuth: Make the login button display name of custom OAuth provider. #20209, @dprokop
- ReactPanels: Adds Explore menu item. #20236, @hugohaggmark
- Team Sync: Fix URL encode Group IDs for external team sync. #20280, @gotjosh
Breaking changes
-
CloudWatch: Pre Grafana 6.5.0, the CloudWatch datasource used the GetMetricStatistics API for all queries that did not have an ´id´ and did not have an ´expression´ defined in the query editor. The GetMetricStatistics API has a limit of 400 transactions per second. In this release, all queries use the GetMetricData API. The GetMetricData API has a limit of 50 transactions per second and 100 metrics per transaction. For API pricing information, please refer to the CloudWatch pricing page (https://aws.amazon.com/cloudwatch/pricing/).
-
CloudWatch: The GetMetricData API does not return metric unit, so unit auto detection in panels is no longer supported.
-
CloudWatch: The
HighRes
switch has been removed from the query editor. Read more about this in upgrading to 6.5. -
CloudWatch: In previous versions of Grafana, there was partial support for using multi-valued template variables as dimension values. When a multi-valued template variable is being used for dimension values in Grafana 6.5, a search expression will be generated. In the GetMetricData API, expressions are limited to 1024 characters, so you might reach this limit if you are using a large number of values. Read our upgrading to 6.5 guide to see how you can use the
*
wildcard for this use case.
6.4.5 (2019-11-25)
Bug Fixes
- CloudWatch: Fix high CPU load #20579
6.4.4 (2019-11-06)
Bug Fixes
- MySQL: Fix encoding in connection string #20192
- DataLinks: Fix blur issues. #19883, @aocenas
- Docker: Makes it possible to parse timezones in the docker image. #20081, @xlson
- LDAP: All LDAP servers should be tried even if one of them returns a connection error. #20077, @jongyllen
- LDAP: No longer shows incorrectly matching groups based on role in debug page. #20018, @xlson
- Singlestat: Fix no data / null value mapping . #19951, @ryantxu
Security vulnerability
The MySQL data source connection string fix, #20192, that was part of this release also fixed a security vulnerability. Thanks Yuriy Dyachenko for discovering and notifying us about this.
6.4.3 (2019-10-16)
Bug Fixes
- Alerting: All notification channels should send even if one fails to send. #19807, @jan25
- AzureMonitor: Fix slate interference with dropdowns. #19799, @aocenas
- ContextMenu: make ContextMenu positioning aware of the viewport width. #19699, @krvajal
- DataLinks: Fix context menu not showing in singlestat-ish visualisations. #19809, @dprokop
- DataLinks: Fix url field not releasing focus. #19804, @aocenas
- Datasource: Fixes clicking outside of some query editors required 2 clicks. #19822, @aocenas
- Panels: Fixes default tab for visualizations without Queries Tab. #19803, @hugohaggmark
- Singlestat: Fixed issue with mapping null to text. #19689, @torkelo
- @grafana/toolkit: Don't fail plugin creation when git user.name config is not set. #19821, @dprokop
- @grafana/toolkit: TSLint line number off by 1. #19782, @fredwangwang
6.4.2 (2019-10-08)
Bug Fixes
- CloudWatch: Changes incorrect dimension wmlid to wlmid . #19679, @ATTron
- Grafana Image Renderer: Fixes plugin page. #19664, @hugohaggmark
- Graph: Fixes auto decimals logic for y axis ticks that results in too many decimals for high values. #19618, @torkelo
- Graph: Switching to series mode should re-render graph. #19623, @torkelo
- Loki: Fix autocomplete on label values. #19579, @aocenas
- Loki: Removes live option for logs panel. #19533, @davkal
- Profile: Fix issue with user profile not showing more than sessions sessions in some cases. #19578, @huynhsamha
- Prometheus: Fixes so results in Panel always are sorted by query order. #19597, @hugohaggmark
- ShareQuery: Fixed issue when using -- Dashboard -- datasource (to share query result) when dashboard had rows. #19610, @torkelo
- Show SAML login button if SAML is enabled. #19591, @papagian
- SingleStat: Fixes $__name postfix/prefix usage. #19687, @hugohaggmark
- Table: Proper handling of json data with dataframes. #19596, @marefr
- Units: Fixed wrong id for Terabits/sec. #19611, @andreaslangnevyjel
6.4.1 (2019-10-02)
Bug Fixes
- Provisioning: Fixed issue where empty nested keys in YAML provisioning caused server crash, #19547
- ImageRendering: Fixed issue with image rendering in enterprise build (Enterprise)
- Reporting: Fixed issue with reporting service when STMP disabled (Enterprise).
6.4.0 (2019-10-01)
Features / Enhancements
- Build: Upgrade go to 1.12.10. #19499, @marefr
- DataLinks: Suggestions menu improvements. #19396, @dprokop
- Explore: Take root_url setting into account when redirecting from dashboard to explore. #19447, @ivanahuckova
- Explore: Update broken link to logql docs. #19510, @ivanahuckova
- Logs: Adds Logs Panel as a visualization. #19504, @davkal
- Reporting: Generate and email PDF reports based on Dashboards (Enterprise)
Bug Fixes
- CLI: Fix version selection for plugin install. #19498, @aocenas
- Graph: Fixes minor issue with series override color picker and custom color . #19516, @torkelo
Plugins that need updating when upgrading from 6.3 to 6.4
6.4.0-beta2 (2019-09-25)
Features / Enhancements
- Azure Monitor: Remove support for cross resource queries (#19115)". #19346, @sunker
- Docker: Upgrade packages to resolve reported vulnerabilities. #19188, @marefr
- Graphite: Time range expansion reduced from 1 minute to 1 second. #19246, @torkelo
- grafana/toolkit: Add plugin creation task. #19207, @dprokop
Bug Fixes
- Alerting: Prevents creating alerts from unsupported queries. #19250, @hugohaggmark
- Alerting: Truncate PagerDuty summary when greater than 1024 characters. #18730, @nvllsvm
- Cloudwatch: Fix autocomplete for Gamelift dimensions. #19146, @kevinpz
- Dashboard: Fix export for sharing when panels use default data source. #19315, @torkelo
- Database: Rewrite system statistics query to perform better. #19178, @papagian
- Gauge/BarGauge: Fix issue with [object Object] in titles . #19217, @ryantxu
- MSSQL: Revert usage of new connectionstring format introduced by #18384. #19203, @marefr
- Multi-LDAP: Do not fail-fast on invalid credentials. #19261, @gotjosh
- MySQL, Postgres, MSSQL: Fix validating query with template variables in alert . #19237, @marefr
- MySQL, Postgres: Update raw sql when query builder updates. #19209, @marefr
- MySQL: Limit datasource error details returned from the backend. #19373, @marefr
6.4.0-beta1 (2019-09-17)
Features / Enhancements
- Reporting: Created scheduled PDF reports for any dashboard (Enterprise).
- API: Readonly datasources should not be created via the API. #19006, @papagian
- Alerting: Include configured AlertRuleTags in Webhooks notifier. #18233, @dominic-miglar
- Annotations: Add annotations support to Loki. #18949, @aocenas
- Annotations: Use a single row to represent a region. #17673, @ryantxu
- Auth: Allow inviting existing users when login form is disabled. #19048, @548017
- Azure Monitor: Add support for cross resource queries. #19115, @sunker
- CLI: Allow installing custom binary plugins. #17551, @aocenas
- Dashboard: Adds Logs Panel (alpha) as visualization option for Dashboards. #18641, @hugohaggmark
- Dashboard: Reuse query results between panels . #16660, @ryantxu
- Dashboard: Set time to to 23:59:59 when setting To time using calendar. #18595, @simPod
- DataLinks: Add DataLinks support to Gauge, BarGauge and stat panel. #18605, @ryantxu
- DataLinks: Enable access to labels & field names. #18918, @torkelo
- DataLinks: Enable multiple data links per panel. #18434, @dprokop
- Docker: switch docker image to alpine base with phantomjs support. #18468, @DanCech
- Elasticsearch: allow templating queries to order by doc_count. #18870, @hackery
- Explore: Add throttling when doing live queries. #19085, @aocenas
- Explore: Adds ability to go back to dashboard, optionally with query changes. #17982, @kaydelaney
- Explore: Reduce default time range to last hour. #18212, @davkal
- Gauge/BarGauge: Support decimals for min/max. #18368, @ryantxu
- Graph: New series override transform constant that renders a single point as a line across the whole graph. #19102, @davkal
- Image rendering: Add deprecation warning when PhantomJS is used for rendering images. #18933, @papagian
- InfluxDB: Enable interpolation within ad-hoc filter values. #18077, @kvc-code
- LDAP: Allow an user to be synchronized against LDAP. #18976, @gotjosh
- Ldap: Add ldap debug page. #18759, @peterholmberg
- Loki: Remove prefetching of default label values. #18213, @davkal
- Metrics: Add failed alert notifications metric. #18089, @koorgoo
- OAuth: Support JMES path lookup when retrieving user email. #14683, @bobmshannon
- OAuth: return GitLab groups as a part of user info (enable team sync). #18388, @alexanderzobnin
- Panels: Add unit for electrical charge - ampere-hour. #18950, @anirudh-ramesh
- Plugin: AzureMonitor - Reapply MetricNamespace support. #17282, @raphaelquati
- Plugins: better warning when plugins fail to load. #18671, @ryantxu
- Postgres: Add support for scram sha 256 authentication. #18397, @nonamef
- RemoteCache: Support SSL with Redis. #18511, @kylebrandt
- SingleStat: The gauge option in now disabled/hidden (unless it's an old panel with it already enabled) . #18610, @ryantxu
- Stackdriver: Add extra alignment period options. #18909, @sunker
- Units: Add South African Rand (ZAR) to currencies. #18893, @jeteon
- Units: Adding T,P,E,Z,and Y bytes. #18706, @chiqomar
Bug Fixes
- Alerting: Notification is sent when state changes from no_data to ok. #18920, @papagian
- Alerting: fix duplicate alert states when the alert fails to save to the database. #18216, @kylebrandt
- Alerting: fix response popover prompt when add notification channels. #18967, @lzdw
- CloudWatch: Fix alerting for queries with Id (using GetMetricData). #17899, @alex-berger
- Explore: Fix auto completion on label values for Loki. #18988, @aocenas
- Explore: Fixes crash using back button with a zoomed in graph. #19122, @hugohaggmark
- Explore: Fixes so queries in Explore are only run if Graph/Table is shown. #19000, @hugohaggmark
- MSSQL: Change connectionstring to URL format to fix using passwords with semicolon. #18384, @Russiancold
- MSSQL: Fix memory leak when debug enabled. #19049, @briangann
- Provisioning: Allow escaping literal '$' with '$$' in configs to avoid interpolation. #18045, @kylebrandt
- TimePicker: Fixes hiding time picker dropdown in FireFox. #19154, @hugohaggmark
Breaking changes
Annotations
There are some breaking changes in the annotations HTTP API for region annotations. Region annotations are now represented using a single event instead of two separate events. Check breaking changes in HTTP API below and HTTP API documentation for more details.
Docker
Grafana is now using Alpine 3.10 as docker base image.
HTTP API
GET /api/alert-notifications
now requires at least editor access. New/api/alert-notifications/lookup
returns less information than/api/alert-notifications
and can be access by any authenticated user.GET /api/alert-notifiers
now requires at least editor accessGET /api/org/users
now requires org admin role. New/api/org/users/lookup
returns less information than/api/org/users
and can be access by users that are org admins, admin in any folder or admin of any team.GET /api/annotations
no longer returnsregionId
property.POST /api/annotations
no longer supportsisRegion
property.PUT /api/annotations/:id
no longer supportsisRegion
property.PATCH /api/annotations/:id
no longer supportsisRegion
property.DELETE /api/annotations/region/:id
has been removed.
Deprecation notes
PhantomJS
PhantomJS, which is used for rendering images of dashboards and panels, is 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.
6.3.7 (2019-11-22)
Bug Fixes
- CloudWatch: Fix high CPU load #20579
6.3.6 (2019-09-23)
Features / Enhancements
Bug Fixes
- Database: Rewrite system statistics query to perform better. #19178, @papagian
- Explore: Fixes error when switching from prometheus to loki data sources. #18599, @kaydelaney
6.3.5 (2019-09-02)
Upgrades
- Build: Upgrade to go 1.12.9. #18638, @marcusolsson
Bug Fixes
- Dashboard: Fixes dashboards init failed loading error for dashboards with panel links that had missing properties. #18786, @torkelo
- Editor: Fixes issue where only entire lines were being copied. #18806, @kaydelaney
- Explore: Fixes query field layout in splitted view for Safari browsers. #18654, @hugohaggmark
- LDAP: multildap + ldap integration. #18588, @markelog
- Profile/UserAdmin: Fix for user agent parser crashes grafana-server on 32-bit builds. #18788, @marcusolsson
- Prometheus: Prevents panel editor crash when switching to Prometheus data source. #18616, @hugohaggmark
- Prometheus: Changes brace-insertion behavior to be less annoying. #18698, @kaydelaney
6.3.4 (2019-08-29)
- Security: Urgent security patch release. Please read more in our blog
6.3.3 (2019-08-15)
Bug Fixes
- Annotations: Fix failing annotation query when time series query is cancelled. #18532, @dprokop
- Auth: Do not set SameSite cookie attribute if cookie_samesite is none. #18462, @papagian
- DataLinks: Apply scoped variables to data links correctly. #18454, @dprokop
- DataLinks: Respect timezone when displaying datapoint's timestamp in graph context menu. #18461, @dprokop
- DataLinks: Use datapoint timestamp correctly when interpolating variables. #18459, @dprokop
- Explore: Fix loading error for empty queries. #18488, @davkal
- Graph: Fixes legend issue clicking on series line icon and issue with horizontal scrollbar being visible on windows. #18563, @torkelo
- Graphite: Avoid glob of single-value array variables . #18420, @gotjosh
- Prometheus: Fix queries with label_replace remove the $1 match when loading query editor. #18480, @hugohaggmark
- Prometheus: More consistently allows for multi-line queries in editor. #18362, @kaydelaney
- TimeSeries: Assume values are all numbers. #18540, @ryantxu
6.3.2 (2019-08-07)
Bug Fixes
- Gauge/BarGauge: Fixes issue with lost thresholds and an issue loading Gauge with avg stat. #18375
6.3.1 (2019-08-07)
Bug Fixes
- PanelLinks: Fixes crash issue with Gauge & Bar Gauge panels with panel links (drill down links). #18430
6.3.0 (2019-08-06)
Features / Enhancements
Bug Fixes
6.3.0-beta4 (2019-08-02)
Features / Enhancements
6.3.0-beta3 (2019-08-02)
Bug Fixes
- OAuth: Fix "missing saved state" OAuth login failure due to SameSite cookie policy. #18332, @papagian
- cli: fix for recognizing when in dev mode.. #18334, @xlson
6.3.0-beta2 (2019-07-26)
Features / Enhancements
- Build grafana images consistently. #18224, @hassanfarid
- Docs: SAML. #18069, @gotjosh
- Permissions: Show plugins in nav for non admin users but hide plugin configuration. #18234, @aocenas
- TimePicker: Increase max height of quick range dropdown. #18247, @torkelo
Bug Fixes
- DataLinks: Fixes incorrect interpolation of ${__series_name} . #18251, @torkelo
- Loki: Display live tailed logs in correct order in Explore. #18031, @kaydelaney
- PhantomJS: Fixes rendering on Debian Buster. #18162, @xlson
- TimePicker: Fixed style issue for custom range popover. #18244, @torkelo
- Timerange: Fixes a bug where custom time ranges didn't respect UTC. #18248, @kaydelaney
- remote_cache: Fix redis connstr parsing. #18204, @mblaschke
6.3.0-beta1 (2019-07-10)
Features / Enhancements
- Alerting: Add tags to alert rules. #10989, @Thib17
- Alerting: Attempt to send email notifications to all given email addresses. #16881, @zhulongcheng
- Alerting: Improve alert rule testing. #16286, @marefr
- Alerting: Support for configuring content field for Discord alert notifier. #17017, @jan25
- Alertmanager: Replace illegal chars with underscore in label names. #17002, @bergquist
- Auth: Allow expiration of API keys. #17678, @papagian
- Auth: Return device, os and browser when listing user auth tokens in HTTP API. #17504, @shavonn
- Auth: Support list and revoke of user auth tokens in UI. #17434, @shavonn
- AzureMonitor: change clashing built-in Grafana variables/macro names for Azure Logs. #17140, @shavonn
- CloudWatch: Made region visible for AWS Cloudwatch Expressions. #17243, @utkarshcmu
- Cloudwatch: Add AWS DocDB metrics. #17241, @utkarshcmu
- Dashboard: Use timezone dashboard setting when exporting to CSV. #18002, @dehrax
- Data links. #17267, @torkelo
- Docker: Switch base image to ubuntu:latest from debian:stretch to avoid security issues.. #17066, @bergquist
- Elasticsearch: Support for visualizing logs in Explore . #17605, @marefr
- Explore: Adds Live option for supported data sources. #17062, @hugohaggmark
- Explore: Adds orgId to URL for sharing purposes. #17895, @kaydelaney
- Explore: Adds support for new loki 'start' and 'end' params for labels endpoint. #17512, @kaydelaney
- Explore: Adds support for toggling raw query mode in explore. #17870, @kaydelaney
- Explore: Allow switching between metrics and logs . #16959, @marefr
- Explore: Combines the timestamp and local time columns into one. #17775, @hugohaggmark
- Explore: Display log lines context . #17097, @dprokop
- Explore: Don't parse log levels if provided by field or label. #17180, @marefr
- Explore: Improves performance of Logs element by limiting re-rendering. #17685, @kaydelaney
- Explore: Support for new LogQL filtering syntax. #16674, @davkal
- Explore: Use new TimePicker from Grafana/UI. #17793, @hugohaggmark
- Explore: handle newlines in LogRow Highlighter. #17425, @rrfeng
- Graph: Added new fill gradient option. #17528, @torkelo
- GraphPanel: Don't sort series when legend table & sort column is not visible . #17095, @shavonn
- InfluxDB: Support for visualizing logs in Explore. #17450, @hugohaggmark
- Logging: Login and Logout actions (#17760). #17883, @ATTron
- Logging: Move log package to pkg/infra. #17023, @zhulongcheng
- Metrics: Expose stats about roles as metrics. #17469, @bergquist
- MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros. #13086, @bernardd
- MySQL: Add support for periodically reloading client certs. #14892, @tpetr
- Plugins: replace dataFormats list with skipDataQuery flag in plugin.json. #16984, @ryantxu
- Prometheus: Take timezone into account for step alignment. #17477, @fxmiii
- Prometheus: Use overridden panel range for $__range instead of dashboard range. #17352, @patrick246
- Prometheus: added time range filter to series labels query. #16851, @FUSAKLA
- Provisioning: Support folder that doesn't exist yet in dashboard provisioning. #17407, @Nexucis
- Refresh picker: Handle empty intervals. #17585, @dehrax
- Singlestat: Add y min/max config to singlestat sparklines. #17527, @pitr
- Snapshot: use given key and deleteKey. #16876, @zhulongcheng
- Templating: Correctly display __text in multi-value variable after page reload. #17840, @EduardSergeev
- Templating: Support selecting all filtered values of a multi-value variable. #16873, @r66ad
- Tracing: allow propagation with Zipkin headers. #17009, @jrockway
- Users: Disable users removed from LDAP. #16820, @alexanderzobnin
- SAML: Add SAML as an authentication option (Enterprise)
Bug Fixes
- AddPanel: Fix issue when removing moved add panel widget . #17659, @dehrax
- CLI: Fix encrypt-datasource-passwords fails with sql error. #18014, @marefr
- Elasticsearch: Fix default max concurrent shard requests. #17770, @marefr
- Explore: Fix browsing back to dashboard panel. #17061, @jschill
- Explore: Fix filter by series level in logs graph. #17798, @marefr
- Explore: Fix issues when loading and both graph/table are collapsed. #17113, @marefr
- Explore: Fix selection/copy of log lines. #17121, @marefr
- Fix: Wrap value of multi variable in array when coming from URL. #16992, @aocenas
- Frontend: Fix for Json tree component not working. #17608, @srid12
- Graphite: Fix for issue with alias function being moved last. #17791, @torkelo
- Graphite: Fixes issue with seriesByTag & function with variable param. #17795, @torkelo
- Graphite: use POST for /metrics/find requests. #17814, @papagian
- HTTP Server: Serve Grafana with a custom URL path prefix. #17048, @jan25
- InfluxDB: Fixes single quotes are not escaped in label value filters. #17398, @Panzki
- Prometheus: Correctly escape '|' literals in interpolated PromQL variables. #16932, @Limess
- Prometheus: Fix when adding label for metrics which contains colons in Explore. #16760, @tolwi
- SinglestatPanel: Remove background color when value turns null. #17552, @druggieri
6.2.5 (2019-06-25)
Features / Enhancements
- Grafana-CLI: Wrapper for
grafana-cli
within RPM/DEB packages and config/homepath are now global flags. #17695, @gotjosh - Panel: Fully escape html in drilldown links (was only sanitized before) . #17731, @dehrax
Bug Fixes
- Config: Fix connectionstring for remote_cache in defaults.ini. #17675, @kylebrandt
- Elasticsearch: Fix empty query (via template variable) should be sent as wildcard. #17488, @davewat
- HTTP-Server: Fix Strict-Transport-Security header. #17644, @kylebrandt
- TablePanel: fix annotations display. #17646, @ryantxu
6.2.4 (2019-06-18)
Bug Fixes
- Grafana-CLI: Fix receiving flags via command line . #17617, @gotjosh
- HTTPServer: Fix X-XSS-Protection header formatting. #17620, @yverry
6.2.3 (2019-06-17)
Known issues
- grafana-cli: The argument
--pluginsDir
is not working. - docker: Due to above problem with grafana-cli the docker run will fail to start the container if you're installing plugins using the
GF_INSTALL_PLUGINS
environment variable. We have removed 6.2.3 tag from docker hub and latest tag now points to 6.2.2.
More details in bug report: https://github.com/grafana/grafana/issues/17613
Features / Enhancements
- AuthProxy: Optimistic lock pattern for remote cache Set. #17485, @papagian
- HTTPServer: Options for returning new headers X-Content-Type-Options, X-XSS-Protection and Strict-Transport-Security. #17522, @kylebrandt
Bug Fixes
- Auth Proxy: Fix non-negative cache TTL. #17495, @kylebrandt
- Grafana-CLI: Fix receiving configuration flags from the command line. #17606, @gotjosh
- OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy. #17541, @redbaron
- remote_cache: Fix redis. #17483, @kylebrandt
6.2.2 (2019-06-05)
Features / Enhancements
Bug Fixes
- CloudWatch: Fixes error when hiding/disabling queries . #17283, @jpiccari
- Database: Fixed slow permission query in folder/dashboard search. #17427, @aocenas
- Explore: Fixed updating time range before running queries. #17349, @marefr
- Plugins: Fixed plugin config page navigation when using subpath. #17364, @torkelo
6.2.1 (2019-05-27)
Features / Enhancements
- CLI: Add command to migrate all data sources to use encrypted password fields . #17118, @aocenas
- Gauge/BarGauge: Improvements to auto value font size . #17292, @torkelo
Bug Fixes
- Auth Proxy: Resolve database is locked errors. #17274, @marefr
- Database: Retry transaction if sqlite returns database is locked error. #17276, @marefr
- Explore: Fixes so clicking in a Prometheus Table the query is filtered by clicked value. #17083, @hugohaggmark
- Singlestat: Fixes issue with value placement and line wraps. #17249, @torkelo
- Tech: Update jQuery to 3.4.1 to fix issue on iOS 10 based browsers as well as Chrome 53.x . #17290, @timbutler
6.2.0 (2019-05-22)
Bug Fixes
- BarGauge: Fix for negative min values. #17192, @torkelo
- Gauge/BarGauge: Fix for issues editing min & max options. #17174
- Search: Make only folder name only open search with current folder filter. #17226
- AzureMonitor: Revert to clearing chained dropdowns. #17212
Breaking Changes
- Plugins: Data source plugins that process hidden queries need to add a "hiddenQueries: true" attribute in plugin.json. #17124, @ryantxu
Removal of old deprecated package repository
5 months ago we deprecated our old package cloud repository and replaced it with our own. We will remove the old depreciated repo on July 1st. Make sure you have switched to the new repo by then. The new repository has all our old releases so you are not required to upgrade just to switch package repository.
6.2.0-beta2 (2019-05-15)
Features / Enhancements
- Plugins: Support templated urls in plugin routes. #16599, @briangann
- Packaging: New MSI windows installer package**. #17073, @briangann
Bug Fixes
- Dashboard: Fixes blank dashboard after window resize with panel without title. #16942, @torkelo
- Dashboard: Fixes lazy loading & expanding collapsed rows on mobile. #17055, @torkelo
- Dashboard: Fixes scrolling issues for Edge browser. #17033, @jschill
- Dashboard: Show refresh button in first kiosk(tv) mode. #17032, @torkelo
- Explore: Fix empty result from data source should render logs container. #16999, @marefr
- Explore: Fixes so clicking in a Prometheus Table the query is filtered by clicked value. #17083, @hugohaggmark
- Explore: Makes it possible to zoom in Explore/Loki/Graph without exception. #16991, @hugohaggmark
- Gauge: Fixes orientation issue after switching from BarGauge to Gauge. #17064, @torkelo
- GettingStarted: Fixes layout issues in getting started panel. #16941, @torkelo
- InfluxDB: Fix HTTP method should default to GET. #16949, @StephenSorriaux
- Panels: Fixed alert icon position in panel header. #17070, @torkelo
- Panels: Fixes panel error tooltip not showing. #16993, @torkelo
- Plugins: Fix how datemath utils are exposed to plugins. #16976, @marefr
- Singlestat: fixed centering issue for very small panels. #16944, @torkelo
- Search: Scroll issue in dashboard search in latest Chrome. #17054, @jschill
- Docker: Prevent a permission denied error when writing files to the default provisioning directory. #16831, @wmedlar
- Gauge: Adds background shade to gauge track and improves height usage. #17019, @torkelo
- RemoteCache: Avoid race condition in Set causing error on insert. . #17082, @bergquist
6.2.0-beta1 (2019-05-07)
Features / Enhancements
- Admin: Add more stats about roles. #16667, @bergquist
- Alert list panel: Support variables in filters. #16892, @psschand
- Alerting: Adjust label for send on all alerts to default . #16554, @simPod
- Alerting: Makes timeouts and retries configurable. #16259, @kobehaha
- Alerting: No notification when going from no data to pending. #16905, @bergquist
- Alerting: Pushover alert, support for different sound for OK. #16525, @Hofls
- Auth: Enable retries and transaction for some db calls for auth tokens . #16785, @bergquist
- AzureMonitor: Adds support for multiple subscriptions per data source. #16922, @daniellee
- Bar Gauge: New multi series enabled gauge like panel with horizontal and vertical layouts and 3 display modes. #16918, @torkelo
- Build: Upgrades to golang 1.12.4. #16545, @bergquist
- CloudWatch: Update AWS/IoT metric and dimensions. #16337, @nonamef
- Config: Show user-friendly error message instead of stack trace. #16564, @Hofls
- Dashboard: Enable filtering dashboards in search by current folder. #16790, @dprokop
- Dashboard: Lazy load out of view panels . #15554, @ryantxu
- DataProxy: Restore Set-Cookie header after proxy request. #16838, @marefr
- Data Sources: Add pattern validation for time input on data source config pages. #16837, @aocenas
- Elasticsearch: Add 7.x version support. #16646, @alcidesv
- Explore: Adds reconnect for failing data source. #16226, @hugohaggmark
- Explore: Support user timezone. #16469, @marefr
- InfluxDB: Add support for POST HTTP verb. #16690, @StephenSorriaux
- Loki: Search is now case insensitive. #15948, @steven-sheehy
- OAuth: Update jwt regexp to include
=
. #16521, @DanCech - Panels: No title will no longer make panel header take up space. #16884, @torkelo
- Prometheus: Adds tracing headers for Prometheus datasource. #16724, @svagner
- Provisioning: Add API endpoint to reload provisioning configs. #16579, @aocenas
- Provisioning: Do not allow deletion of provisioned dashboards. #16211, @aocenas
- Provisioning: Interpolate env vars in provisioning files. #16499, @aocenas
- Provisioning: Support FolderUid in Dashboard Provisioning Config. #16559, @swtch1
- Security: Add new setting allow_embedding. #16853, @marefr
- Security: Store data source passwords encrypted in secureJsonData. #16175, @aocenas
- UX: Improve Grafana usage for smaller screens. #16783, @torkelo
- Units: Add angle units, Arc Minutes and Seconds. #16271, @Dripoul
Bug Fixes
- Build: Fix bug where grafana didn't start after mysql on rpm packages. #16917, @bergquist
- CloudWatch: Fixes query order not affecting series ordering & color. #16408, @mtanda
- CloudWatch: Use default alias if there is no alias for metrics. #16732, @utkarshcmu
- Config: Fixes bug where timeouts for alerting was not parsed correctly. #16784, @aocenas
- Elasticsearch: Fix view percentiles metric in table without date histogram. #15686, @Igor-Ratsuk
- Explore: Prevents histogram loading from killing Prometheus instance. #16768, @hugohaggmark
- Graph: Allow override decimals to fully override. #16414, @torkelo
- Mixed Data Source: Fix error when one query is disabled. #16409, @marefr
- Search: Fixes search limits and adds a page parameter. #16458, @torkelo
- Security: Responses from backend should not be cached. #16848, @marefr
Breaking changes
- Gauge Panel: The suffix / prefix options have been removed from the new Gauge Panel (introduced in v6.0). #16870.
6.1.6 (2019-04-29)
Features / Enhancements
Bug Fixes
6.1.5 (2019-04-29)
- Security: Urgent security patch release. Please read more in our blog
6.1.4 (2019-04-16)
Bug Fixes
- DataPanel: Added missing built-in interval variables to scopedVars. #16556, @torkelo
- Explore: Adds maxDataPoints to data source query options . #16513, @hugohaggmark
- Explore: Fixes so intervals are recalculated on run query. #16510, @hugohaggmark
- Heatmap: Fix for empty graph when panel is too narrow (#16378). #16460, @alexanderzobnin
- Heatmap: Fixed auto decimals when bucket name is not number. #16609, @torkelo
- QueryInspector: Now shows error responses again. #16514, @torkelo
6.1.3 (2019-04-09)
Bug Fixes
- Graph: Fixed auto decimals in legend values for some units like
ms
ands
. #16455, @torkelo - Graph: Fixed png rendering with legend to the right. #16463, @torkelo
- Singlestat: Use decimals when manually specified. #16451, @torkelo
- UI Switch: Fix broken UI switches. Fixes Default Data Source switch, Explore Logs switches, Gauge option switches. #16303, @dprokop
6.1.2 (2019-04-08)
Bug Fixes
- Graph: Fixed series legend color for hidden series. #16438, @Ijin08
- Graph: Fixed tooltip highlight on white theme. #16429, @torkelo
- Styles: Fixed menu hover highlight border. #16431, @torkelo
- Singlestat Panel: Correctly use the override decimals. #16413, @torkelo
6.1.1 (2019-04-05)
Bug Fixes
- Alerting: Notification channel http api fixes. #16379, @marefr
- Graphite: Editing graphite query function now works again. #16390, @torkelo
- Playlist: Kiosk & auto fit panels modes are working normally again . #16403, @torkelo
- QueryEditors: Toggle edit mode now always work on slower computers. #16394, @seanlaff
6.1.0 (2019-04-03)
Bug Fixes
- CloudWatch: Fix for dimension value list when changing dimension key. #16356, @mtanda
- Graphite: Editing function arguments now works again. #16297, @torkelo
- InfluxDB: Fix tag names with periods in alert evaluation. #16255, @floyd-may
- PngRendering: Fix for panel height & title centering . #16351, @torkelo
- Templating: Fix for editing query variables. #16299, @torkelo
6.1.0-beta1 (2019-03-27)
New Features
- Prometheus: adhoc filter support #8253, thx @mtanda
- Permissions: Editors can become admin for dashboards, folders and teams they create. #15977, @xlson
Minor
- Auth: Support listing and revoking auth tokens via API #15836
- Alerting: DingDing notification channel now includes alert values. #13825, @athurg
- Alerting: Notification channel http api enhancements. #16219, @marefr
- CloudWatch: Update metrics/dimensions list. #16137, @mtanda
- Cloudwatch: Add AWS RDS MaximumUsedTransactionIDs metric #15077, thx @activeshadow
- Cache: Adds support for using out of proc caching in the backend #10816
- Dashboard: New keyboard shortcut
d l
toggles all Graph legends in a dashboard. #15770, @jsferrei - Data Source: Only log connection string in dev environment #16001
- DataProxy: Add custom header (X-Grafana-User) to data source requests with the current username. #15998, @aocenas
- DataProxy: Make it possible to add user details to requests sent to the dataproxy #6359 and #15931
- DataProxy: Adds oauth pass-through option for data sources. #15205, @seanlaff
- Explore: Hide empty duplicates column in logs viewer. #15982, @steven-sheehy
- Explore: Make it possible to close left pane of split view. #16155, @dprokop
- Explore: Move back / forward with browser buttons now works. #16150, @hugohaggmark
- Explore: Update Loki labels when label selector is opened. #16131, @dprokop
- Graph Panel: New options for X-axis Min & Max (for histograms). #14877, @papagian
- Heatmap: You can now choose to hide buckets with zero value. #15934, @alexanderzobnin
- Heatmap:
Middle
bucket bound option #15683 - Heatmap:
Reverse order
option for changing order of buckets #15683 - Prometheus: Change alignment of range queries to end before now and not in future. #16110, @davkal
- Prometheus: Dedup annotations events with same timestamp . #16152, @torkelo
- SQL: Use default min interval of 1m for all SQL data sources. #15799, @marefr
- TablePanel: Column color style now works even after removing columns. #16227, @torkelo
- Templating: Custom variable value now escapes all backslashes properly. #15980, @srid12
- Templating: Data source variable now supports multi-value for uses cases that involve repeating panels & rows. #15914, @torkelo
- VictorOps: Adds more information to the victor ops notifiers #15744, thx @zhulongcheng
Bug Fixes
- Alerting: Don't include non-existing image in MS Teams notifications. #16116, @SGI495
- Api: Invalid org invite code #10506
- Annotations: Fix for native annotations filtered by template variable with pipe. #15515, @marefr
- Dashboard: Fix for time regions spanning across midnight. #16201, @marefr
- Data Source: Handles nil jsondata field gracefully #14239
- Data Source: Empty user/password was not updated when updating data sources #15608, thx @Maddin-619
- Elasticsearch: Fixes using template variables in the alias field. #16229, @daniellee
- Elasticsearch: Fix incorrect index pattern padding in alerting queries. #15892, @sandlis
- Explore: Fix for Prometheus autocomplete not working in Firefox. #16192, @hugohaggmark
- Explore: Fix for url does not keep query after browser refresh. #16189, @hugohaggmark
- Gauge: Interpolate scoped variables in repeated gauges #15739
- Graphite: Fixed issue with using series ref and series by tag. #16111, @torkelo
- Graphite: Fixed variable quoting when variable value is numeric. #16149, @torkelo
- Heatmap: Fixes Y-axis tick labels being in wrong order for some Prometheus queries. #15932, @alexanderzobnin
- Heatmap: Negative values are now displayed correctly in graph & legend. #15953, @alexanderzobnin
- Heatmap: legend shows wrong colors for small values #14019
- InfluxDB: Always close request body even for error status codes. #16207, @ramongtx
- ManageDashboards: Fix for checkboxes not appearing properly Firefox . #15981, @srid12
- Playlist: Leaving playlist now always stops playlist . #15791, @peterholmberg
- Prometheus: fixes regex ad-hoc filters variables with wildcards. #16234, @daniellee
- TablePanel: Column color style now works even after removing columns. #16227, @torkelo
- TablePanel: Fix for white text on white background when value is null. #16199, @peterholmberg
6.0.2 (2019-03-19)
Bug Fixes
- Alerting: Fixed issue with AlertList panel links resulting in panel not found errors. #15975, @torkelo
- Dashboard: Improved error handling when rendering dashboard panels. #15970, @torkelo
- LDAP: Fix allow anonymous server bind for ldap search. #15872, @marefr
- Discord: Fix discord notifier so it doesn't crash when there are no image generated. #15833, @marefr
- Panel Edit: Prevent search in VizPicker from stealing focus. #15802, @peterholmberg
- Data Source admin: Fixed url of back button in data source edit page, when root_url configured. #15759, @dprokop
6.0.1 (2019-03-06)
Bug Fixes
- Metrics: Fixes broken usagestats metrics for /metrics #15651
- Dashboard: Fixes kiosk mode should have &kiosk appended to the url #15765
- Dashboard: Fixes kiosk=tv mode with autofitpanels should respect header #15650
- Image rendering: Fixed image rendering issue for dashboards with auto refresh, . #15818, @torkelo
- Dashboard: Fix only users that can edit a dashboard should be able to update panel json. #15805, @marefr
- LDAP: fix allow anonymous initial bind for ldap search. #15803, @marefr
- UX: Fixed scrollbar not visible initially (only after manual scroll). #15798, @torkelo
- Data Source admin TestData #15793, @hugohaggmark
- Dashboard: Fixed scrolling issue that caused scroll to be locked to bottom. #15792, @torkelo
- Explore: Viewers with viewers_can_edit should be able to access /explore. #15787, @jschill
- Security fix: limit access to org admin and alerting pages. #15761, @marefr
- Panel Edit minInterval changes did not persist #15757, @hugohaggmark
- Teams: Fixed bug when getting teams for user. #15595, @hugohaggmark
- Stackdriver: fix for float64 bounds for distribution metrics #14509
- Stackdriver: no reducers available for distribution type #15179
6.0.0 stable (2019-02-25)
Bug Fixes
- Dashboard: fixes click after scroll in series override menu #15621
- MySQL: fix mysql query using _interval_ms variable throws error #14507
6.0.0-beta3 (2019-02-19)
Minor
- CLI: Grafana CLI should preserve permissions for backend binaries for Linux and Darwin #15500
- Alerting: Allow image rendering 90 percent of alertTimeout #15395
Bug fixes
- Influxdb: Add support for alerting on InfluxDB queries that use the non_negative_difference function #15415, thx @kiran3394
- Alerting: Fix percent_diff calculation when points are nulls #15443, thx @max-neverov
- Alerting: Fixed handling of alert urls with true flags #15454
6.0.0-beta2 (2019-02-11)
New Features
- AzureMonitor: Enable alerting by converting Azure Monitor API to Go #14623
Minor
- Alerting: Adds support for images in pushover notifier #10780, thx @jpenalbae
- Graphite/InfluxDB/OpenTSDB: Fix always take dashboard timezone into consideration when handle custom time ranges #15284
- Stackdriver: Template variables in filters using globbing format #15182
- Cloudwatch: Add
resource_arns
template variable query function #8207, thx @jeroenvollenbrock - Cloudwatch: Add AWS/Neptune metrics #14231, thx @tcpatterson
- Cloudwatch: Add AWS/EC2/API metrics #14233, thx @tcpatterson
- Cloudwatch: Add AWS RDS ServerlessDatabaseCapacity metric #15265, thx @larsjoergensen
- MySQL: Adds data source SSL CA/client certificates support #8570, thx @bugficks
- MSSQL: Timerange are now passed for template variable queries #13324, thx @thatsparesh
- Annotations: Support PATCH verb in annotations http api #12546, thx @SamuelToh
- Templating: Add json formatting to variable interpolation #15291, thx @mtanda
- Login: Anonymous usage stats for token auth #15288
- AzureMonitor: improve autocomplete for Log Analytics and App Insights editor #15131
- LDAP: Fix IPA/FreeIPA v4.6.4 does not allow LDAP searches with empty attributes #14432
- Provisioning: Allow testing data sources that were added by config #12164
- Security: Fix CSRF Token validation for POSTs #1441
Breaking changes
- Internal Metrics Edition has been added to the build_info metric. This will break any Graphite queries using this metric. Edition will be a new label for the Prometheus metric. #15363
Bug fixes
- Gauge: Fix issue with gauge requests being cancelled #15366
- Gauge: Accept decimal inputs for thresholds #15372
- UI: Fix error caused by named colors that are not part of named colors palette #15373
- Search: Bug pressing special regexp chars in input fields #12972
- Permissions: No need to have edit permissions to be able to "Save as" #13066
6.0.0-beta1 (2019-01-30)
New Features
- Alerting: Adds support for Google Hangouts Chat notifications #11221, thx @PatrickSchuster
- Elasticsearch: Support bucket script pipeline aggregations #5968
- Influxdb: Add support for time zone (
tz
) clause #10322, thx @cykl - Snapshots: Enable deletion of public snapshot #14109
- Provisioning: Provisioning support for alert notifiers #10487, thx @pbakulev
- Explore: A whole new way to do ad-hoc metric queries and exploration. Split view in half and compare metrics & logs and much much more. Read more here
- Auth: Replace remember me cookie solution for Grafana's builtin, LDAP and OAuth authentication with a solution based on short-lived tokens #15303
Minor
- Templating: Built in time range variables
$__from
and$__to
, #1909 - Alerting: Use separate timeouts for alert evals and notifications #14701, thx @sharkpc0813
- Elasticsearch: Add support for offset in date histogram aggregation #12653, thx @mattiarossi
- Elasticsearch: Add support for moving average and derivative using doc count (metric count) #8843 #11175
- Elasticsearch: Add support for template variable interpolation in alias field #4075, thx @SamuelToh
- Influxdb: Fix autocomplete of measurements does not escape search string properly #11503, thx @SamuelToh
- Stackdriver: Aggregating series returns more than one series #14581 and #13914, thx @kinok
- Cloudwatch: Fix Assume Role Arn #14722, thx @jaken551
- Postgres/MySQL/MSSQL: Nanosecond timestamp support (
$__unixEpochNanoFilter
,$__unixEpochNanoFrom
,$__unixEpochNanoTo
) #14711, thx @ander26 - Provisioning: Fixes bug causing infinite growth in dashboard_version table. #12864
- Auth: Prevent password reset when login form is disabled or either LDAP or Auth Proxy is enabled #14246, thx @SilverFire
- Admin: Fix prevent removing last grafana admin permissions #11067, thx @danielbh
- Admin: When multiple user invitations, all links are the same as the first user who was invited #14483
- LDAP: Upgrade go-ldap to v3 #14548
- OAuth: Support OAuth providers that are not RFC6749 compliant #14562, thx @tdabasinskas
- Proxy whitelist: Add CIDR capability to auth_proxy whitelist #14546, thx @jacobrichard
- Dashboard:
Min width
changed toMax per row
for repeating panels. This lets you specify the maximum number of panels to show per row and by that repeated panels will always take up full width of row #12991, thx @pgiraud - Dashboard: Retain decimal precision when exporting CSV #13929, thx @cinaglia
- Templating: Escaping "Custom" template variables #13754, thx @IntegersOfK
- Templating: Add percentencode formatting to variable interpolation to be used mainly for url escaping #12764, thx @cxcv
- Units: Add blood glucose level units mg/dL and mmol/L #14519, thx @kjedamzik
- Units: Add Floating Point Operations per Second units #14558, thx @hahnjo
- Table: Renders epoch string as date if date column style #14484
- Dataproxy: Override incoming Authorization header #13815, thx @kornholi
- Dataproxy: Add global data source proxy timeout setting #5699, thx @RangerRick
- Database: Support specifying database host using IPV6 for backend database and sql data sources #13711, thx @ellisvlad
- Database: Support defining additional database connection string args when using
url
property in database settings #14709, thx @tpetr - Stackdriver: crossSeriesAggregation not being sent with the query #15129, thx @Legogris
Bug fixes
- Search: Fix for issue with scrolling the "tags filter" dropdown, fixes #14486
- Prometheus: Query for annotation always uses 60s step regardless of dashboard range, fixes #14795
- Annotations: Fix creating annotation when graph panel has no data points position the popup outside viewport #13765, thx @banjeremy
- Piechart/Flot: Fixes multiple piechart instances with donut bug #15062
- Postgres: Fix default port not added when port not configured #15189
- Alerting: Fixes crash bug when alert notifier folders are missing #15295
- Dashboard: Fix save provisioned dashboard modal #15219
- Dashboard: Fix having a long query in prometheus dashboard query editor blocks 30% of the query field when on OSX and having native scrollbars #15122
- Explore: Fix issue with wrapping on long queries #15222
- Explore: Fix cut & paste adds newline before and after selection #15223
- Dataproxy: Fix global data source proxy timeout not added to correct http client #15258 #5699
Breaking changes
- Text Panel: The text panel does no longer by default allow unsanitized HTML. #4117. This means that if you have text panels with scripts tags they will no longer work as before. To enable unsafe javascript execution in text panels enable the settings
disable_sanitize_html
under the section[panels]
in your Grafana ini file, or set env variableGF_PANELS_DISABLE_SANITIZE_HTML=true
. - Dashboard: Panel property
minSpan
replaced bymaxPerRow
. Dashboard migration will automatically migrate all dashboard panels using theminSpan
property to the newmaxPerRow
property #12991
For older release notes, refer to the CHANGELOG_ARCHIVE.md