Changelog: Updates in Grafana 10.2.3

Features and enhancements

Bug fixes

  • Alerting: Fix deleting rules in a folder with matching UID in another organization. #79011, @papagian
  • CloudWatch: Correctly quote metric names with special characters. #78958, @iwysiu
  • Fix: Use dashboard time range in prometheus variable editor. #78950, @itsmylife
  • DeleteDashboard: Redirect to home after deleting a dashboard. #78936, @ivanortegaalba
  • Alerting: Change create/update permissions for silences. #78920, @VikaCep
  • DeleteDashboard: Redirect to home after deleting a dashboard. #78918, @ivanortegaalba
  • Alerting: Fixes combination of multiple predicates for rule search. #78910, @gillesdemey
  • Timeseries to table transformation: Fix misaligned table field values if some frames are missing a label. #78909, @domasx2
  • CloudWatch: Fetch Dimension keys correctly from Dimension Picker. #78831, @iwysiu
  • Plugins: Only preload plugins if user is authenticated. #78805, @marefr
  • Tempo: Fix read-only access error. #78801, @fabrizio-grafana
  • Stats: Fix unregistered unified alerting metric. #78777, @alexweav
  • RBAC: Adjust filter for acl list to check for permissions on service accounts. #78681, @kalleep
  • Bug: Fix broken ui components when angular is disabled. #78670, @jackw
  • Plugins: Only set non-existing headers for core plugin requests. #78633, @aangelisc
  • CloudWatch: Fetch Dimension keys correctly from Dimension Picker. #78556, @iwysiu
  • InfluxDB: Parse data for table view to have parity with frontend parser. #78551, @itsmylife
  • Elasticsearch: Fix processing of raw_data with not-recognized time format. #78380, @ivanahuckova
  • Command Palette: Fix for chinese input and keystrokes being lost in slow environments. #78373, @ashharrison90
  • InfluxDB: Parse data for table view to have parity with frontend parser. #78365, @itsmylife
  • FeatureToggle: Disable dashgpt by default and mark it as preview. #78348, @ivanortegaalba
  • Explore: Fixes issue with adhoc filters when coming from dashboards. #78339, @torkelo
  • SaveDashboardPrompt: Reduce time to open drawer when many changes applied. #78283, @ivanortegaalba
  • Elasticsearch: Fix processing of raw_data with not-recognized time format. #78262, @ivanahuckova
  • Alerting: Fix deleting rules in a folder with matching UID in another organization. #78258, @papagian
  • Bug: Fix broken ui components when angular is disabled. #78208, @jackw
  • Flamegraph: Update threshold for collapsing and fix flickering. #78206, @aocenas
  • Prometheus: Fix calculating rate interval when there is no interval specified. #78193, @itsmylife
  • Variables: Add support for aliasIDs to datasource variables (Fixes issue with Postgres datasource variables). #78170, @torkelo
  • Explore: Fix queries (cached & non) count in usage insights. #78097, @Elfo404
  • Dashboards: Allow updating a dashboard if the user doesn’t have access to the parent folder. #78075, @IevaVasiljeva
  • Loki: Fix escaping in cheatsheet. #78046, @ivanahuckova
  • Transformations: Fix Timeseries to table transformation trend reduction when result is 0. #78026, @oserde
  • Alerting: Fix export of notification policy to JSON. #78021, @rvillablanca
  • Dashboards: Fix dashboard listing when user can’t list any folders. #77983, @IevaVasiljeva
  • Plugins: Keep working when there is no internet access. #77978, @leventebalogh
  • DashList: Update variables in links when they change. #77787, @joshhunt
  • Alerting: Disable cache in rktq when fetching export data. #77678, @soniaAguilarPeiron
  • Alerting: Fix export with modifications URL when mounted on subpath. #77622, @gillesdemey
  • Dashboards: Fix issue causing crashes when saving new dashboard. #77620, @kaydelaney
  • Search: Modify query for better performance. #77576, @papagian
  • CloudWatch Logs: Add labels to alert and expression queries. #77529, @iwysiu
  • Explore: Fix support for angular based datasource editors. #77486, @Elfo404
  • Tempo: Fix support for statusMessage. #77438, @fabrizio-grafana
  • Plugins: Fix status_source always being “plugin” in plugin request logs. #77433, @xnyo
  • Bug Fix: Respect data source version when provisioning. #77428, @andresmgot
  • Tempo: Fix TraceQL autocompletion with missing }. #77365, @fabrizio-grafana
  • InfluxDB: Fix parsing multiple tags on backend mode. #77340, @itsmylife
  • Alerting: Apply negative matchers for route matching. #77292, @gillesdemey
  • Explore: Fix panes vertical scrollbar not being draggable. #77284, @Elfo404
  • Explore: Avoid reinitializing graph on every query run. #77281, @Elfo404
  • Prometheus: Fix $__rate_interval calculation. #77234, @itsmylife
  • Organize fields transformation: Fix re-ordering of fields using drag and drop. #77172, @adela-almasan
  • Bug fix: Correctly set permissions on provisioned dashboards. #77155, @IevaVasiljeva
  • InfluxDB: Fix adhoc filter calls by properly checking optional parameter in metricFindQuery. #77113, @itsmylife
  • Alerting: Fix NoRulesSplash being rendered for some seconds, fater creating a rule. #77048, @soniaAguilarPeiron
  • RBAC: Allow scoping access to root level dashboards. #76987, @IevaVasiljeva
  • Alerting: Dont show 1 firing series when no data in Expressions PreviewSummary. #76981, @soniaAguilarPeiron
  • InfluxDB: Fix aliasing with $measurement or $m on backend mode. #76917, @itsmylife
  • InfluxDB: Fix table parsing with backend mode. #76899, @itsmylife
  • NodeGraph: Fix edges dataframe miscategorization. #76842, @lovasoa
  • Tooltip: Ensure tooltip text is correctly announced by screenreaders. #76683, @ashharrison90
  • Alerting: Fix flaky SQLITE_BUSY when migrating with provisioned dashboards. #76658, @JacobsonMT
  • TraceView: Fix cursor not matching visual guide in the timeline when resizing. #76587, @neel1996
  • Search: Fix empty folder details for nested folder items. #76504, @papagian
  • Alerting: Alert rule constraint violations return as 400s in provisioning API. #76396, @alexweav
  • A11y: Fix no-static-element-interactions in xy chart editor. #76170, @chauchausoup
  • Alerting: Fix incorrect decoding for alert rules with % characters. #76148, @gillesdemey
  • Chore: Fix timeout issues when gathering prometheus datasource stats. #74618, @DanCech
  • Recorded Queries: Add org isolation (remote write target per org), and fix cross org Delete/List. (Enterprise)
  • Auditing: Fix missing action in alert manager routes. (Enterprise)
  • Reporting: Fix report not sent when creating / updating reports. (Enterprise)
  • Recorded Queries: Add org isolation (remote write target per org), and fix cross org Delete/List. (Enterprise)
  • UsageInsights: Disable frontend features when backend is disabled. (Enterprise)
  • PresenceIndicators: Do not retry failed views/recent API calls. (Enterprise)
  • Analytics: Use panel renderer rather than legacy flot graph. (Enterprise)
  • Plugins: Fix cloud plugins installer base url. (Enterprise)

