9.5.0 (2023-04-04)
Features and enhancements
- PanelChrome: Add option to show actions on the right side (actions = leftItems). #65762, @torkelo
- Angular: Prevent angular from loading when disabled. #65755, @torkelo
- Alerting: Fetch all applied alerting configurations. #65728, @santihernandezc
- Docs: Deprecate dashboard previews. #65698, @ArturWierzbicki
- MSSQL: Update forked go-mssqldb dependency. #65658, @stephaniehingtgen
-
Loki: Add
unpack
query builder hint. #65608, @svennergr -
Dashboards: Enable feature flag
newPanelChromeUI
by default. #65593, @axelavargas - Alerting: Respect “For” Duration for NoData alerts. #65574, @JacobsonMT
- Dashboard: When dashboard is not found show message instead of empty page. #65508, @polibb
- Alerting: Introduce proper feature toggles for common state history backend combinations. #65497, @alexweav
- Alerting: No longer index state history log streams by instance labels. #65474, @alexweav
- Prometheus: Use $__rate_interval for rate queries generated by metric browser. #65386, @ivanahuckova
- SQL Datasources: Add back help content. #65383, @zoltanbedi
- Dashboard: Add new visualization/row/library panel/pasted panel is now a dropdown menu. #65361, @polibb
- Elasticsearch: Run Explore queries trough data source backend. #65339, @ivanahuckova
- Navigation: Enable new navigation by default. #65335, @ashharrison90
- Tracing: Docs and config improvements for Tempo/Jaeger/Zipkin. #65255, @joey-grafana
- CloudMonitoring: Add possibility to use path for private key. #65252, @zoltanbedi
- Schema: Remove exclusion for timeseries and update imports. #65242, @ryantxu
- Dashboard: Empty/No Panels dashboard with a new design. #65161, @polibb
- Units: Format currency with negative before the symbol. #65152, @ryantxu
- Transformers: Support adding the row index using calculate field transformer. #65148, @ryantxu
- Live: Remove (alpha) ability to configure live pipelines. #65138, @ryantxu
- Prometheus Metrics: Add missing stat_total_teams metric. #65133, @gamab
- Alerting: Switch to snappy-compressed-protobuf for outgoing push requests to Loki. #65077, @alexweav
- Auth: Add feature flag to move token rotation to client. #65060, @kalleep
- Stat Panel: Add an option for a non-gradient/solid background. #65052, @baldm0mma
- Connections: Turn on feature toggle by default. #64885, @mikkancso
- Notifications: Enable display of trace ID by default. #64884, @ashharrison90
- Tempo: Update service graph view and docs. #64875, @joey-grafana
- Alerting: Add CustomDetails field in PagerDuty contact point. #64860, @santihernandezc
- Prometheus/Loki: Run query explicitly instead of onblur in panel edit. #64815, @torkelo
- Docs: Add documentation on how to debug backend plugins. #64814, @xnyo
- SupportBundles: Add OAuth bundle collectors. #64810, @Jguer
- Panel Header: Add CancelQuery option to panel header. #64796, @axelavargas
- Cloudwatch: Add MeteredIOBytes metric for EFS. #64793, @xlagg5
- Alerting: Create new state history “fanout” backend that dispatches to multiple other backends at once. #64774, @alexweav
- Search: Improvements for starred dashboard search. #64758, @IevaVasiljeva
- Tracing: Add more detail to HTTP Outgoing Request. #64757, @bboreham
- Loki: Always fetch for new label keys in the QueryBuilder. #64597, @svennergr
- Extensions: Expose an enum for available placements. #64586, @leventebalogh
- PublicDashboards: Enable creation when dashboard has template variables. #64560, @juanicabanas
- FieldMatchers: Add match by value (reducer). #64477, @leeoniya
- Dashboard Datasource: Update Query List & Improve UX. #64429, @codeincarnate
- Logger: Add feature toggle for errors in HTTP request logs. #64425, @sakjur
- Admin/Plugins: Set category filter in connections link. #64393, @mikkancso
- Logs: Add millisecond to timestamp in log line. #64372, @svennergr
- Alerting: Support filtering rules by multiple datasources. #64355, @VikaCep
- Stat: Add ability to remove default single-color background gradient. #64353, @baldm0mma
- Panel: Show multiple errors info in the inspector. #64340, @andresmgot
- TraceView: Add key and url escaping of json tag values. #64331, @aocenas
- Phlare: Allow variables in labelSelector (in query). #64324, @joey-grafana
- Chore: Add stat for remote cache config. #64276, @DanCech
- Jaeger and Zipkin: Config & docs upgrade. #64250, @joey-grafana
- Pubdash: Email sharing handle dashboard deleted. #64247, @owensmallwood
- Packaging: Start Grafana service after InfluxDB. #64090, @MichaIng
- CloudWatch: Make deeplinks work for us-gov and china regions. #64080, @iwysiu
- Explore: Add range option to internal data links. #64063, @connorlindsey
- Alerting: Add metrics for active receiver and integrations. #64050, @gotjosh
- Loki: Add descriptions to query builder operations. #64046, @gwdawson
- Tempo: Config and doc updates. #64017, @joey-grafana
- PublicDashboards: Paused or deleted public dashboard screen. #63970, @juanicabanas
- Alerting: Add fuzzy search to alert list view. #63931, @konrad147
- Service accounts: Creation logic simplification. #63884, @IevaVasiljeva
- Select: Show icon in the grafana/ui Select component. #63827, @ryantxu
- Transformations: Support time format when converting time to strings. #63826, @ryantxu
- CloudWatch: Add account support to variable queries. #63822, @iwysiu
- Command Palette: Display dashboard location. #63807, @ashharrison90
- Plugins: Extend panel menu with commands from plugins. #63802, @mckn
- Datasources: Add user_agent header customization for outgoing HTTP requests. #63769, @zhichli
- PublicDashboards: Email sharing. #63762, @juanicabanas
- Plugins: Support for distributed tracing in backend plugins SDK. #63714, @xnyo
- LDAP: Allow setting minimum TLS version and accepted ciphers. #63646, @Jguer
- Loki: Improve the display of loki query stats. #63623, @gwdawson
- CloudWatch: Add AWS/IotSiteWise namespace and metrics. #63534, @iwysiu
- Prometheus: Improve prometheus query variable editor. #63529, @bohandley
- Feat: Changing link destination for get more plugins. #63517, @tolzhabayev
- Feat: Linking to plugin details page rather than externally for new datasources. #63499, @tolzhabayev
- API: Enable serving Swagger UI by default and add docs and guidelines. #63489, @papagian
- Profiling: Enable flame graph & Phlare/Parca data sources for all users. #63488, @joey-grafana
- Geomap: Improve tooltip url for photos layer. #63487, @adela-almasan
- Alerting: Add filter and remove funcs for custom labels and annotations. #63437, @grobinson-grafana
- Geomap: Release night / day layer. #63435, @adela-almasan
- PublicDashboards: Backfills share column with default value. #63407, @owensmallwood
- Accessibility: Make row actions keyboard accessible. #63367, @ashharrison90
- Alerting: Better printing of labels. #63348, @grobinson-grafana
- Elasticsearch: Detect Elasticsearch version. #63341, @gabor
- Metrics: Update comment to mention folders instead of dashboards. #63312, @monteiro-renato
- Login: Allow custom name and icon for social providers. #63297, @jkroepke
- Alerting: Enable preview for recording rules. #63260, @VikaCep
- Alerting: Add dashboard and panel links to rule and instance annotations. #63243, @konrad147
- PublicDashboards: Configuration modal redesign. #63211, @juanicabanas
- Table: Introduce sparkline cell type . #63182, @domasx2
- CloudWatch Logs: Update default timeout to 30m. #63155, @ashnove
- Loki: Display error with label filter conflicts. #63109, @gwdawson
- TraceView: Reworked header. #63105, @joey-grafana
- Plugins: Extend panel menu with links from plugins. #63089, @jackw
- Plugin: Skip preloading disabled app plugins. #63083, @mckn
- Explore: Support mixed data sources for supplementary query. #63036, @ifrost
- Alerting: Make time range query parameters not required when querying Loki. #62985, @alexweav
- Plugins: Add optional logger for plugin requests sent to backend plugins. #62981, @bergquist
- Logs: Rename dedup to deduplicate. #62944, @gwdawson
- MSSQL/Postgres: List views in table dropdown as well. #62867, @zoltanbedi
- Backend: Use sdk version 0.148.0. #62822, @kylebrandt
- Chore: Use DOMPurify to sanitize strings rather than js-xss. #62787, @KristianGrafana
- Loki: Add placeholder to the loki query editor. #62773, @gwdawson
- Dataplane: Support timeSeriesLong without transform. #62732, @bohandley
- Chore: Replace short UID generation with more standard UUIDs. #62731, @ryantxu
- Auth: Show user sync external Authentication status. #62721, @lokeswaran-aj
- Flame graph: Add context menu. #62705, @joey-grafana
- Dashboard: Add a feature that creates a table panel when a spreadsheet file is dropped on the dashboard. #62688, @oscarkilhed
- Command palette: Enable folder searching. #62663, @ashharrison90
- Logs Panel: Refactor style generation to improve rendering performance. #62599, @matyax
- InfluxDB: Move database information into jsondata. #62308, @itsmylife
- Dashboard: Add value format for requests per minute. #62258, @dwradcliffe
- Loki Query Editor: Make Monaco the default editor. #62247, @matyax
- SplitOpen: Update API to accept multiple queries. #62245, @ivanahuckova
- QueryHistory: Improve handling of mixed datasource entries. #62214, @Elfo404
- API: Permit Cache-Control (browser caching) for datasource resources. #62033, @kylebrandt
- Alerting: New notification policies view. #61952, @gillesdemey
- Flame graph: Add metadata above flame graph. #61921, @joey-grafana
- Datasources: Use getDefaultQuery in annotations editors. #61870, @idastambuk
- Explore: Add transformations to correlation data links. #61799, @gelicia
- Plugins: Support for link extensions. #61663, @mckn
- Cookies: Provide a mechanism for per user control over cookies. #61566, @sakjur
- Table Panel: Add ability to use text color for value or hide value in gauge cell. #61477, @torkelo
- Tracing: Support multiple OTel propagators. #61199, @hairyhenderson
- Plugins: Improve instrumentation by adding metrics and tracing. #61035, @xnyo
- NodeGraph: Support icons for nodes. #60989, @aocenas
- Rendering: Experimental support to use JWTs as auth method. #60841, @joanlopez
- Prometheus: Browser resource caching. #60711, @gtk-grafana
- Prometheus Datasource: Improve Prom query variable editor. #58292, @bohandley
- Reports: Improve the UI for the new navigation. (Enterprise)
- Pubdash: Email sharing handle dashboard deleted. (Enterprise)
- PublicDashboards: Email sharing. (Enterprise)
- PublicDashboards: Viewer can request and claim magic link. (Enterprise)
- Licensing: Allow server admin user to log in even if the active user limit is reached. (Enterprise)
Bug fixes
- Plugins: Fix width for README pages with tables. #66872, @andresmgot
- Elasticsearch: Handle multiple annotation structures. #66762, @gabor
- Alerting: Fix share URL for Prometheus rules on subpath. #66752, @gillesdemey
- Alerting: Fix DatasourceUID and RefID missing for DatasourceNoData alerts. #66733, @grobinson-grafana
- Navigation: Redirect to root page when switching organization. #66655, @ashharrison90
- Trace View: Update the queryType to traceql for checking if same trace when clicking span link. #66645, @ericmustin
- Dashboards: Fix broken internal data links. #66567, @ifrost
- Google Cloud Monitoring: Fix project variable. #66524, @asimpson
- InfluxDB: Fix querying with hardcoded retention policy. #66466, @itsmylife
- Alerting: Hide mute timing actions when dealing with vanilla prometheus. #66457, @gillesdemey
- Alerting: Fix creating a recording rule when having multiple datasources. #66415, @VikaCep
- AccessControl: Allow editors to access GET /api/datasources. #66343, @mgyongyosi
- Table Panel: Fix panel migration for options cell type. #66305, @ryantxu
- Navigation: Scrolled hamburger menu links now navigate correctly in Safari. #66261, @ashharrison90
- Query Splitting: Fix for handling queries with no requestId. #66161, @domasx2
- Cloudwatch: Pass refId from query for expression queries. #66147, @idastambuk
- Alerting: Fix explore link in alert detail view. #66106, @gillesdemey
- Plugins: Skip instrumenting plugin build info for core and bundled plugins. #66105, @wbrowne
- Fix: DataLinks from data sources override user defined data link. #65996, @axelavargas
- SQL Datasources: Fix variable throwing error if query returns no data. #65937, @mdvictor
- Annotations: Ignore unique constraint violations for tags. #65935, @sakjur
- PluginExtensions: Fixed issue with incorrect type being exposed when configuring an extension. #65910, @mckn
- Annotation List: Fix panel not updating when variable is changed. #65899, @JoaoSilvaGrafana
- Table: Fix migrations from old angular table for cell color modes . #65760, @torkelo
- TablePanel: Fix table cells overflowing when there are multiple data links. #65711, @oscarkilhed
- PieChart: Show long labels properly. #65699, @mdvictor
- New Panel Header: Fix when clicking submenu item the parent menu item onClick get’s triggered . #65691, @axelavargas
- TimeSeries: Don’t extend stepped interpolation to graph edges. #65657, @leeoniya
- BrowseDashboards: Fix move to General folder not working. #65653, @joshhunt
- CloudMonitoring: Add project selector for MQL editor[fix]. #65567, @alyssabull
- Dashboards: Fix Mobile support dashboard issues on new iOS 16.3 . #65542, @axelavargas
- Loki: Fix autocomplete situations with multiple escaped quotes. #65520, @svennergr
- TimeSeries: Improve stacking direction heuristic. #65499, @leeoniya
- CloudWatch: Fix cachedQueries insights not being updated for metric queries. #65495, @kevinwcyu
- AzureMonitor: Fix Log Analytics portal links. #65482, @aangelisc
- ErrorView: Better detection of no-data responses. #65477, @leeoniya
- Phlare: Fix error when there are no profileTypes to send from backend. #65455, @aocenas
- MegaMenu: Fixes mega menu showing scroll indicator when it shouldn’t. #65452, @torkelo
- Alerting: Add alert instance labels to Loki log lines in addition to stream labels. #65403, @alexweav
- Alerting: Add “backend” label to state history writes metrics. #65395, @alexweav
- Plugins: Markdown fetch retry with lowercase. #65384, @wbrowne
- API: Fix “Updated by” Column in dashboard versions table. #65351, @papagian
- Alerting: Use displayNameFromDS if available in preview. #65342, @gillesdemey
- HeatMap: Sort y buckets when all bucket names are numeric. #65322, @leeoniya
- CloudWatch Logs: Fix running logs queries with expressions. #65306, @iwysiu
- Library panels: Ensure pagination controls are always correctly displayed. #65283, @ashharrison90
- Templating: Allow percent encoding of variable with custom all. #65266, @dprokop
- Alerting: Paginate result previews. #65257, @gillesdemey
- CloudWatch Logs: Fix to make log queries use a relative time if available. #65236, @kevinwcyu
- Table: Fixes issue with pagination summary causing scrollbar . #65189, @torkelo
- Dashboards: Evaluate provisioned dashboard titles in a backwards compatible way. #65184, @sakjur
- Elasticsearch: Fix processing of response with multiple group by for alerting. #65165, @ivanahuckova
-
Explore: Make
DataSourcePicker
visible on small screens. #65149, @abdulhdr1 - Alerting: Fix attachment of external labels to Loki state history log streams. #65140, @alexweav
- Catalog: Show install error with incompatible version. #65059, @andresmgot
- Tempo: Set default limit if none is provided for traceql queries. #65039, @domasx2
- CloudWatch Logs: Revert “Queries in an expression should run synchronously (#64443)”. #65036, @fridgepoet
- XYChart: Add all dataset columns in tooltip. #65027, @mdvictor
- Alerting: Fix ambiguous handling of equals in labels when bucketing Loki state history streams. #65013, @alexweav
- Alerting: Elide requests to Loki if nothing should be recorded. #65011, @alexweav
- Table: Fixes table panel gauge alignment . #64994, @torkelo
- Alerting: Use a completely isolated context for state history writes. #64989, @alexweav
- SQL Datasources: Prevent Call Stack Overflows with Large Numbers of Values for Variable. #64937, @codeincarnate
- TraceView: Don’t require preferredVisualisationType to render. #64920, @aocenas
- SQLStore: Fix SQLite error propagation if query retries are disabled. #64904, @papagian
- Alerting: Fix stats that display alert count when using unified alerting. #64852, @gotjosh
- Database: Don’t sleep 10ms before every request. #64832, @bboreham
- PublicDashboards: Query collapsed panels inside rows. #64779, @evictorero
- Chore: Update Grafana to use Alertmanager v0.25.1-0.20230308154952-78fedf89728b. #64778, @yuri-tceretian
- Alerting: Update scheduler to get updates only from database. #64635, @yuri-tceretian
- Email: Mark HTML comments as “safe” in email templates. #64546, @gillesdemey
- Alerting: Prometheus-compatible Alertmanager timings editor. #64526, @konrad147
- Fix: Top table rendering and update docs. #64497, @joey-grafana
- Utils: Reimplement util.GetRandomString to avoid modulo bias. #64481, @DanCech
- Frontend: Fix broken links in /plugins when pathname has a trailing slash. #64348, @gassiss
- Stat Panel: Fix issue with clipping text values. #64300, @JoaoSilvaGrafana
- TablePanel: fix footer bug; no footer calculated values after “hidden” column override. #64269, @baldm0mma
- InfluxDB: Fix sending retention policy with InfluxQL queries. #63820, @itsmylife
- ErrorHandling: Fixes issues with bad error messages. #63775, @torkelo
- NestedFolders: Fix nested folder deletion. #63572, @ying-jeanne
- Geomap: Fix route layer zoom behavior. #63409, @drew08t
- KVStore: Include database field in migration. #62790, @zoltanbedi
- Plugins: Ensure proxy route bodies are valid JSON. #61771, @wbrowne
- LDAP: Always synchronize Server Admin role through role sync if role sync is enabled. #58820, @IevaVasiljeva
- Emails: Preserve HTML comments. (Enterprise)
- Team sync: Fix apply query string instead of param. (Enterprise)
Breaking changes
default
named retention policies won’t be used to query. Users who have a default
named retention policy in their influxdb
database, have to rename it to something else. Having default
named retention policy is not breaking anything. We will make sure to use the actual default retention policy under the hood. To change the hardcoded retention policy in the dashboard.json
, users must they select the right retention policy from dropdown and save the panel/dashboard. Issue #66466
Grafana Alerting rules with NoDataState
configuration set to Alerting
will now respect “For” duration. Issue #65574
Users who use LDAP role sync to only sync Viewer, Editor and Admin roles, but grant Grafana Server Admin role manually will not be able to do that anymore. After this change, LDAP role sync will override any manual changes to Grafana Server Admin role assignments. If grafana_admin
is left unset in LDAP role mapping configuration, it will default to false. Issue #58820
Plugin development fixes & changes
- DateTimePicker: Can now select time correctly. #65428, @eledobleefe
- Grafana UI: Fix tooltip prop of button component. #64765, @suleymanbariseser
- DateTimePicker: Add min date support to calendar. #64632, @nevermind89x
- GrafanaUI: Implement new component Toggletip. #64459, @yduartep
- ContextMenu: Fix padding and show border based on items. #63948, @aocenas