Breaking changes

In panels using the extract fields transformation, where one of the extracted names collides with one of the already existing fields, the extracted field will be renamed. Issue #77569

For the existing backend mode users who have table visualization might see some inconsistencies on their panels. We have updated the table column naming. This will potentially affect field transformations and/or field overrides. To resolve this either:

  • Update transformation
  • Update field override Issue #76899

For the existing backend mode users who have Transformations with the time field, might see their transformations are not working. Those panels that have broken transformations will fail to render. This is because we changed the field key. See related PR: InfluxDB: Backend parser compatibility with frontend parser by itsmylife · Pull Request #69865 · grafana/grafana · GitHub
To resolve this either:

  • Remove the affected panel and re-create it
  • Select the Time field again
  • Edit the time field as Time for transformation in panel.json or dashboard.json Issue #76641

The following data source permission endpoints have been removed:

  • GET /datasources/:datasourceId/permissions
  • POST /api/datasources/:datasourceId/permissions
  • DELETE /datasources/:datasourceId/permissions
  • POST /datasources/:datasourceId/enable-permissions
  • POST /datasources/:datasourceId/disable-permissions

Please use the following endpoints instead:

  • GET /api/access-control/datasources/:uid for listing data source permissions
  • POST /api/access-control/datasources/:uid/users/:id, POST /api/access-control/datasources/:uid/teams/:id and POST /api/access-control/datasources/:uid/buildInRoles/:id for adding or removing data source permissions

If you are using Terraform Grafana provider to manage data source permissions, you will need to upgrade your provider to version 2.6.0 or newer to ensure that data source permission provisioning keeps working. Issue #5880

Deprecations

Since Grafana 10.2.3 we’re deprecating the showContextToggle data source method. To signal support of Logs Context, it is enough to implement the DataSourceWithLogsContextSupport interface.

Which issue(s) does this PR fix?:

Fixes Logs: Deprecate showContextToggle · Issue #66819 · grafana/grafana · GitHub
Related with Logs: Improve usage of logging features by external data source plugins · Issue #73568 · grafana/grafana · GitHub and Logs: Improve usage of logging features by internal data source plugins · Issue #73565 · grafana/grafana · GitHub

Special notes for your reviewer:

There should be no function change with this deprecation. Issue #77232

Plugin development fixes & changes

Download page
What’s new highlights