394 KiB
10.0.0 (2023-06-12)
Features and enhancements
- Themes: Unify secondary button and ToolbarButton. #69049, @torkelo
- PublicDashboards: Email sharing users with active sessions added in Users list . (Enterprise)
- Caching: Ensure context-canceled are not reported as errors . (Enterprise)
- SAML: Configuration UI. (Enterprise)
Bug fixes
- Query Editor: Ensure dropdown menus position correctly. #69131, @grafanabot
- Drawer: Fixes closeOnMaskClick false issue. #69103, @grafanabot
- SAML: Fix IdP metadata caching so that invalid metadata doesn't get cached. (Enterprise)
10.0.0-preview (2023-05-31)
Features and enhancements
- Alerting: Migrate unknown NoData\Error settings to the default. #69010, @grafanabot
- Drawer: Position under nav & minor redesign . #68396, @grafanabot
- Navigation: Add keyboard shortcut to navigate directly to Dashboards. #68374, @grafanabot
- Explore: Promote exploreMixedDatasource to Stable & enable by default. #68353, @Elfo404
- Tempo: Escape regex-sensitive characters in span name before building promql query. #68313, @grafanabot
- Drawer: Introduce a size property that set's width percentage and minWidth . #68128, @grafanabot
- AngularDeprecation: Show warnings in panel edit for angular panels. #68083, @grafanabot
- Dashboard: Change add panel button to fill to remove outline border. #68017, @grafanabot
- Query History: Remove migration. #67470, @Elfo404
- Alerting: Implement template testing endpoint. #67450, @JacobsonMT
- Trace View: Export trace button . #67368, @adrapereira
- Alerting: Update grafana/alerting to 4f09f51. #67329, @grobinson-grafana
- Cloudwatch: Add FraudDetector namespace with metrics and dimensions. #67318, @ffje
- Timeseries: Migrate legend hideFrom. #67305, @adela-almasan
- CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in frontend. #67222, @fridgepoet
- Docs: Create documentation for enterprise caching HTTP API. #67169, @mmandrus
- Cloudwatch Logs: Update Cheatsheet. #67161, @sarahzinger
- Alerting: Add alert instance picker. #67138, @VikaCep
- Loki: Enable dataplane-compliant metric data by default. #67137, @gabor
- Loki: Enable new log context query editor. #67131, @ivanahuckova
- Elasticsearch: Deprecate index setting for annotation queries. #67046, @ivanahuckova
- Search: Preserves search filters when navigating to another page. #67021, @khushijain21
- PanelContext: Add functionality to update data from panel. #66993, @torkelo
- Phlare: Support both Phlare and Pyroscope backends and rename to Grafana Pyroscope. #66989, @aocenas
- Packaging: Added deprecation warnings when running
grafana-cli
orgrafana-server
; thegrafana
command should be used instead. #66976, @kminehart - Elasticsearch: Update required database version to 7.16. #66928, @gabor
- Alert: Redesign with tinted background . #66918, @torkelo
- Auth: Make GitHub auth's allowed_organizations be case insensitive. #66879, @consideRatio
- Elasticsearch: Deprecate the usage of the database field in provisioning. #66828, @gwdawson
- CSRF middleware: Add flag to skip login cookie check. #66806, @PoorlyDefinedBehaviour
- Alerting: Use URLs in image annotations. #66804, @santihernandezc
- AppRootPage: Reduce flickering while loading plugin. #66799, @torkelo
- Alerting: Make Loki & Prometheus instant vector by default. #66797, @gillesdemey
- Log Context: Add button to open the context query in a split view. #66777, @svennergr
- APIkeys: Add metrics for apikey endpoints. #66732, @eleijonmarck
- ServeFromSubPath: Redirect to URL with subpath when subpath missing. #66724, @torkelo
- RBAC: Remove the option to disable RBAC and add automated permission migrations for instances that had RBAC disabled. #66652, @IevaVasiljeva
- Plugins: Remove secure socks proxy feature toggle. #66611, @stephaniehingtgen
- Alerting: Loki-based alert state history modal. #66595, @konrad147
- Explore: Promote exploreMixedDatasource feature toggle to beta. #66552, @ifrost
- Chore: Clean up NavModel interface. #66548, @ashharrison90
- Alerting: Scheduler use rule fingerprint instead of version. #66531, @yuri-tceretian
- CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in backend. #66494, @fridgepoet
- RBAC: Make access control metadata for folders work with nested folders. #66464, @IevaVasiljeva
- Tracing: Add links to documentation in config pages. #66442, @joey-grafana
- Loki: Always display log context toggle. #66379, @matyax
- Datagrid Panel: Edit data within your dashboards. #66353, @mdvictor
- Annotations: Support filtering the target panels. #66325, @ryantxu
- Alerting: Use default page size of 5000 when querying Loki for state history. #66315, @alexweav
- GrafanaData: Remove obsolete logs exports. #66271, @gabor
- Alerting: Update legacy alerting warning. #66269, @armandgrillet
- GrafanaUI: Remove obsolete logs exports. #66268, @gabor
- Explore: Remove deprecated DataSourceWithLogsVolumeSupport. #66266, @ivanahuckova
- Chore: Upgrade Go to 1.20.3. #66264, @sakjur
- Design System: Set TextArea to display: block in order to remove spacing below. #66262, @L-M-K-B
- Elasticsearch: Add feature toggle to disable running queries trough backend. #66260, @ivanahuckova
- Correlations: Add transformation editor. #66217, @gelicia
- Logs Navigation: Scroll to first log when using pagination. #66214, @matyax
- Search: Add clear search button to the input bar. #66204, @khushijain21
- Visualizations: Choose color based on series name. #66197, @lukepalmer
- FieldValues: Use plain arrays instead of Vector (part 1 of 2). #66187, @ryantxu
- Users: Enable case insensitive login by default. #66134, @Jguer
- Loki Query Editor: Increase autocomplete suggestions window with to 50%. #66041, @matyax
- Instrumentation: Add support for instrumenting database queries. #66022, @bergquist
- Loki: Add feature flag to enable dataplane-compliant metric frames. #66017, @gabor
- Tempo: Encode IDs as hexadecimal when downloading traces. #66001, @kousikmitra
- Cloudwatch: Add missing AWS/IVS namespace metrics. #65985, @idastambuk
- Alerting: Remove and revert flag alertingBigTransactions. #65976, @JacobsonMT
- Alerting: Attach hash of instance labels to state history log lines. #65968, @alexweav
- API keys: Add deprecation to api keys. #65948, @eleijonmarck
- Logs: Redesign and improve LogContext. #65939, @svennergr
- Loki: Remove alpha feature toggle lokiDataframeApi. #65918, @gabor
- Packaging: Remove chkconfig dependency. #65887, @DanCech
- Explore: Run test datasource default selection when mounted. #65864, @gelicia
- Service Accounts: Allow unsetting token expiry date. #65862, @kousikmitra
- SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode. #65834, @codeincarnate
- DashlistPanel: Add options to include time range and variable values. #65757, @VictorColomb
- Alerting: Add endpoint to revert to a previous alertmanager configuration. #65751, @JacobsonMT
- Alerting: Document state history config options in default and sample configuration files. #65748, @alexweav
- Alerting: Choose a previous valid AM configuration in case of error. #65746, @VikaCep
- Traces: Span filtering. #65725, @joey-grafana
- Caching: Refactor enterprise query caching middleware to a wire service. #65616, @mmandrus
- Alerting: Implement template preview for Grafana AlertManager. #65530, @soniaAguilarPeiron
- Dropdown: Stop Dropdown accepting a function as children. #65467, @ashharrison90
- GrafanaDS: Add support for annotation time regions. #65462, @leeoniya
- Alerting: Add support for running HA using Redis. #65267, @JohnnyQQQQ
- Tempo: Add kind to TraceQL intrinsics. #65111, @adrapereira
- Feature: Trusted Types support. #64975, @KristianGrafana
- AzureMonitor: Application Insights Traces. #64859, @aangelisc
- Chore: Remove deprecated dashboardId from panel query runner. #64786, @ryantxu
- DataFrame: Handle nanosecond-precision timestamp fields. #64529, @gabor
- EditDataSources: Add EditDataSourceActions to EditDataSourcePages. #64487, @mikkancso
- Chore: Upgrade to react 18. #64428, @ashharrison90
- Canvas: Connection properties based on data. #64360, @adela-almasan
- Explore: Align multiple log volumes. #64356, @ifrost
- Explore: Clear live logs. #64237, @abdulhdr1
- TimeSeries: Explicitly add transformer when timeseries-long exists. #64092, @ryantxu
- SAML: Configuration UI. #64054, @alexanderzobnin
- Alerting: Use configured headers for external alertmanager. #63819, @JohnnyQQQQ
- Prometheus: Incremental querying option for
to: now
dashboards. #62932, @leeoniya - Dashboard: Add series color shades. #61300, @jkraml-staffbase
Bug fixes
- ResourcePicker: Fix missing border bug on cancel button. #69113, @nmarrs
- TimeSeries: Fix centeredZero y axis ranging when all values are 0. #69112, @grafanabot
- StatusHistory: Fix rendering of value-mapped null. #69108, @grafanabot
- Alerting: Fix provenance guard checks for Alertmanager configuration to not cause panic when compared nested objects. #69094, @grafanabot
- Alerting: Add support for Alert State History Loki primary. #69077, @grafanabot
- Dashboards: Fix undefined aria labels in Annotation Checkboxes for Programmatic Access. #68873, @grafanabot
- Alerting: Fix stale query preview error. #68836, @grafanabot
- AnonymousAuth: Fix concurrent read-write crash. #68803, @grafanabot
- AzureMonitor: Ensure legacy properties containing template variables are correctly migrated. #68792, @grafanabot
- Alerting: Add additional contact points for external AM. #68778, @grafanabot
- RBAC: Remove legacy AC editor and admin role on new dashboard route. #68777, @grafanabot
- Azure Monitor: Fix bug with top value so more than 10 resources can be shown . #68725, @grafanabot
- NodeGraph: Fix overlaps preventing opening an edge context menu when nodes were too close. #68628, @grafanabot
- Plugins: Correct the usage of mutex for gRPC plugin implementation. #68609, @grafanabot
- Azure Monitor: Fix bug that did not show alert rule preview. #68581, @grafanabot
- FlameGraph: Fix table sort being reset when search changes. #68454, @grafanabot
- Command Palette: Prevent stale search results from overwriting newer results. #68392, @grafanabot
- Search: Fix Search returning results out of order. #68387, @joshhunt
- Explore: Remove data source onboarding page. #68381, @grafanabot
- Flamegraph: Fix tooltip positioning. #68312, @grafanabot
- Pyroscope: Add authentication when calling backendType resource API. #68311, @grafanabot
- Histogram: Respect min/max panel settings for x-axis. #68245, @grafanabot
- QueryRow: Make toggle actions screen-readers accessible. #68210, @grafanabot
- Heatmap: Fix color rendering for value ranges < 1. #68164, @grafanabot
- Heatmap: Handle unsorted timestamps in calculate mode. #68151, @grafanabot
- Alerting: Fixes Alert list panel "ungrouped" regression. #68090, @grafanabot
- Alerting: Show export button for org admins. #67995, @grafanabot
- Navigation: Fix 'Page not found' when sending or going back from 'Invitate user' page. #67972, @grafanabot
- InspectDrawer: Fixes issue with double scrollbars. #67888, @grafanabot
- Connections: Show core datasource plugins as well. #67886, @grafanabot
- Gauge: Set min and max for percent unit. #67719, @grafanabot
- TimeSeries: Fix leading null-fill for missing intervals. #67570, @leeoniya
- Pyroscope: Fix autodetection in case of using Phlare backend. #67536, @aocenas
- Dashboard: Revert fixed header shown on mobile devices in the new panel header. #67510, @axelavargas
- PostgreSQL: Fix tls certificate issue by downgrading lib/pq. #67372, @zoltanbedi
- Alerting: Fix misleading status code in provisioning API. #67331, @usommerl
- Explore: Update table min height . #67321, @adrapereira
- Provisioning: Fix provisioning issues with legacy alerting and data source permissions. #67308, @IevaVasiljeva
- Proxy: Improve header handling for reverse proxy. #67279, @sakjur
- Loki: Fix log samples using
instant
queries. #67271, @svennergr - Alerting: Fix panic when reparenting receivers to groups following an attempted rename via Provisioning. #67167, @alexweav
- Loki: Fix incorrect evaluation of real and extracted labels in context. #67112, @ivanahuckova
- Cloudwatch Logs: Clarify Cloudwatch Logs Limits. #67072, @sarahzinger
- Rendering: Fix panel rendered count on error. #67027, @AgnesToulet
- Elasticsearch: Fix processing of duplicated metric types and field. #66973, @ivanahuckova
- Plugins: Fix width for README pages with tables. #66872, @andresmgot
- Tempo: TraceQL query builder QoL improvements. #66865, @adrapereira
- Expressions/threshold: Fix incorrect thresholds args length. #66859, @gillesdemey
- Panel Header Fix: Implement new Panel Header on Angular Panels . #66826, @axelavargas
- 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
- Plugins: Fix plugin catalog filtering. #66663, @leventebalogh
- 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
- Explore: Fix using data source line limit when opening logs sample in split view. #66601, @ivanahuckova
- Loki: Fix ad hoc filters when used with number and > and < operators. #66579, @ivanahuckova
- Dashboards: Fix broken internal data links. #66567, @ifrost
- Google Cloud Monitoring: Fix project variable. #66524, @asimpson
- Azure Monitor: Fix bug that was not showing resources for certain locations. #66502, @alyssabull
- Plugins: Fs: Add option to access unallowed files in dev mode. #66492, @xnyo
- Dashboard: New panel in a dashboard is not deleted after "Discard"-ing changes in Panel Edit. #66476, @polibb
- 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
- Cloudwatch: Fix ui bug in template variable editor. #66207, @iSatVeerSingh
- Annotations: Improve get tags query performance. #66182, @papagian
- 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
- Alerting: Fix silences preview. #66000, @konrad147
- Fix: DataLinks from data sources override user defined data link. #65996, @axelavargas
- Auth: Remove the session cookie only if it's invalid or revoked. #65984, @mgyongyosi
- Transformations: Improve UX and fix refId issues. #65982, @torkelo
- 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
- PieChart: Show long labels properly. #65699, @mdvictor
- Library panels: Ensure pagination controls are always correctly displayed. #65283, @ashharrison90
- Catalog: Show install error with incompatible version. #65059, @andresmgot
- XYChart: Add all dataset columns in tooltip. #65027, @mdvictor
- Alerting: Use a completely isolated context for state history writes. #64989, @alexweav
- Utils: Reimplement util.GetRandomString to avoid modulo bias. #64481, @DanCech
- Reports: Add empty UID to not found dashboard. (Enterprise)
Breaking changes
The deprecated plugin:build
command in the Grafana Toolkit have been removed in this release. The replacement create-plugin
tool is recommended for plugin development. Issue #67485
The deprecated package:build
, node-version-check
and toolkit:build
commands in the Grafana Toolkit have been removed in this release. Issue #67475
The deprecated plugin:github-publish
command in the Grafana Toolkit have been removed in this release. Issue #67471
The /query-history/migrate
endpoint has been removed and query history entries will not be automatically migrated when switching from local storage to remote storage. Issue #67470
The deprecated plugin:ci-build
, plugin:ci-package
, plugin:ci-report
, plugin:update-circleci
and plugin:bundle-managed
commands in the Grafana Toolkit have been removed in this release. Issue #67212
The data-format used by the Loki data source for metric (graph producing) queries was changed to be compliant with the recommended Grafana format. The change is very small, we do not expect it to cause problems: for instant-queries the dataframe-type changed from timeseries-multi
to numeric-multi
, the dataframe-name attribute is not used anymore. If you are affected by this, you can revert back to the old format by setting the feature flag lokiMetricDataplane
to false
. We recommend migrating to the new format, because the feature-flag will be removed at some point in the future. Issue #67137
The deprecated plugin:sign
command in the Grafana Toolkit have been removed in this release. The replacement sign-plugin
tool is recommended for plugin signing. Issue #67130
The deprecated plugin:test
and plugin:dev
commands in the Grafana Toolkit have been removed in this release. Issue #67125
The type signature of the testDatasource()
method on the DataSourceWithBackend
class has changed, the returned Promise is now typed stricter, which is probably going to cause type-errors while building plugins against the latest Grafana versions.
// Before
abstract testDatasource(): Promise<any>;
// After
abstract testDatasource(): Promise<TestDataSourceResponse>;
Issue #67014
Grafana requires an Elasticsearch version of 7.16 or newer. If you use an older Elasticsearch version, you will get warnings in the query editor and on the datasource configuration page. Issue #66928
The deprecated plugin:create
and component:create
commands in the Grafana Toolkit have been removed in this release. The replacement create-plugin
tool is recommended for scaffolding new plugins and a migration guide for moving from the toolkit is available here. Issue #66729
We've removed some now unused properties from the NavModel
interface. Issue #66548
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
We removed previously deprecated components from @grafana/data
: getLogLevel
, getLogLevelFromKey
, addLogLevelToSeries
, LogsParser
, LogsParsers
, calculateFieldStats
, calculateLogsLabelStats
, calculateStats
, getParser
, sortInAscendingOrder
, sortInDescendingOrder
, sortLogsResult
, sortLogRows
, checkLogsError
, escapeUnescapedString
. Issue #66271
We removed previously deprecated components from @grafana/ui
: LogLabels
, LogMessageAnsi
, LogRows
, getLogRowStyles
. Issue #66268
We removed previously deprecated DataSourceWithLogsVolumeSupport
that was replaced with DataSourceWithSupplementaryQueriesSupport
. Both APIs are for internal use only. Issue #66266
Additional functions (map/filter/forEach/iterator) have been added to the root Vector interface. Any code using vectors will continue to work unchanged, but in the rare case that you have implemented Vector directly, it be missing these functions. The easiest fix is to extend FunctionalVector.
The ArrayVector
class now extends the native JavaScript Array
and gains all of its prototype/instance methods as a result. Issue #66187
We've removed the ability for functions to be passed as children to the Dropdown
component. Previously, this was used to access the isOpen
state of the dropdown. This can be now be achieved with the onVisibleChange
prop.
Before:
return (
<Dropdown overlay={MenuActions} placement="bottom-end">
{(isOpen) =>
<ToolbarButton iconOnly icon="plus" isOpen={isOpen} aria-label="New" />
}
</Dropdown>
);
After:
const [isOpen, setIsOpen] = useState(false);
...
return (
<Dropdown overlay={MenuActions} placement="bottom-end" onVisibleChange={setIsOpen}>
<ToolbarButton iconOnly icon="plus" isOpen={isOpen} aria-label="New" />
</Dropdown>
);
Issue #65467
(relevant for plugin developers) The deprecated internal dashboardId
is now removed from the request context. For usage tracking use the dashboardUid
Issue #64786
Grafana has been upgraded to React 18 and now leverages the new React client rendering API. Plugin authors in particular should be aware, as there could be unintended side effects due to the changes around automatic batching of state updates and consistent useEffect
timings. Be sure to test your plugins and reference the React 18 upgrade docs here: https://react.dev/blog/2022/03/08/react-18-upgrade-guide Issue #64428
Deprecations
For Elasticsearch annotation queries we are deprecating index field. Possibility to customise index for newly created annotations has already been removed in version 2.6.0 and since then we supported updating of index only for queries that customised index before 2.6.0. For users who would like to specify index for annotation queries we recommend to create a new Elasticsearch data source with specified index, and use that data source for annotations. Issue #67046
Scripts, systemd unit files and etc should stop using the grafana-cli
and grafana-server
programs, and instead use the grafana
program. Uses of grafana-server
should become grafana server
, and uses of grafana-cli
should become grafana cli
. Issue #66976
The database
field has been deprecated in the Elasticsearch datasource provisioning files, please use the index
field in jsonData
instead. Issue #66828
Plugin development fixes & changes
- Toolkit: Remove deprecated
plugin:build
. #67485, @academo - Toolkit: Remove deprecated
package:build
,node-version-check
andtoolkit:build
commands. #67475, @academo - Toolkit: Remove deprecated
plugin:github-publish
command. #67471, @academo - GrafanaUI: Add indeterminate state to Checkbox. #67312, @JoaoSilvaGrafana
- Toolkit: Remove
plugin:ci-build
plugin:ci-package
plugin:ci-report
and related files. #67212, @academo - Toolkit: Remove deprecated
plugin:sign
command. #67130, @academo - Toolkit: Remove
plugin:dev
andplugin:test
. #67125, @academo - Datasource: Overhaul plugin error handling and action buttons. #67014, @sasklacz
- Toolkit: Remove plugin:create and component:create commands. #66729, @academo
- InteractiveTable: Updated design and minor tweak to Correlactions page. #66443, @torkelo
9.5.3 (2023-06-06)
Bug fixes
- Query: Prevent crash while executing concurrent mixed queries
- Alerting: Require alert.notifications:write permissions to test receivers and templates
9.5.2 (2023-05-03)
Features and enhancements
- Chore: Upgrade Go to 1.20.4. #67757, @papagian
- Alerting: Scheduler use rule fingerprint instead of version. #67516, @grafanabot
Bug fixes
- TimeSeries: Fix leading null-fill for missing intervals. #67571, @leeoniya
- Dashboard: Revert fixed header shown on mobile devices in the new panel header. #67514, @grafanabot
- PostgreSQL: Fix tls certificate issue by downgrading lib/pq. #67393, @grafanabot
- Provisioning: Fix provisioning issues with legacy alerting and data source permissions. #67377, @grafanabot
- Alerting: Fix misleading status code in provisioning API. #67358, @grafanabot
- Explore: Update table min height (#67321). #67332, @adrapereira
- DataLinks: Encoded URL fixed. #67291, @juanicabanas
- Loki: Fix log samples using
instant
queries (#67271). #67275, @svennergr - Panel Header Fix: Implement new Panel Header on Angular Panels . #67228, @grafanabot
- Azure Monitor: Fix bug that was not showing resources for certain locations. #67216, @grafanabot
- Alerting: Fix panic when reparenting receivers to groups following an attempted rename via Provisioning. #67175, @grafanabot
- Cloudwatch Logs: Clarify Cloudwatch Logs Limits. #67101, @grafanabot
- SAML: Fix IdP metadata caching so that invalid metadata doesn't get cached. (Enterprise)
9.5.1 (2023-04-26)
Features and enhancements
9.5.0 (2023-04-04)
Features and enhancements
- API keys: Add deprecation to api keys. #65948, @eleijonmarck
- API: Enable serving Swagger UI by default and add docs and guidelines. #63489, @papagian
- API: Permit Cache-Control (browser caching) for datasource resources. #62033, @kylebrandt
- Accessibility: Make row actions keyboard accessible. #63367, @ashharrison90
- Admin/Plugins: Set category filter in connections link. #64393, @mikkancso
- Alerting: Add CustomDetails field in PagerDuty contact point. #64860, @santihernandezc
- Alerting: Add dashboard and panel links to rule and instance annotations. #63243, @konrad147
- Alerting: Add filter and remove funcs for custom labels and annotations. #63437, @grobinson-grafana
- Alerting: Add fuzzy search to alert list view. #63931, @konrad147
- Alerting: Add metrics for active receiver and integrations. #64050, @gotjosh
- Alerting: Better printing of labels. #63348, @grobinson-grafana
- Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once. #64774, @alexweav
- Alerting: Enable preview for recording rules. #63260, @VikaCep
- Alerting: Fetch all applied alerting configurations. #65728, @santihernandezc
- Alerting: Introduce proper feature toggles for common state history backend combinations. #65497, @alexweav
- Alerting: Make time range query parameters not required when querying Loki. #62985, @alexweav
- Alerting: New notification policies view. #61952, @gillesdemey
- Alerting: No longer index state history log streams by instance labels. #65474, @alexweav
- Alerting: Respect "For" Duration for NoData alerts. #65574, @JacobsonMT
- Alerting: Support filtering rules by multiple datasources. #64355, @VikaCep
- Alerting: Switch to snappy-compressed-protobuf for outgoing push requests to Loki. #65077, @alexweav
- Angular: Prevent angular from loading when disabled. #65755, @torkelo
- Auth: Add Generic oauth skip org role sync setting. #62418, @eleijonmarck
- Auth: Add feature flag to move token rotation to client. #65060, @kalleep
- Auth: Show user sync external Authentication status. #62721, @lokeswaran-aj
- Backend: Use sdk version 0.148.0. #62822, @kylebrandt
- Chore: Add stat for remote cache config. #64276, @DanCech
- Chore: Replace short UID generation with more standard UUIDs. #62731, @ryantxu
- Chore: Use DOMPurify to sanitize strings rather than js-xss. #62787, @KristianGrafana
- CloudMonitoring: Add possibility to use path for private key. #65252, @zoltanbedi
- CloudWatch Logs: Update default timeout to 30m. #63155, @ashnove
- CloudWatch: Add AWS/IotSiteWise namespace and metrics. #63534, @iwysiu
- CloudWatch: Add account support to variable queries. #63822, @iwysiu
- CloudWatch: Make deeplinks work for us-gov and china regions. #64080, @iwysiu
- Cloudwatch: Add MeteredIOBytes metric for EFS. #64793, @xlagg5
- Command Palette: Display dashboard location. #63807, @ashharrison90
- Command palette: Enable folder searching. #62663, @ashharrison90
- Connections: Turn on feature toggle by default. #64885, @mikkancso
- Cookies: Provide a mechanism for per user control over cookies. #61566, @sakjur
- Dashboard Datasource: Update Query List & Improve UX. #64429, @codeincarnate
- Dashboard: Add a feature that creates a table panel when a spreadsheet file is dropped on the dashboard. #62688, @oscarkilhed
- Dashboard: Add new visualization/row/library panel/pasted panel is now a dropdown menu. #65361, @polibb
- Dashboard: Add value format for requests per minute. #62258, @dwradcliffe
- Dashboard: Empty/No Panels dashboard with a new design. #65161, @polibb
- Dashboard: When dashboard is not found show message instead of empty page. #65508, @polibb
- Dashboards: Enable feature flag
newPanelChromeUI
by default. #65593, @axelavargas - Dataplane: Support timeSeriesLong without transform. #62732, @bohandley
- Datasources: Add user_agent header customization for outgoing HTTP requests. #63769, @zhichli
- Datasources: Use getDefaultQuery in annotations editors. #61870, @idastambuk
- Docs: Add documentation on how to debug backend plugins. #64814, @xnyo
- Docs: Deprecate dashboard previews. #65698, @ArturWierzbicki
- Elasticsearch: Detect Elasticsearch version. #63341, @gabor
- Elasticsearch: Run Explore queries trough data source backend. #65339, @ivanahuckova
- Explore: Add range option to internal data links. #64063, @connorlindsey
- Explore: Add transformations to correlation data links. #61799, @gelicia
- Explore: Support mixed data sources for supplementary query. #63036, @ifrost
- Extensions: Expose an enum for available placements. #64586, @leventebalogh
- Feat: Changing link destination for get more plugins. #63517, @tolzhabayev
- Feat: Linking to plugin details page rather than externally for new datasources. #63499, @tolzhabayev
- FieldMatchers: Add match by value (reducer). #64477, @leeoniya
- Flame graph: Add context menu. #62705, @joey-grafana
- Flame graph: Add metadata above flame graph. #61921, @joey-grafana
- Geomap: Improve tooltip url for photos layer. #63487, @adela-almasan
- Geomap: Release night / day layer. #63435, @adela-almasan
- InfluxDB: Move database information into jsondata. #62308, @itsmylife
- Jaeger and Zipkin: Config & docs upgrade. #64250, @joey-grafana
- LDAP: Allow setting minimum TLS version and accepted ciphers. #63646, @Jguer
- Licensing: Allow server admin user to log in even if the active user limit is reached. (Enterprise)
- Live: Remove (alpha) ability to configure live pipelines. #65138, @ryantxu
- Logger: Add feature toggle for errors in HTTP request logs. #64425, @sakjur
- Login: Allow custom name and icon for social providers. #63297, @jkroepke
- Logs Panel: Refactor style generation to improve rendering performance. #62599, @matyax
- Logs: Add millisecond to timestamp in log line. #64372, @svennergr
- Logs: Rename dedup to deduplicate. #62944, @gwdawson
- Loki Query Editor: Make Monaco the default editor. #62247, @matyax
- Loki: Add
unpack
query builder hint. #65608, @svennergr - Loki: Add descriptions to query builder operations. #64046, @gwdawson
- Loki: Add placeholder to the loki query editor. #62773, @gwdawson
- Loki: Always fetch for new label keys in the QueryBuilder. #64597, @svennergr
- Loki: Display error with label filter conflicts. #63109, @gwdawson
- Loki: Improve the display of loki query stats. #63623, @gwdawson
- MSSQL/Postgres: List views in table dropdown as well. #62867, @zoltanbedi
- MSSQL: Update forked go-mssqldb dependency. #65658, @stephaniehingtgen
- Metrics: Update comment to mention folders instead of dashboards. #63312, @monteiro-renato
- Navigation: Enable new navigation by default. #65335, @ashharrison90
- NodeGraph: Support icons for nodes. #60989, @aocenas
- Notifications: Enable display of trace ID by default. #64884, @ashharrison90
- Packaging: Start Grafana service after InfluxDB. #64090, @MichaIng
- Panel Header: Add CancelQuery option to panel header. #64796, @axelavargas
- Panel: Show multiple errors info in the inspector. #64340, @andresmgot
- PanelChrome: Add option to show actions on the right side (actions = leftItems). #65762, @torkelo
- Phlare: Allow variables in labelSelector (in query). #64324, @joey-grafana
- Plugin: Skip preloading disabled app plugins. #63083, @mckn
- Plugins: Add optional logger for plugin requests sent to backend plugins. #62981, @bergquist
- Plugins: Extend panel menu with commands from plugins. #63802, @mckn
- Plugins: Extend panel menu with links from plugins. #63089, @jackw
- Plugins: Improve instrumentation by adding metrics and tracing. #61035, @xnyo
- Plugins: Support for distributed tracing in backend plugins SDK. #63714, @xnyo
- Plugins: Support for link extensions. #61663, @mckn
- Profiling: Enable flame graph & Phlare/Parca data sources for all users. #63488, @joey-grafana
- Prometheus Datasource: Improve Prom query variable editor. #58292, @bohandley
- Prometheus Metrics: Add missing stat_total_teams metric. #65133, @gamab
- Prometheus/Loki: Run query explicitly instead of onblur in panel edit. #64815, @torkelo
- Prometheus: Browser resource caching. #60711, @gtk-grafana
- Prometheus: Improve prometheus query variable editor. #63529, @bohandley
- Prometheus: Use $__rate_interval for rate queries generated by metric browser. #65386, @ivanahuckova
- Pubdash: Email sharing handle dashboard deleted. #64247, @owensmallwood
- Pubdash: Email sharing handle dashboard deleted. (Enterprise)
- PublicDashboards: Backfills share column with default value. #63407, @owensmallwood
- PublicDashboards: Configuration modal redesign. #63211, @juanicabanas
- PublicDashboards: Email sharing. #63762, @juanicabanas
- PublicDashboards: Email sharing. (Enterprise)
- PublicDashboards: Enable creation when dashboard has template variables. #64560, @juanicabanas
- PublicDashboards: Paused or deleted public dashboard screen. #63970, @juanicabanas
- PublicDashboards: Viewer can request and claim magic link. (Enterprise)
- QueryHistory: Improve handling of mixed datasource entries. #62214, @Elfo404
- Rendering: Experimental support to use JWTs as auth method. #60841, @joanlopez
- Reports: Improve the UI for the new navigation. (Enterprise)
- SQL Datasources: Add back help content. #65383, @zoltanbedi
- Schema: Remove exclusion for timeseries and update imports. #65242, @ryantxu
- Search: Improvements for starred dashboard search. #64758, @IevaVasiljeva
- Select: Show icon in the grafana/ui Select component. #63827, @ryantxu
- Service accounts: Creation logic simplification. #63884, @IevaVasiljeva
- Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab. #63411, @eleijonmarck
- SplitOpen: Update API to accept multiple queries. #62245, @ivanahuckova
- Stat Panel: Add an option for a non-gradient/solid background. #65052, @baldm0mma
- Stat: Add ability to remove default single-color background gradient. #64353, @baldm0mma
- SupportBundles: Add OAuth bundle collectors. #64810, @Jguer
- Table Panel: Add ability to use text color for value or hide value in gauge cell. #61477, @torkelo
- Table: Introduce sparkline cell type. #63182, @domasx2
- Tempo: Config and doc updates. #64017, @joey-grafana
- Tempo: Update service graph view and docs. #64875, @joey-grafana
- TraceView: Add key and url escaping of json tag values. #64331, @aocenas
- TraceView: Reworked header. #63105, @joey-grafana
- Tracing: Add more detail to HTTP Outgoing Request. #64757, @bboreham
- Tracing: Docs and config improvements for Tempo/Jaeger/Zipkin. #65255, @joey-grafana
- Tracing: Support multiple OTel propagators. #61199, @hairyhenderson
- Transformations: Support time format when converting time to strings. #63826, @ryantxu
- Transformers: Support adding the row index using calculate field transformer. #65148, @ryantxu
- Units: Format currency with negative before the symbol. #65152, @ryantxu
Bug fixes
- API: Fix "Updated by" Column in dashboard versions table. #65351, @papagian
- AccessControl: Allow editors to access GET /api/datasources. #66343, @mgyongyosi
- Alerting: Add "backend" label to state history writes metrics. #65395, @alexweav
- Alerting: Add alert instance labels to Loki log lines in addition to stream labels. #65403, @alexweav
- Alerting: Elide requests to Loki if nothing should be recorded. #65011, @alexweav
- Alerting: Fix DatasourceUID and RefID missing for DatasourceNoData alerts. #66733, @grobinson-grafana
- Alerting: Fix ambiguous handling of equals in labels when bucketing Loki state history streams. #65013, @alexweav
- Alerting: Fix attachment of external labels to Loki state history log streams. #65140, @alexweav
- Alerting: Fix creating a recording rule when having multiple datasources. #66415, @VikaCep
- Alerting: Fix explore link in alert detail view. #66106, @gillesdemey
- Alerting: Fix share URL for Prometheus rules on subpath. #66752, @gillesdemey
- Alerting: Fix stats that display alert count when using unified alerting. #64852, @gotjosh
- Alerting: Hide mute timing actions when dealing with vanilla prometheus. #66457, @gillesdemey
- Alerting: Paginate result previews. #65257, @gillesdemey
- Alerting: Prometheus-compatible Alertmanager timings editor. #64526, @konrad147
- Alerting: Update scheduler to get updates only from database. #64635, @yuri-tceretian
- Alerting: Use a completely isolated context for state history writes. #64989, @alexweav
- Alerting: Use displayNameFromDS if available in preview. #65342, @gillesdemey
- Annotation List: Fix panel not updating when variable is changed. #65899, @JoaoSilvaGrafana
- Annotations: Ignore unique constraint violations for tags. #65935, @sakjur
- Auth: Fix orgrole picker disabled if isSynced user. #64033, @eleijonmarck
- AzureMonitor: Fix Log Analytics portal links. #65482, @aangelisc
- BrowseDashboards: Fix move to General folder not working. #65653, @joshhunt
- Catalog: Show install error with incompatible version. #65059, @andresmgot
- Chore: Update Grafana to use Alertmanager v0.25.1-0.20230308154952-78fedf89728b. #64778, @yuri-tceretian
- CloudMonitoring: Add project selector for MQL editor[fix]. #65567, @alyssabull
- CloudWatch Logs: Fix running logs queries with expressions. #65306, @iwysiu
- CloudWatch Logs: Fix to make log queries use a relative time if available. #65236, @kevinwcyu
- CloudWatch Logs: Revert "Queries in an expression should run synchronously (#64443)". #65036, @fridgepoet
- CloudWatch: Fix cachedQueries insights not being updated for metric queries. #65495, @kevinwcyu
- Cloudwatch: Pass refId from query for expression queries. #66147, @idastambuk
- Dashboards: Evaluate provisioned dashboard titles in a backwards compatible way. #65184, @sakjur
- Dashboards: Fix Mobile support dashboard issues on new iOS 16.3. #65542, @axelavargas
- Dashboards: Fix broken internal data links. #66567, @ifrost
- Database: Don't sleep 10ms before every request. #64832, @bboreham
- Elasticsearch: Fix processing of response with multiple group by for alerting. #65165, @ivanahuckova
- Elasticsearch: Handle multiple annotation structures. #66762, @gabor
- Email: Mark HTML comments as "safe" in email templates. #64546, @gillesdemey
- Emails: Preserve HTML comments. (Enterprise)
- ErrorHandling: Fixes issues with bad error messages. #63775, @torkelo
- ErrorView: Better detection of no-data responses. #65477, @leeoniya
- Explore: Make
DataSourcePicker
visible on small screens. #65149, @abdulhdr1 - Fix: DataLinks from data sources override user defined data link. #65996, @axelavargas
- Fix: Top table rendering and update docs. #64497, @joey-grafana
- Frontend: Fix broken links in /plugins when pathname has a trailing slash. #64348, @gassiss
- Geomap: Fix route layer zoom behavior. #63409, @drew08t
- Google Cloud Monitoring: Fix project variable. #66524, @asimpson
- HeatMap: Sort y buckets when all bucket names are numeric. #65322, @leeoniya
- InfluxDB: Fix querying with hardcoded retention policy. #66466, @itsmylife
- InfluxDB: Fix sending retention policy with InfluxQL queries. #63820, @itsmylife
- KVStore: Include database field in migration. #62790, @zoltanbedi
- LDAP: Always synchronize Server Admin role through role sync if role sync is enabled. #58820, @IevaVasiljeva
- Library panels: Ensure pagination controls are always correctly displayed. #65283, @ashharrison90
- Loki: Fix autocomplete situations with multiple escaped quotes. #65520, @svennergr
- MegaMenu: Fixes mega menu showing scroll indicator when it shouldn't. #65452, @torkelo
- Navigation: Redirect to root page when switching organization. #66655, @ashharrison90
- Navigation: Scrolled hamburger menu links now navigate correctly in Safari. #66261, @ashharrison90
- NestedFolders: Fix nested folder deletion. #63572, @ying-jeanne
- New Panel Header: Fix when clicking submenu item the parent menu item onClick get's triggered. #65691, @axelavargas
- Phlare: Fix error when there are no profileTypes to send from backend. #65455, @aocenas
- PieChart: Show long labels properly. #65699, @mdvictor
- PluginExtensions: Fixed issue with incorrect type being exposed when configuring an extension. #65910, @mckn
- Plugins: Ensure proxy route bodies are valid JSON. #61771, @wbrowne
- Plugins: Fix width for README pages with tables. #66872, @andresmgot
- Plugins: Markdown fetch retry with lowercase. #65384, @wbrowne
- Plugins: Skip instrumenting plugin build info for core and bundled plugins. #66105, @wbrowne
- PublicDashboards: Query collapsed panels inside rows. #64779, @evictorero
- Query Splitting: Fix for handling queries with no requestId. #66161, @domasx2
- SQL Datasources: Fix variable throwing error if query returns no data. #65937, @mdvictor
- SQL Datasources: Prevent Call Stack Overflows with Large Numbers of Values for Variable. #64937, @codeincarnate
- SQLStore: Fix SQLite error propagation if query retries are disabled. #64904, @papagian
- Stat Panel: Fix issue with clipping text values. #64300, @JoaoSilvaGrafana
- Table Panel: Fix panel migration for options cell type. #66305, @ryantxu
- Table: Fix migrations from old angular table for cell color modes. #65760, @torkelo
- Table: Fixes issue with pagination summary causing scrollbar. #65189, @torkelo
- Table: Fixes table panel gauge alignment. #64994, @torkelo
- TablePanel: Fix table cells overflowing when there are multiple data links. #65711, @oscarkilhed
- TablePanel: fix footer bug; no footer calculated values after "hidden" column override. #64269, @baldm0mma
- Team sync: Fix apply query string instead of param. (Enterprise)
- Templating: Allow percent encoding of variable with custom all. #65266, @dprokop
- Tempo: Set default limit if none is provided for traceql queries. #65039, @domasx2
- TimeSeries: Don't extend stepped interpolation to graph edges. #65657, @leeoniya
- TimeSeries: Improve stacking direction heuristic. #65499, @leeoniya
- Trace View: Update the queryType to traceql for checking if same trace when clicking span link. #66645, @ericmustin
- TraceView: Don't require preferredVisualisationType to render. #64920, @aocenas
- Utils: Reimplement util.GetRandomString to avoid modulo bias. #64481, @DanCech
- XYChart: Add all dataset columns in tooltip. #65027, @mdvictor
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
9.4.12 (2023-06-06)
Bug fixes
- Query: Prevent crash while executing concurrent mixed queries
- Alerting: Require alert.notifications:write permissions to test receivers and templates
- RBAC: Remove legacy AC editor and admin role on new dashboard route. #68775, @grafanabot
- Revert: Allow editors to access GET /datasources. #68653, @grafanabot
- Explore: Remove data source onboarding page. #68642, @grafanabot
9.4.10 (2023-05-08)
Features and enhancements
Bug fixes
- AzureMonitor: Fix logs query multi-resource and timespan values. #67931, @grafanabot
- TimeSeries: Fix leading null-fill for missing intervals. #67572, @leeoniya
- Alerting: Fix misleading status code in provisioning API. #67357, @grafanabot
- Azure Monitor: Fix bug that was not showing resources for certain locations. #66617, @grafanabot
9.4.9 (2023-04-24)
Features and enhancements
9.4.7 (2023-03-16)
Bug fixes
- Alerting: Update scheduler to receive rule updates only from database. #64780, @yuri-tceretian
- Influxdb: Re-introduce backend migration feature toggle. #64842, @itsmylife
- Security: Fixes for CVE-2023-1410. #65278, @itsmylife
Breaking changes
The InfluxDB backend migration feature toggle (influxdbBackendMigration) has been reintroduced in this version as issues were discovered with backend processing of InfluxDB data. Unless this feature toggle is enabled, all InfluxDB data will be parsed in the frontend. This frontend processing is the default behavior. In Grafana 9.4.4, InfluxDB data parsing started to be handled in the backend. If you have upgraded to 9.4.4 and then added new transformations on InfluxDB data, those panels will fail to render. To resolve this either:
- Remove the affected panel and re-create it
- Edit the
time
field asTime
inpanel.json
ordashboard.json
Issue #64842
9.4.3 (2023-03-02)
Bug fixes
- Alerting: Use background context for maintenance function. #64065, @yuri-tceretian
- Report Settings: Fix URL validation. (Enterprise)
9.4.2 (2023-03-02)
Bug fixes
9.4.1 (2023-02-28)
9.4.0 (2023-02-28)
Features and enhancements
- Alerting: Add endpoint for querying state history. #62166, @alexweav
- Alerting: Add label query parameters to state history endpoint. #62831, @alexweav
- Alerting: Add static label to all state history entries. #62817, @alexweav
- Alerting: Mark AM configuration as applied. #61330, @santihernandezc
- Azure Monitor: Enable multiple resource queries. #62467, @andresmgot
- InfluxDB: Move database information into jsondata. #62308, @itsmylife
- Query Caching: Add per-panel query caching TTL. #61968, @mmandrus
- Table: Add row number column option. #62256, @baldm0mma
- Tempo: Remove tempoApmTable feature flag. #62499, @adrapereira
- Transformations: Selectively apply transformation to queries. #61735, @ryantxu
Bug fixes
- AccessControl: Clear user permission cache for update org user role. #62745, @Jguer
- Alerting: Fix handling of special floating-point cases when writing observed values to annotations. #61074, @alexweav
- Auth: Rotate token patch. #62676, @mgyongyosi
- ContextMenu: Consider y coord when determining bottom collision. #62403, @gelicia
- Elasticsearch: Fix consistent label order in alerting. #62497, @gabor
- Explore: Fix graph not updating when changing config. #62473, @Elfo404
- Heatmap: Support heatmap rows with non-timeseries X axis. #60929, @ryantxu
- Login: Fix panic when a user is upserted by a background process. #62539, @sakjur
- MSSQL: Add support for macro function calls. #62742, @mdvictor
- MySQL: Quote identifiers that include special characters. #61135, @zoltanbedi
- Navigation: Sign in button now works correctly when served under a sub path. #62504, @ashharrison90
- Nested Folder: Fix for SQLite not to overwrite the parent on restarts. #62709, @papagian
- PanelChrome: Adds display mode to support transparent option. #62647, @torkelo
- Plugins: Case-sensitive routes for standalone pages. #62779, @leventebalogh
- Plugins: Prefer to use the data source UID when querying. #62776, @andresmgot
- SQLStore: Fix folder migration for MySQL < 5.7. #62521, @papagian
- Search: Fix not being able to clear sort value. #62557, @joshhunt
- Tempo: Fix span name being dropped from the query. #62257, @CrypticSignal
Plugin development fixes & changes
- PanelChrome: Implement hover header. #61774, @kaydelaney
9.4.0-beta1 (2023-01-30)
Features and enhancements
- API: Change how Cache-Control and related headers are set. #62021, @kylebrandt
- AccessControl: Add high availability support to access control seeder. (Enterprise)
- Accessibility: Make QueryEditorHelp examples keyboard interactive. #59355, @idastambuk
- Admin: Combine org and admin user pages. #59365, @Clarity-89
- Admin: Remove navigation subheaders. #61344, @Clarity-89
- AlertGroups: Generate models.gen.ts from models.cue. #61227, @Clarity-89
- Alerting: Access query details of provisioned alerts. #59626, @konrad147
- Alerting: Add alert rule cloning action. #59200, @konrad147
- Alerting: Add dashboard and panel picker to the rule form. #58304, @konrad147
- Alerting: Add discord as a possible receiver in cloud rules. #59366, @soniaAguilarPeiron
- Alerting: Add export button for exporting all alert rules in alert list view. #62416, @soniaAguilarPeiron
- Alerting: Add header X-Grafana-Org-Id to evaluation requests. #58972, @yuri-tceretian
- Alerting: Add landing page. #59050, @konrad147
- Alerting: Add maxdatapoints in alert rule form. #61904, @soniaAguilarPeiron
- Alerting: Add provisioning endpoint to fetch all rules. #59989, @alexweav
- Alerting: Add support for settings parse_mode and disable_notifications to Telegram receiver. #60198, @yuri-tceretian
- Alerting: Add support for tracing to alerting scheduler. #61057, @yuri-tceretian
- Alerting: Adds evaluation interval to group view. #59974, @gillesdemey
- Alerting: Alert rules search improvements. #61398, @konrad147
- Alerting: Allow state history to be disabled through configuration. #61006, @alexweav
- Alerting: Bump Prometheus Alertmanager to v0.25. #60764, @santihernandezc
- Alerting: Choose a previous valid AM configuration in case of error. #58472, @santihernandezc
- Alerting: Create endpoints for exporting in provisioning file format. #58623, @JacobsonMT
- Alerting: Declare incident from a firing alert. #61178, @gillesdemey
- Alerting: Do not maintain Normal state. #56336, @yuri-tceretian
- Alerting: Improve UI for making more clear that evaluation interval belongs to the group. #56397, @soniaAguilarPeiron
- Alerting: Improve legacy migration to include send reminder & frequency. #60275, @JacobsonMT
- Alerting: PagerDuty receiver to let user configure fields Source, Client and Client URL. #59895, @yuri-tceretian
- Alerting: Recognise & change UI for OnCall notification policy + contact point. #60259, @soniaAguilarPeiron
- Alerting: Rename contact point type to receiver in the user interface. #59589, @grobinson-grafana
- Alerting: Rule evaluator to get cached data source info. #61305, @yuri-tceretian
- Alerting: Support customizable timeout for screenshots. #60981, @grobinson-grafana
- Alerting: UI changes required to support v3 and Auth in Kafka Contact Point. #61123, @MohammadGhazanfar
- Alerting: Update Alerting and Alertmanager to v0.25.1. #61233, @grobinson-grafana
- Alerting: Upload images to Slack via files.upload. #59163, @grobinson-grafana
- Auditing/Usage Insights: Loki support for multi-tenancy. (Enterprise)
- Auth forwarding: Pass tokens without refresh. #61634, @Jguer
- Auth: Add expiry date for service accounts access tokens. #58885, @linoman
- Auth: Add plugin roles to RolePicker. #59667, @linoman
- Auth: Add skip_org_role_sync for AzureAD OAuth. #60322, @eleijonmarck
- Auth: Add skip_org_role_sync for Okta. #62106, @eleijonmarck
- Auth: Add skip_org_role_sync setting for GrafanaCom. #60553, @eleijonmarck
- Auth: Add skip_org_role_sync setting for github. #61673, @eleijonmarck
- Auth: Add skip_org_role_sync setting to OAuth integration Google. #61572, @eleijonmarck
- Auth: Add skip_org_role_sync to GitLab OAuth. #62055, @eleijonmarck
- Auth: Add sub claim check to JWT Auth pre-checks. #61417, @mgyongyosi
- Auth: Disable team sync for JWT Authentication. #62191, @eleijonmarck
- Auth: Display id Provider label in orgs/users view. #58033, @linoman
- Auth: Implement skip org role sync for jwt. #61647, @linoman
- Auth: Log a more useful msg if no OAuth provider configured. #56722, @someone-stole-my-name
- Auth: Set service account access token limit on expiry dates. #56467, @linoman
- Azure Monitor: Add variable function to list regions. #62297, @andresmgot
- Backend: Consistently use context RemoteAddr function to determine remote address. #60201, @DanCech
- BarChart: Highlight bars option for easier interaction. #60530, @mdvictor
- BarChartPanel: Custom tooltips. #60148, @mdvictor
- Canvas: Add server element. #61104, @drew08t
- Canvas: Add support for basic arrows. #57561, @nmarrs
- Canvas: Add tooltip for data links. #61648, @adela-almasan
- Canvas: Improve placement when adding an element via context menu. #61071, @adela-almasan
- Canvas: Update context menu actions for multiple elements selected. #61108, @adela-almasan
- Canvas: Update element(s) selection after action. #61204, @adela-almasan
- Chore: Add deprecation warnings for Sentry. #60165, @domasx2
- CloudMonitor: Improve detail of MQL series labels. #59747, @aangelisc
- CloudWatch Logs: Set default logs query and disable button when empty. #61956, @iwysiu
- CloudWatch: Add CloudWatchSynthetics dimension. #60832, @jangaraj
- CloudWatch: Add MaxProvisionedTableReadCapacityUtilization AWS/DynamoDB metric name. #60829, @jangaraj
- CloudWatch: Add RDS dimension. #61027, @jangaraj
- CloudWatch: Add macro for resolving period in SEARCH expressions. #60435, @sunker
- Cloudwatch: Add feedback labels to log groups selector. #60619, @sunker
- Cloudwatch: Add run query button. #60089, @sunker
- Cloudwatch: Add support for template variables in new log group picker. #61243, @sunker
- Cloudwatch: Define and use getDefaultquery instead of calling onChange on mount. #60221, @idastambuk
- Cloudwatch: Refactor log group model. #60873, @sunker
- Cloudwatch: Set CloudwatchCrossAccountQuery feature to stable. #62348, @sarahzinger
- Cloudwatch: Use new log group picker also for non cross-account queries. #60913, @sunker
- CommandPalette: Improve section header styling. #61584, @joshhunt
- CommandPalette: Minor usability improvements. #61567, @joshhunt
- CommandPalette: Search for dashboards using API. #61090, @joshhunt
- Config: Support JSON list syntax. #61288, @alexanderzobnin
- DataLinks: Allow providing a dynamic data link builder. #60452, @dprokop
- DataProxy: Populate X-Grafana-Referer header. #60040, @neilfordyce
- Database: Adds support for enable/disable SQLite Write-Ahead Logging (WAL) via configuration. #58268, @marefr
- Dataplane: Deprecate timeseries-many in favor of timeseries-multi. #59070, @bohandley
- Datasource settings: Add deprecation notice for database field. #58647, @zoltanbedi
- Datasources: Add support for getDetDefaultQuery in variable editor. #62026, @idastambuk
- Devenv: OpenLDAP-Mac improvements. #60229, @mgyongyosi
- Docs: Rename Message templates to Notification templates. #59477, @grobinson-grafana
- Docs: Unified Alerting is now compatible with AWS Aurora. #61001, @alexweav
- Elastic: Remove experimental tag from v8.0+. #61359, @gwdawson
- Elasticsearch: Deprecate raw document mode. #62236, @gabor
- Elasticsearch: Support nested aggregation. #62301, @gabor
- Email: Use MJML email template. (Enterprise)
- Email: Use MJML email templates. #57751, @gillesdemey
- Explore: Add feature to open log sample in split view. #62097, @ivanahuckova
- Explore: Enable resize of split pane. #58683, @gelicia
- Explore: Implement logs sample in Explore. #61864, @ivanahuckova
- Explore: Keyboard shortcut to go to explore. #61837, @torkelo
- Explore: Notify when compact URL is used. #58684, @gelicia
- Explore: Use Datasource Onboarding page when visiting without any datasource set up. #60399, @Elfo404
- FileDropzone: Format the file size limit in the error message when the max file size is exceeded (1000 => 1 kB). #62290, @oscarkilhed
- Flame graph: Search with uFuzzy. #61748, @joey-grafana
- GRPC Server: Add query service. #55781, @toddtreece
- Geomap panel: Generate types. #61636, @Clarity-89
- Geomap: Add color gradients to route layer. #59062, @drew08t
- Glue: Validate target query in correlations page. #57245, @L-M-K-B
- Heatmap: Remove legacy angular based implementation. #59249, @ryantxu
- InfluxDB: Send retention policy with InfluxQL queries if its been specified. #62149, @brettbuddin
- Influxdb: Remove backend migration feature toggle. #61308, @itsmylife
- Internationalization: Translate page headers and Search dashboard actions. #60727, @TaitChan
- LDAP: Make LDAP attribute mapping case-insensitive. #58992, @markkrj
- LoginAttempts: Reset attempts on successfull password reset. #59215, @kalleep
- Logs Panel: Add support for keyboard interactions with log lines. #60561, @matyax
- Logs: Add possibility to download logs in JSON format. #61394, @svennergr
- Logs: Make
no logs found
text more visible in Explore. #61651, @svennergr - Logs: Unify detected fields and labels in Log Details. #60448, @svennergr
- Loki Autocomplete: Suggest only possible labels for unwrap. #61411, @matyax
- Loki Editor Autocomplete: Suggest unique history items. #60262, @matyax
- Loki Query Editor: Add support to display query parsing errors to users. #59427, @matyax
- Loki Query Editor: Autocompletion and suggestions improvements (unwrap, parser, extracted labels). #59103, @matyax
- Loki Query Editor: Update history items with successive queries. #60327, @matyax
- Loki: Add format explanation to regex operations. #60518, @gwdawson
- Loki: Add hints for query filters. #60293, @gwdawson
- Loki: Add improvements to loki label browser. #59387, @gwdawson
- Loki: Change format of query builder hints. #60228, @gwdawson
- Loki: Make label browser accessible in query builder. #58525, @gwdawson
- Loki: Push support for multi-tenancy mode. #60866, @joanlopez
- Loki: Remove raw query toggle. #59125, @gwdawson
- Loki: Rename "explain" toggle to "explain query". #61150, @gwdawson
- Loki: Set custom width for modals in the loki query editor. #59714, @gwdawson
- Loki: Show configured log line limit. #61291, @gwdawson
- Loki: Show query size approximation. #62109, @gwdawson
- Middleware: Add Custom Headers to HTTP responses. #59018, @jcalisto
- Navigation: Open command palette from search box. #61667, @joshhunt
- NodeGraph: Allow usage with single dataframe. #58448, @aocenas
- OAuth: Support pagination for GitHub orgs. #58648, @sdague
- PanelChrome: Allow panel to be dragged if set as draggable from the outside. #61698, @axelavargas
- PanelChrome: Refactor and refine items next to title. #60514, @axelavargas
- PanelRenderer: Interpolate variables in applyFieldOverrides. #59844, @connorlindsey
- Performance: Preallocate slices. #61580, @peakle
- Phlare: Reset flame graph after query is run. #59609, @joey-grafana
- Phlare: Transition from LogQL/PromQL to Phlare should keep the query. #60217, @joey-grafana
- Plugins: Add file permission error check when attempting to verify plugin signature. #61860, @wbrowne
- Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests. #60417, @marefr
- Plugins: Forward user header (X-Grafana-User) in backend plugin requests. #58646, @marefr
- Plugins: Pass through dashboard/contextual HTTP headers to plugins/datasources. #60301, @GiedriusS
- Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares. #58132, @marefr
- Plugins: Remove connection/hop-by-hop request/response headers for call resource. #60077, @marefr
- Plugins: Unsigned chromium file should not invalidate signature for Renderer plugin. #59104, @wbrowne
- Preferences: Add pagination to org configuration page. #60896, @alexanderzobnin
- Preferences: Add theme preference to match system theme. #61986, @joshhunt
- Prometheus: Kickstart your query, formerly query patterns. #60718, @bohandley
- Prometheus: New instant query results view in Explore. #60479, @gtk-grafana
- Prometheus: Remove buffered client and feature toggle related to it. #59898, @itsmylife
- Public Dashboards: Time range for public dashboard in NavToolbar. #60689, @juanicabanas
- PublicDashboards: A unique page for public dashboards. #60744, @juanicabanas
- PublicDashboards: Add react-hook-form for Public Dashboard modal. #60249, @juanicabanas
- PublicDashboards: Add share column to public dashboards table. #61102, @owensmallwood
- PublicDashboards: Adds middleware for email sharing. (Enterprise)
- PublicDashboards: Adds tables and models for email sharing. (Enterprise)
- PublicDashboards: Checkboxes list refactor. #61947, @juanicabanas
- PublicDashboards: Create API for sharing by email. (Enterprise)
- PublicDashboards: Enterprise service skeleton for public dashboards with feature flag. (Enterprise)
- PublicDashboards: Modal warns when using unsupported datasources. #58926, @owensmallwood
- PublicDashboards: Page to request access to protected pubdash. (Enterprise)
- PublicDashboards: Remove unnecessary css style in Audit Table. #60546, @juanicabanas
- PublicDashboards: Revert Time range setting added. #60698, @juanicabanas
- PublicDashboards: Time range conditionally shown. #60425, @juanicabanas
- PublicDashboards: Time range setting added. #60487, @juanicabanas
- PublicDashboards: Time range settings. #61585, @juanicabanas
- PublicDashboards: Time range switch added. #60257, @juanicabanas
- PublicDashboards: Time range wording changed. #60473, @juanicabanas
- RBAC: Add an endpoint to search through assignments. (Enterprise)
- RBAC: Add config option to reset basic roles on start up. #59598, @gamab
- RBAC: Add config option to reset basic roles on start up. (Enterprise)
- RBAC: Add permission to get usage report preview. #61570, @alexanderzobnin
- RBAC: Permission check performance improvements for the new search. #60729, @IevaVasiljeva
- RBAC: Register plugin permissions's action and its accepted scopes. (Enterprise)
- RBAC: Runtime plugin role registration and update. (Enterprise)
- Report Settings: Add UI to upload logo files. (Enterprise)
- Reporting: Allow to upload report branding images. (Enterprise)
- RolePicker: Align groupHeader to the list items horizontally. #61060, @mgyongyosi
- SAML: Support auto login. #61685, @alexanderzobnin
- SMTP: Update SMTP TemplatesPatterns to do an 'or' filter instead of 'and'. #61421, @mmandrus
- SQL Datasources: Move database setting to jsonData. #58649, @zoltanbedi
- SQL Datasources: Use health check for config test. #59867, @zoltanbedi
- SQL: Return no data response when no rows returned. #59121, @zoltanbedi
- Search: Remember sorting preference between visits. #62248, @joshhunt
- Segment: Individual segments are now keyboard accessible. #60555, @ashharrison90
- Server: Switch from separate server & cli to a unified grafana binary. #58286, @DanCech
- SharePDF: Add zoom select. (Enterprise)
- Slugify: Replace gosimple/slug with a simple function. #59517, @ryantxu
- Snapshots: Add snapshot enable config. #61587, @leandro-deveikis
- Table Panel: Refactor Cell Options to Allow for Options per Cell Type. #59363, @codeincarnate
- Table panel: Use link elements instead of div elements with on click events to aid with keyboard accessibility. #59393, @oscarkilhed
- TablePanel: Improve and align table styles with the rest of Grafana. #60365, @torkelo
- Teams: Support paginating and filtering more then 1000 teams. #58761, @kalleep
- Teams: Use generated TS types. #60618, @Clarity-89
- Tempo: Trace to logs custom query with interpolation. #61702, @aocenas
- Tempo: Update column width for Loki search. #61924, @joey-grafana
- Tempo: Update docs and default Tempo metrics query. #62185, @joey-grafana
- TestDatasource: Add scenario for generating trace data. #59299, @aocenas
- TextPanel: Refactor to functional component. #60885, @ryantxu
- Theme: Use
Inter
font by default. #59544, @ashharrison90 - Trace View: Disallow a span colour that is the same or looks similar to previous colour. #58146, @joey-grafana
- Tracing: Add keyboard accessibility to SpanDetailRow. #59412, @joey-grafana
- Transformations: Add context parameter to transformDataFrame and operators. #60694, @torkelo
- Transformations: Extract JSON Paths. #59400, @NiklasCi
- Transformations: Grouping to matrix empty value option. #55591, @hugo082
- UsageInsights: Record events for Explore queries. #59931, @daniellee
- Variables: Support for colons in time variables custom format. #61404, @yesoreyeram
Bug fixes
- Alerting: Fix ConditionsCmd No Data for "has no value". #58634, @grobinson-grafana
- Alerting: Fix evaluation timeout. #61303, @yuri-tceretian
- Alerting: Redo refactoring from reverted fix in #56812. #61051, @grobinson-grafana
- Alerting: Set Dashboard and Panel IDs on rule group replacement. #60374, @alexmobo
- Alerting: Store alertmanager configuration history in a separate table in the database. #60197, @alexweav
- Azure Monitor: Fix health check for empty default subscription. #60569, @andresmgot
- Barchart: Fix erroneous tooltip value. #61455, @mdvictor
- Candlestick: Fix showing hidden legend values. #60971, @zoltanbedi
- CloudWatch: Fix logs insights deeplink. #59906, @fridgepoet
- Cloudmonitor: Refactor query builder. #61410, @aangelisc
- Command Palette: Links now work when grafana is served under a subpath. #60033, @ashharrison90
- CommandPalette: Fix long dashboard names freezing the browser. #61278, @joshhunt
- DataFrame: Add explicit histogram frame type. #61195, @leeoniya
- Dropdown: Make escape close a dropdown. #62098, @ashharrison90
- Explore: Fix a11y issue with show all series button in Graph. #58943, @Elfo404
- Explore: Fixes explore page height and margin issues. #59865, @torkelo
- Explore: Re-initialize graph when number of series to show changes. #60499, @Elfo404
- Fix: Unlocking the UI for AuthProxy users. #59507, @gamab
- GrafanaUI: Checkbox description fix. #61929, @juanicabanas
- LDAP: Disable user in case it has been removed from LDAP directory. #60231, @mgyongyosi
- LibraryPanels: Fix issue where viewer with folder edit permissions could not update library panel. #58420, @kaydelaney
- Loki Query Builder: Fix bug parsing range params. #61678, @matyax
- MultiSelect: Fix
actionMeta
not available inonChange
callback. #62339, @svennergr - Navigation: Fix finding the active nav item for plugins. #62123, @leventebalogh
- PanelChrome: Allow hovering on description when status error is visible. #61757, @ivanortegaalba
- PanelEditor: Fixes issue where panel edit would show the panel plugin options of the previous edit panel. #59861, @torkelo
- PublicDashboards: Footer alignment fix for Firefox browser. #62108, @juanicabanas
- PublicDashboards: Footer position fix. #61954, @juanicabanas
- RBAC: Fix DeleteUserPermissions not being called on Upsert org sync. #60531, @Jguer
- RBAC: Handle edge case where there is duplicated acl entries for a role on a single dashboard. #58079, @kalleep
- Resource Query Cache: Do not store 207 status codes. (Enterprise)
- SAML: Do not register SAML support bundle collector when SAML is disabled. (Enterprise)
- SSE: Fix math expression to support NoData results. #61721, @yuri-tceretian
- Security: Fix XSS in runbook URL. #59540, @dsotirakis
- TimeSeries: Better y-axis ticks for IEC units. #59984, @leeoniya
- TimeSeries: Fix rendering when zooming to time ranges between datapoints. #59444, @leeoniya
- TimeSeries: Fix y-axis Yes/No and On/Off boolean units. #61207, @leeoniya
- Traces: Fix for multiple $__tags in trace to metrics. #59641, @joey-grafana
- Variables: Allow user to filter values in dropdown using white space. #60622, @yusuf-multhan
Breaking changes
Removes the non-functional feature toggle influxdbBackendMigration
. InfluxDB is working %100 with server access mode. You can keep using your dashboards, and data sources as you have been using. This won't affect them. If you are upgrading from older versions of Grafana please be sure to check your dashboard config and check for warnings. Issue #61308
Removes support for "detected fields" in the details of a log line, however all supported interactions (filter, statistics, visibility) are now supported for all fields. If you are using Loki you can get those fields back by using a parser operation like logfmt
or json
.
Issue #60448
Deprecations
In the elasticsearch data source, the "Raw document" display mode is deprecated. We recommend using the "Raw Data" mode instead. Issue #62236
Sentry frontend logging provider will be removed with next major version. Issue #60165
Plugin development fixes & changes
- FileDropzone: Display max file size. #62334, @oscarkilhed
- Chore: Bump d3-color to 3.1.0. #61609, @jackw
- UI/Alert: Infer the
role
property based on theseverity
. #61242, @leventebalogh - PanelChrome: Menu is wrapped in a render prop for full outside control. #60537, @polibb
- Toolkit: Deprecate all plugin related commands. #60290, @academo
- Grafana UI: Add experimental InteractiveTable component. #58223, @Elfo404
9.3.11 (2023-03-22)
Bug fixes
- Alerting: Update scheduler to receive rule updates only from database. #64662, @yuri-tceretian
- Chore: Update Grafana to use Alertmanager v0.25.1-0.20230308154952-78fedf89728b. #64784, @yuri-tceretian
9.3.8 (2023-02-28)
9.3.7 (2023-02-28)
Bug fixes
- Alerting: Validate that tags are 100 characters or less. #62335, @grobinson-grafana
- Expressions: Fixes the issue showing expressions editor. #62510, @itsmylife
- Logs: Fix stats not being updated when log results change. #62317, @svennergr
- Plugins: Fix circular reference in customOptions leading to MarshalJSON errors. #62328, @yoziru
- Time Series Panel: Fix legend text selection in Firefox. #60809, @codeincarnate
9.3.15 (2023-06-06)
Bug fixes
- Alerting: Require alert.notifications:write permissions to test receivers and templates
- Auth: Remove the session cookie only if it's invalid or revoked. #68796, @mgyongyosi
9.3.14 (2023-05-08)
Features and enhancements
9.3.6 (2023-01-26)
Bug fixes
- QueryEditorRow: Fixes issue loading query editor when data source variable selected. #61927, @torkelo
9.3.4 (2023-01-25)
Features and enhancements
- Prometheus: Add default editor configuration. #61510, @itsmylife
- TextPanel: Refactor to functional component (#60885). #61937, @ryantxu
Bug fixes
- Alerting: Fix webhook to use correct key for decrypting token. #61717, @yuri-tceretian
- Alerting: Set error annotation on EvaluationError regardless of underlying error type. #61506, @alexweav
- Datasources: Fix Proxy by UID Failing for UIDs with a Hyphen. #61723, @csmarchbanks
- Elasticsearch: Fix creating of span link with no tags. #61753, @ivanahuckova
- Elasticsearch: Fix failing requests when using SigV4. #61923, @svennergr
- Elasticsearch: Fix toggle-settings are not shown correctly. #61751, @svennergr
- Explore: Be sure time range key bindings are mounted after clear. #61892, @gelicia
- Explore: Unsync time ranges when a pane is closed. #61369, @Elfo404
- Logs: Lines with long words do not break properly. #61707, @svennergr
- Loki: Fix misaligned derived fields settings. #61475, @svennergr
- Query Builder: Fix max width of input component to prevent overflows. #61798, @matyax
- Search: Auto focus input elements. #61443, @ryantxu
- Search: Fix empty folder message showing when by starred dashboards. #61610, @eledobleefe
- Table Panel: Fix image of image cell overflowing table cell and cells ignoring text alignment setting when a data link is added. #59392, @oscarkilhed
9.3.2 (2023-12-13)
Features and enhancements
Bug fixes
- API: Fix delete user failure due to quota not enabled. #59875, @papagian
- Accessibility: Improved keyboard accessibility in BarGauge. #59382, @lpskdl
- Accessibility: Improved keyboard accessibility in BigValue. #59830, @lpskdl
- Alerting: Use the QuotaTargetSrv instead of the QuotaTarget in quota check. #60026, @joeblubaugh
- AzureMonitor: Automate location retrieval. #59602, @aangelisc
- AzureMonitor: Fix bad request when setting dimensions. #59700, @andresmgot
- BarChart: Fix value mappings. #60066, @leeoniya
- Build: Streamline and sync dockerfiles. #58101, @DanCech
- Build: Unified dockerfile for all builds. #59173, @DanCech
- CloudWatch: Fix - make sure dimensions are propagated to alert query editor. #58281, @conorevans
- Cloudwatch: Fix deeplink with default region (#60260). #60274, @iwysiu
- Command Palette: Fix not being able to type if triggered whilst another modal is open. #59728, @ashharrison90
- Command Palette: Maintain page state when changing theme. #59787, @ashharrison90
- Dashboards: Fix 'Make Editable' button not working in Dashboard Settings. #60306, @joshhunt
- Dashboards: Show error when data source is missing. #60099, @joshhunt
- Datasource: Fix - apply default query also to queries in new panels. #59625, @sunker
- Dropdown: Menu now closes correctly when selecting options on touch devices. #60181, @ashharrison90
- Influx: Query segment menus now position correctly near the bottom of the screen. #60087, @ashharrison90
- Login: Fix failure to login a new user via an external provider if quota are enabled. #60015, @papagian
- Loki/Prometheus: Fix wrong queries executed in split view. #60172, @svennergr
- Loki: Fix wrongly escaped label values when using LabelFilter. #59812, @svennergr
- Navigation: Prevent app crash when importing a dashboard with a uid of
home
. #59874, @ashharrison90 - Panel Edit: Fix data links edit icons being off screen when provided title is too long. #59829, @dprokop
- Prometheus: Fix exemplar fill color to match series color in time series. #59908, @gtk-grafana
- Prometheus: Fix exemplars not respecting corresponding series display status. #59743, @gtk-grafana
- StateTimeline: Fix negative infinity legend/tooltip from thresholds. #60279, @leeoniya
- Table: Fixes row border style not showing and colored rows blending together. #59660, @torkelo
- Tempo: Fix TraceQL autocomplete issues (#60058). #60125, @CrypticSignal
- TimePicker: Prevent TimePicker overflowing viewport on small screens. #59808, @ashharrison90
- TimeRangePicker: Fix recently ranges only not showing all recent ranges. #59836, @joshhunt
- TimeZonePicker: Scroll menu correctly when using keyboard controls. #60008, @ashharrison90
9.3.1 (2022-11-30)
Features and enhancements
- Connections: Update "Your connections/Data sources" page. #58589, @mikkancso
Bug fixes
- Accessibility: Increase badge constrast to be WCAG AA compliant. #59531, @eledobleefe
9.3.0 (2022-11-30)
Features and enhancements
- Alerting: Enable interpolation for notification policies in file provisioning. #58956, @JohnnyQQQQ
- Azure Monitor Logs: Avoid warning when the response is empty. #59211, @andresmgot
- Azure Monitor: Add support to customized routes. #54829, @ms-hujia
- Canvas: Add icon value mapping. #59013, @nmarrs
- CloudWatch: Cross-account querying support. #59362, @sunker
- Docs: Update
merge-pull-request.md
regarding backport policies. #59239, @dsotirakis - GaugePanel: Setting the neutral-point of a gauge. #53989, @sfranzis
- Geomap: Improve location editor. #58017, @drew08t
- Internationalization: Enable internationalization by default. #59204, @joshhunt
- Logs: Add
Download logs
button to log log-browser. #55163, @svennergr - Loki: Add
gzip
compression to resource calls. #59059, @svennergr - Loki: Add improvements to loki label browser. #59387, @gwdawson
- Loki: Make label browser accessible in query builder. #58525, @gwdawson
- Loki: Remove raw query toggle. #59125, @gwdawson
- Middleware: Add CSP Report Only support. #58074, @jcalisto
- Navigation: Prevent viewer role accessing dashboard creation, import and folder creation. #58842, @lpskdl
- OAuth: Refactor OAuth parameters handling to support obtaining refresh tokens for Google OAuth. #58782, @mgyongyosi
- Oauth: Display friendly error message when role_attribute_strict=true and no valid role found. #57818, @kalleep
- Preferences: Add confirmation modal when saving org preferences. #59119, @JoaoSilvaGrafana
- PublicDashboards: Orphaned public dashboard deletion script added. #57917, @juanicabanas
- Query Editor: Hide overflow for long query names. #58840, @zuchka
- Reports: Configurable timezone. (Enterprise)
- Solo Panel: Configurable timezone. #59153, @spinillos
- TablePanel: Add support for Count calculation per column or per entire dataset. #58134, @mdvictor
- Tempo: Send the correct start time when making a TraceQL query. #59128, @CrypticSignal
- Various Panels: Remove beta label from Bar Chart, Candlestick, Histogram, State Timeline, & Status History Panels. #58557, @codeincarnate
Bug fixes
- Access Control: Clear user's permission cache after resource creation. #59307, @grafanabot
- Access Control: Clear user's permission cache after resource creation. #59101, @IevaVasiljeva
- Accessibility: Improve keyboard accessibility in
AnnoListPanel
. #58971, @ashharrison90 - Accessibility: Improve keyboard accessibility in
Collapse
. #59022, @ashharrison90 - Accessibility: Improve keyboard accessibility in
GettingStarted
panel. #58966, @ashharrison90 - Accessibility: Improve keyboard accessibility of
FilterPill
. #58976, @ashharrison90 - Admin: Fix broken links to image assets in email templates. #58729, @zuchka
- Azure Monitor: Fix namespace selection for storageaccounts. #56449, @andresmgot
- Calcs: Fix difference percent in legend. #59243, @zoltanbedi
- DataLinks: Improve Data-Links AutoComplete Logic. #58934, @zuchka
- Explore: Fix a11y issue with logs navigation buttons. #58944, @Elfo404
- Heatmap: Fix blurry text & rendering. #59260, @leeoniya
- Heatmap: Fix tooltip y range of top and bottom buckets in calculated heatmaps. #59172, @leeoniya
- Logs: Fix misalignment of LogRows. #59279, @svennergr
- Navigation: Stop clearing search state when opening a result in a new tab. #58880, @ashharrison90
- OptionsUI: SliderValueEditor does not get auto focused on slider change. #59209, @eledobleefe
- PanelEdit: Fixes bug with not remembering panel options pane collapse/expand state. #59265, @torkelo
- Query Caching: Skip 207 status codes. (Enterprise)
- Quota: Fix failure in store due to missing scope parameters. #58874, @papagian
- Quota: Fix failure when checking session limits. #58865, @papagian
- Reports: Fix time preview. (Enterprise)
- StateTimeline: Prevent label text from overflowing state rects. #59169, @leeoniya
- Tempo: Fix search table duration unit. #58642, @joey-grafana
- TraceView: Fix broken rendering when scrolling in Dashboard panel in Firefox. #56642, @zdg-github
Plugin development fixes & changes
- GrafanaUI: Add disabled option for menu items. #58980, @going-confetti
9.3.0-beta1 (2022-11-15)
Features and enhancements
- Alerting: Add Alertmanager choice warning. #55311, @konrad147
- Alerting: Add support for linking external images securely - Azure Blob (#1). #56598, @petr-stupka
- Alerting: Add threshold expression. #55102, @gillesdemey
- Alerting: Add traceability headers for alert queries. #57127, @alexweav
- Alerting: Allow none provenance alert rule creation from provisioning API. #58410, @alexmobo
- Alerting: Cache result of dashboard ID lookups. #56587, @alexweav
- Alerting: Expressions pipeline redesign. #54601, @gillesdemey
- Alerting: Fall back to "range" query type for unified alerting when "both" is specified. #57288, @gillesdemey
- Alerting: Implement the Webex notifier. #58480, @gotjosh
- Alerting: Improve group modal with validation on evaluation interval. #57830, @soniaAguilarPeiron
- Alerting: Persist annotations from multidimensional rules in batches. #56575, @alexweav
- Alerting: Query time logging. #57585, @konrad147
- Alerting: Remove the alert manager selection from the data source configuration. #57369, @VikaCep
- Alerting: Remove the alert manager selection from the data source configuration. #56460, @gitstart
- Alerting: Support values in notification templates. #56457, @grobinson-grafana
- Alerting: Templated URLs for webhook type contact points. #57296, @santihernandezc
- Annotations: Disable "Add annotation" button when annotations are disabled. #57481, @ryantxu
- Auth: Add validation and ingestion of conflict file. #53014, @eleijonmarck
- Auth: Make built-in login configurable. #46978, @TsotosA
- Auth: Refresh OAuth access_token automatically using the refresh_token. #56076, @mgyongyosi
- Auth: Validate Azure ID token version on login is not v1. #58088, @Jguer
- BackendSrv: Make it possible to pass
options
to.get|post|patch...
methods. #51316, @leventebalogh - Canvas: Add tabs to inline editor. #57778, @adela-almasan
- Canvas: Extend root context menu. #58097, @adela-almasan
- Chore: Switch Grafana to using faro libraries. #58186, @tolzhabayev
- Chore: Use strings.ReplaceAll and preallocate containers. #58483, @sashamelentyev
- CloudWatch: Cache resource request responses in the browser. #57082, @sunker
- Config: Change jwt config value to be "expect_claims". #58284, @conorevans
- Configuration: Update ssl_mode documentation in sample.ini to match default.ini. #55138, @alecxvs
- Correlations: Add query editor and target field to settings page. #55567, @Elfo404
- Dashboard: Record the number of cached queries for usage insights. #56050, @juanicabanas
- Dashboard: Record the number of cached queries for usage insights. (Enterprise)
- Datasources: Support mixed datasources in a single query. #56832, @mmandrus
- Docs: Add documentation for Custom Branding on Public Dashboards. #58090, @leandro-deveikis
- Docs: Add missing documentation for enterprise features. #56753, @mmandrus
- Docs: Clarify that audit logs are generated only for API requests. #57521, @spinillos
- Echo: Add config option to prevent duplicate page views for GA4. #57619, @tolzhabayev
- Elasticsearch: Add trace to logs functionality. #58063, @ivanahuckova
- Elasticsearch: Reuse http client in the backend. #55172, @gabor
- Explore: Add tracesToMetrics span time shift options (#54710). #55335, @hanjm
- Explore: Logs volume histogram: always start Y axis from zero. #56200, @gabor
- Explore: Remove explore2Dashboard feature toggle. #58329, @Elfo404
- Explore: Support fields interpolation in logs panel. #58426, @ifrost
- Frontend Routing: Always render standalone plugin pages using the
<AppRootPage>
. #57771, @leventebalogh - GRPC Server: Add gRPC server service. #47849, @FZambia
- Geomap: Add photo layer. #57307, @drew08t
- Geomap: Upgrade to openlayers 7.x. #57317, @ryantxu
- GrafanaData: Deprecate logs functions. #56077, @gabor
- GrafanaData: Deprecate the LogsParser type. #56242, @gabor
- Kindsys: Introduce Kind framework. #56492, @sdboyer
- LDAP: Add
skip_org_role_sync
configuration option. #56792, @grafanabot - LDAP: Add
skip_org_role_sync
configuration option. #56679, @gamab - LDAPSync: Improve performance of sync and make it case insensitive. (Enterprise)
- LibraryPanels: Load library panels in the frontend rather than the backend. #50560, @ryantxu
- LogContext: Add header and close button to modal. #56283, @svennergr
- LogContext: Improve text describing the loglines. #55475, @svennergr
- Logs: Allow collapsing the logs volume histogram. #52808, @gabor
- Logs: Center
show context
modal on click. #55989, @svennergr - Logs: Center
show context
modal on click. #55405, @svennergr - Logs: Show LogRowMenu also for long logs and wrap-lines turned off. #56030, @svennergr
- LogsContext: Added button to load 10 more log lines. #55923, @svennergr
- Loki: Add case insensitive line contains operation. #58177, @gwdawson
- Loki: Monaco Query Editor enabled by default. #58080, @matyax
- Loki: Redesign and improve query patterns. #55097, @ivanahuckova
- Loki: Rename log browser to label browser. #58416, @gwdawson
- Loki: Show invalid fields in label filter. #55751, @ivanahuckova
- MSSQL: Add connection timeout setting in configuration page. #58631, @mdvictor
- Navigation: Add
pluginId
to standalone plugin page NavLinks. #57769, @leventebalogh - Navigation: Expose new props to extend
Page
/PluginPage
. #58465, @ashharrison90 - Navtree: Make it possible to configure standalone plugin pages. #56393, @leventebalogh
- Node Graph: Always show context menu. #56876, @joey-grafana
- Number formatting: Strip trailing zeros after decimal point when decimals=auto. #57373, @leeoniya
- OAuth: Feature toggle for access token expiration check and docs. #58179, @mgyongyosi
- Opentsdb: Allow template variables for filter keys. #57226, @bohandley
- PanelEdit: Allow test id to be passed to panel editors. #55417, @mckn
- Plugins: Add hook to make it easier to track interactions in plugins. #56126, @mckn
- Plugins: Introduce new Flame graph panel. #56376, @joey-grafana
- Plugins: Make "README" the default markdown request param. #58264, @wbrowne
- PostgreSQL: Migrate to React. #52831, @zoltanbedi
- Preferences: Create indices. #48356, @sakjur
- Profiling: Add Phlare and Parca datasources. #57809, @aocenas
- Prometheus: Handle errors and warnings in buffered client. #58504, @itsmylife
- Prometheus: Make Prometheus streaming parser as default client. #58365, @itsmylife
- Public Dashboards: Add audit table. #54508, @jalevin
- PublicDashboards: Add PubDash support to Angular panel plugins. #57293, @mmandrus
- PublicDashboards: Add annotations support. #56413, @owensmallwood
- PublicDashboards: Add custom branding for Public Dashboard. (Enterprise)
- PublicDashboards: Add delete public dashboard button in public dashboard modal. #58095, @juanicabanas
- PublicDashboards: Cached queries column added in public dashboard insight query. (Enterprise)
- PublicDashboards: Can toggle annotations in modal. #57312, @owensmallwood
- PublicDashboards: Delete public dashboard in public dashboard table. #57766, @juanicabanas
- PublicDashboards: Delete public dashboard when dashboard is deleted. #57291, @juanicabanas
- PublicDashboards: Extract config of Public Dashboard. #57788, @leandro-deveikis
- PublicDashboards: Hide top navigation bar. #56873, @evictorero
- PublicDashboards: Make mixed datasource calls concurrently. #56421, @juanicabanas
- PublicDashboards: Orphaned public dashboard item list modified. #58014, @juanicabanas
- PublicDashboards: Rename PubdashFooter frontend component. #58137, @leandro-deveikis
- PublicDashboards: Update docs with supported datasources. #57629, @owensmallwood
- PublicDashboards: Validate access token. #57298, @leandro-deveikis
- PublicDashboards: Validate access token not to be duplicated and add retries. #56755, @juanicabanas
- RBAC: Improve performance of dashboard filter query. #56813, @kalleep
- Rendering: Add configuration options for
renderKey
lifetime. #57339, @Willena - Reports: Dynamic scale factor per report. (Enterprise)
- SAML: Set cookie option SameSite=none and Secure=true. (Enterprise)
- SQLStore: Optionally retry queries if sqlite returns database is locked. #56096, @papagian
- Server: Make unix socket permission configurable. #52944, @unknowndevQwQ
- Tempo: Add start time and end time parameters while querying traces. #48068, @bikashmishra100
- TimeSeries: Render null-bounded points at data edges. #57798, @leeoniya
- Tracing: Allow trace to logs for OpenSearch. #58161, @gabor
- Transformers: PartitionByValues. #56767, @leeoniya
- UsageStats: Add traces when sending usage stats. #55474, @sakjur
Bug fixes
- Alerting: Fix mathexp.NoData in ConditionsCmd. #56812, @grobinson-grafana
- BarChart: Fix coloring from thresholds and value mappings. #58285, @leeoniya
- BarChart: Fix stacked hover. #57711, @leeoniya
- Explore: Fix shared crosshair for logs, logsvolume and graph panels. #57892, @Elfo404
- Flame Graph: Exact search. #56769, @joey-grafana
- Flame Graph: Fix for dashboard scrolling. #56555, @joey-grafana
- LogContext: Fix scroll behavior in context modal. #56070, @svennergr
- Loki: Fix showing of history of querying in query editor. #57344, @ivanahuckova
- OAuth: Fix misleading warn log related to oauth and increase logged content. #57336, @Jguer
- Plugins: Plugin details page visual alignment issues. #57729
- PublicDashboards: Fix GET public dashboard that doesn't match. #57571, @juanicabanas
- PublicDashboards: Fix annotations error for public dashboards. #57455, @leandro-deveikis
- PublicDashboards: Fix granularity discrepancy between public and original dashboard. #57129, @guicaulada
- PublicDashboards: Fix granularity issue caused by query caching. (Enterprise)
- PublicDashboards: Fix hidden queries execution. (Enterprise)
- RBAC: Add primary key to seed_assignment table. #56540, @kalleep
- Tempo: Fix search removing service name from query. #58630, @joey-grafana
- TimeRangeInput: Fix clear button type. #56545, @Clarity-89
Breaking changes
Removes the unused close-milestone command from @grafana/toolkit
. Issue #57062
@grafana/toolkit cherrypick
command was removed. Issue #56114
EmotionPerfTest
is no longer exported from the @grafana/ui
bundle. Issue #56100
Removing the unused changelog
command in @grafana/toolkit
. Issue #56073
Deprecations
The interface type LogsParser
in grafana-data
is deprecated. Issue #56242
The following functions and classes related to logs are deprecated in the grafana-ui
package: getLogLevel
, getLogLevelFromKey
, addLogLevelToSeries
, LogsParsers
, calculateFieldStats
, calculateLogsLabelStats
, calculateStats
, getParser
, sortInAscendingOrder
, sortInDescendingOrder
, sortLogsResult
, sortLogRows
, checkLogsError
, escapeUnescapedString
. Issue #56077
Plugin development fixes & changes
- Toolkit: Deprecate
plugin:update-circleci
command. #57743, @academo - Toolkit: Deprecate
plugin:github-publish
command. #57726, @academo - Toolkit: Deprecate
plugin:bundle-managed
command and move its functionality to a bash script. #57719, @academo - Toolkit: Deprecate and replace toolkit:build with plain yarn scripts. #57620, @academo
- Toolkit: Deprecate node-version-check command. #57591, @academo
- Toolkit: Deprecate searchTestData command. #57589, @academo
- Toolkit: Remove unused close-milestone command. #57062, @academo
- Toolkit: Remove unused legacy cherrypick command. #56114, @academo
- Grafana UI: Clean up bundle. #56100, @jackw
- Toolkit: Deprecate
component:create
command. #56086, @academo - Toolkit: Remove changelog command. #56073, @gitstart
9.2.15 (2023-03-22)
9.2.10 (2023-01-24)
Features and enhancements
- TextPanel: Refactor to functional component (#60885). #61940, @ryantxu
- [v9.2.x] Chore: Upgrade Go to 1.19.4. #60826, @sakjur
Bug fixes
- Live: Fix
Subscription to the channel already exists
live streaming error. #61420, @grafanabot - Live: Fix
Subscription to the channel already exists
live streaming error. #61419, @grafanabot - Live: Fix
Subscription to the channel already exists
live streaming error. #61406, @ArturWierzbicki
9.2.7 (2022-11-29)
Bug fixes
- Access Control: Clear user's permission cache after resource creation. #59318, @IevaVasiljeva
- Azure Monitor: Fix empty/errored responses for Logs variables. #59240, @andresmgot
- Azure Monitor: Fix resource picker selection for subresources. #56392, @andresmgot
- Navigation: Fix crash when Help is disabled. #58919, @lpskdl
- PostgreSQL: Fix missing CA field from configuration. #59280, @oscarkilhed
- SQL Datasources: Fix annotation migration. #59438, @zoltanbedi
- SQL: Fix code editor for SQL datasources. #58116, @zoltanbedi
- SSE: Make sure to forward headers, user and cookies/OAuth token. #58897, @kylebrandt
- TimeseriesPanel: Preserve string fields for data link interpolation. #58424, @mdvictor
9.2.6 (2022-11-22)
Features and enhancements
- Alerting: Support Prometheus durations in Provisioning API. #58293, @bartpeeters
- SSE: Keep value name from numeric table. #58831, @kylebrandt
- Transformations: Make Card Descriptions Clickable. #58717, @zuchka
Bug fixes
- MS/My/PostgresSQL: Migrate annotation query. #58847, @zoltanbedi
- Search: Fixes issue with Recent/Starred section always displaying "General" folder. #58746, @JoaoSilvaGrafana
- Server: Write internal server error on missing write. #57813, @sakjur
9.2.5 (2022-11-16)
Features and enhancements
- Alerting: Log when alert rule cannot be screenshot to help debugging. #58537, @grobinson-grafana
- Alerting: Suggest previously entered custom labels. #57783, @VikaCep
- Canvas: Improve disabled inline editing UX. #58610, @nmarrs
- Canvas: Improve disabled inline editing UX. #58609
- Chore: Upgrade go-sqlite3 to v1.14.16. #58581, @sakjur
- Plugins: Ensure CallResource responses contain valid Content-Type header. #58506, @xnyo
- Prometheus: Handle errors and warnings in buffered client. #58657, @itsmylife
- Prometheus: Upgrade HTTP client library to v1.13.1. #58363, @marefr
Bug fixes
- Alerting: Fix screenshots were not cached. #58493, @grobinson-grafana
- Canvas: Fix setting icon from field data. #58499, @nmarrs
- Plugins: Fix don't set Content-Type header if status is 204 for call resource. #50780, @sd2k
Plugin development fixes & changes
- Toolkit: Fix compilation loop when watching plugins for changes. #58167, @jackw
- Tooltips: Make tooltips in FormField and FormLabel interactive and keyboard friendly. #57706, @asimpson
9.2.19 (2023-06-06)
Bug fixes
- Alerting: Require alert.notifications:write permissions to test receivers and templates
- Auth: Remove the session cookie only if it's invalid or revoked. #68795, @mgyongyosi
9.2.18 (2023-05-08)
9.2.4 (2022-11-07)
Features and enhancements
- Access Control: Add an endpoint for setting several managed resource permissions. #57893, @IevaVasiljeva
- Accessibility: Increase
Select
placeholder contrast to be WCAG AA compliant. #58034, @ashharrison90 - Alerting: Append org ID to alert notification URLs. #57123, @neel1996
- Alerting: Make the Grouped view the default one for Rules. #58271, @VikaCep
- Build: Remove unnecessary alpine package updates. #58005, @DanCech
- Chore: Upgrade Go to 1.19.3. #58052, @sakjur
- Google Cloud Monitoring: Set frame interval to draw null values. #57768, @andresmgot
- Instrumentation: Expose when the binary was built as a gauge. #57951, @bergquist
- Loki: Preserve
X-ID-Token
header. #57878, @siiimooon - Search: Reduce requests in folder view. #55876, @mvsousa
- TimeSeries: More thorough detection of negative values for auto-stacking direction. #57863, @leeoniya
Bug fixes
- Alerting: Attempt to preserve UID from migrated legacy channel. #57639, @alexweav
- Alerting: Fix response is not returned for invalid Duration in Provisioning API. #58046, @grobinson-grafana
- Alerting: Fix screenshot is not taken for stale series. #57982, @grobinson-grafana
- Auth: Fix admins not seeing pending invites. #58217, @joshhunt
- MSSQL/Postgres: Fix visual query editor filter disappearing. #58248, @zoltanbedi
- Tempo: Fix dropdown issue on tag field focus. #57616, @xiyu95
- Timeseries: Fix null pointer when matching fill below to field. #58030, @mdvictor
Plugin development fixes & changes
- Toolkit: Fix Webpack less-loader config. #57950, @dessen-xu
9.2.3 (2022-10-31)
Features and enhancements
- Docs: Add information about DB version support to upgrade guide. #57643, @joeblubaugh
- Footer: Update footer release notes link to Github changelog. #57871, @joshhunt
- Prometheus: Do not drop errors in streaming parser. #57698, @kylebrandt
- Prometheus: Flavor/version configuration. #57554, @gtk-grafana
- Prometheus: Provide label values match parameter API when supported prometheus instance is configured. #57553, @gtk-grafana
- Security: Upgrade x/text to version unaffected by CVE-2022-32149. #57797, @yong-jie-gong
Bug fixes
- Access control: Fix a bug with argument order for data source managed permission updates. (Enterprise)
- Auth: Fix GF_AUTH_JWT_URL_LOGIN env variable doesn't work. #57689, @Jguer
- Live: Explicitly reply with http 200. #57428, @sh0rez
- Prometheus: Fix builder operation mode changing multiselect to single select behaviour. #57780, @itsmylife
- Prometheus: Fix builder operation mode changing multiselect to single select behaviour. #57493, @yinjialu
- Security: Fix vulnerabilities in webpack loader-utils. #57533, @jackw
9.2.2 (2022-10-25)
Features and enhancements
- Alerting: Add support for wecom apiapp. #55991, @aimuz
- Canvas: Improve resource picker initialization. #57319, @nmarrs
- Canvas: Improve text element readability. #57371, @adela-almasan
- CloudWatch: Make sure adoption tracking is done on valid, migrated queries. #56872, @sunker
- Dashboard: Alerts user to incorrect tag format for JSON import. #54657, @iamelDuderino
- MSSQL: Support tables from all schemas. #53099, @zoltanbedi
- Opentsdb: Allow template variables for filter keys. #57226, @bohandley
- Prometheus: Provide label values match parameter API when supported prometheus instance is configured. #56510, @gtk-grafana
- QueryEditor: Revert components from grafana-ui. #57436, @zoltanbedi
- TeamSync: Allow team sync when external organization mapping returns no organization role. (Enterprise)
Bug fixes
- Browse: Fix General folder not showing in FolderPicker. #57156, @eledobleefe
- Elasticsearch: Fix calculation of trimEdges in alert mode. #56148, @jorgelbg
- Elasticsearch: Fix trimEdges delete logic in alert mode. #56985, @gabor
- GoogleOAuth: Unlock User Admin UI. #57350, @gamab
- LogContext: Fix wrong color of
show context
icon in light theme. #57427, @svennergr - Loki: Fix adding of adhoc filters to stream selector when query with empty stream selector. #57280, @ivanahuckova
- Loki: Fix double stringified log-lines when copied via Copy button. #57243, @svennergr
- Loki: Fix explain section about $__interval variable. #57188, @ivanahuckova
- Loki: Remove already selected options from next label filter options in builder. #57187, @ivanahuckova
- NodeGraph: Fix rendering issues when values of arc are over 1. #57460, @aocenas
- PublicDashboards: Fix hidden queries execution. #57194, @juanicabanas
- PublicDashboards: Fix hidden queries execution. #57004, @juanicabanas
- Tempo: Fix Node Graph visualization type in dashboard. #56931, @CrypticSignal
- TimeSeries: Fix stacking when first value is negative zero. #57257, @zoltanbedi
- TimeseriesPanel: Fix variables in data links. #56729, @mdvictor
- User: Fix externalUserId not being populated. #57341, @joshhunt
Breaking changes
We added some components a bit too early to @grafana/ui in 9.2 so we are moving them back to @grafana/experimental. If you used any of these components
- AccessoryButton
- EditorFieldGroup
- EditorHeader
- EditorField
- EditorRow
- EditorList
- EditorRows
- EditorSwitch
- FlexItem
- Stack
- InlineSelect
- InputGroup
- Space
Please use them from grafana/experimental from now on. Issue #57436
9.2.1 (2022-10-18)
Features and enhancements
- Alerting: Improve notification policies created during migration. #52071, @JacobsonMT
- AzureAD: Add option to force fetch the groups from the Graph API. #56916, @gamab
- AzureAD: Add option to force fetch the groups from the Graph API (#56916). #56947, @gamab
- Docs: Note end of release notes publication. #57013, @gguillotte-grafana
- Inspect: Handle JSON tab crash when the provided object is too big to stringify. #55939, @TsotosA
- TablePanel: Footer now updates values on column filtering. #56354, @mdvictor
Bug fixes
- Alerting: Fix email image embedding on Windows. #56766, @joeblubaugh
- Alerting: Fix mathexp.NoData for ConditionsCmd. #56816, @grobinson-grafana
- Legacy Alerting: Fix duration calculation when testing a rule. #56616, @jorgelbg
- Loki: Propagate additional headers from Grafana to Loki when querying data. #56896, @alexweav
- Search: Sort alphabetically in the folder view, increase the limit of the folder search from 50 to 1000. #57141, @ArturWierzbicki
- TablePanel: Fix last table column to be centered. #56047, @gitstart
Plugin development fixes & changes
- Grafana UI: Export prop types for queryfield, modal and field components. #57097, @jackw
- Toolkit: Fix
Cannot use import statement outside...
error in tests. #57071, @jackw
9.2.0 (2022-10-11)
Features and enhancements
- Alerting: Add Notification error feedback on contact points view. #56225, @soniaAguilarPeiron
- Alerting: Allow created by to be manually set when there's no creator for silences. #55952, @gotjosh
- Alerting: Expose info about notification delivery errors in a new /receivers endpoint. #55429, @santihernandezc
- Alerting: Update imported prometheus alertmanager version. #56228, @joeblubaugh
- Alerting: Update imported prometheus alertmanager version. Backport (#56228). #56430, @joeblubaugh
- Alerting: Write and Delete multiple alert instances. #55350, @joeblubaugh
- Core: Implement aria attributes for query rows, improve a11y. #55563, @L-M-K-B
- Custom Branding: Remove custom branding service. (Enterprise)
- Custom branding: Remove UI. (Enterprise)
- DevEnv: Adds docker block for clickhouse. #55702, @owensmallwood
- Docker: removes unneccesary use of edge repo. #54567, @xlson
- Explore: Revert split pane resize feature. #56310, @Elfo404
- Frontend: Make local storage items propagate to different tabs immediately. #55810, @oscarkilhed
- PublicDashboards: Allow disabling an existent public dashboard if it …. #55778, @evictorero
- QueryEditorRow: Only pass error to query editor if panel is not in a loading state. #56350, @kevinwcyu
- Reports: Refresh query variables on time range change. (Enterprise)
- XYChart: Beta release. #55973, @mdvictor
- [9.2.x] Alerting: Start ticker only when scheduler starts (#56339). #56418, @yuri-tceretian
Bug fixes
- Alerting: Fix pq: missing FROM-clause for table "a". #56453, @grobinson-grafana
- AzureMonitor: Correctly update subscriptions value in ARG editor. #55860, @aangelisc
- Chore: Fix swagger validation failures. (Enterprise)
- Chore: Regenerate swagger specification and fix validation failures. #55750, @joshhunt
- Correlations: Only return correlation for which both source and target datasources exist. #55454, @Elfo404
- Explore: Prevent panes from disappearing when resizing window in split view. #55696, @gelicia
- Links: Fix opening links from different orgs on the same tab. #55837, @guicaulada
- LogContext: Fix scroll position in upper context group. #56370, @svennergr
- Logs: Show copy button independently from context. #55934, @svennergr
- Loki/Prometheus: Fix adding of ad hoc filters when jumping from dashboard to explore. #55915, @ivanahuckova
- Loki: Add support for range aggregations with by grouping. #56184, @ivanahuckova
- Loki: Fix label-value escaping in context query. #56614, @svennergr
- Loki: Fix redundant escaping in adhoc filter with regex match. #56447, @ivanahuckova
- PanelEdit: Fixes resize pane border and spacing issues. #56190, @torkelo
- PublicDashboards: Fix dashboard insights query when Public Dashboard feature is enabled. (Enterprise)
- PublicDashboards: Fix dashboard insights query when Public Dashboard feature is enabled. (Enterprise)
- RBAC: Redirect to /login when forceLogin is set. #56469, @sakjur
- SAML: Fix RelayState generation function. (Enterprise)
- Security: Fix CVE-2022-27664. #55361, @yong-jie-gong
- StateTimeline: Fix tooltip showing erroneously in shared crosshair dashboards. #55809, @mdvictor
- Tempo: Fix unexpected trimming of leading zeroes in traceID. #55167, @hanjm
- Tracing: Fix bug where errors are not reported to OpenTelemetry. #55925, @sakjur
9.2.0-beta1 (2022-09-26)
Features and enhancements
- AccessControl: Move GetCacheKey to SignedInUser. #53591, @mgyongyosi
- AccessControl: Move GetCacheKey to SignedInUser. (Enterprise)
- Admin: Add support to configure default admin email. #54363, @mhuangwm
- Admin: Create/Edit Team/ServiceAccount UI changes. #53889, @mgyongyosi
- Alert list panel: Add view mode "Stat". #53281, @peterholmberg
- Alerting: Add alert preview to cloud rules editor. #54950, @konrad147
- Alerting: Add new API endpoint GET /api/v1/ngalert. #55134, @yuri-tceretian
- Alerting: Add templates autocomplete. #53655, @konrad147
- Alerting: Adds support for editing group details for Grafana managed rules. #53120, @gillesdemey
- Alerting: Change default alert state to Error on execution error or timeout. #55345, @grobinson-grafana
- Alerting: Display alert's 'Created' time in local time instead of UTC. #54414, @mmusenbr
- Alerting: Improve Mimir AM interoperability with Grafana. #53396, @konrad147
- Alerting: Improve validation of query and expressions on rule submit. #53258, @yuri-tceretian
- Alerting: Read group details before saving. #53586, @gillesdemey
- Alerting: Resolve stale state. #49352, @yuri-tceretian
- Alerting: Support for re-ordering alert rules in a group. #53318, @gillesdemey
- Alerting: Update embedded Alertmanager v0.24. #53555, @yuri-tceretian
- Alerting: Update forking request handlers to use the same errors. #52965, @yuri-tceretian
- Alerting: Write and Delete multiple alert instances. #52305, @joeblubaugh
- Annotation: Optionally allow storing longer annotation tags. #54754, @papagian
- Auth: Add SAML common resolutions to cookie issues. #55395, @Jguer
- Auth: Add cli command users-manager for conflict resolution. #52344, @eleijonmarck
- Auth: Add documentation on group overage claims in AzureAD. #55389, @Jguer
- Auth: Extend auth token errors with user ID. #54633, @IevaVasiljeva
- Auth: Reduce allocs in permission map. #55410, @Jguer
- Auth: Restore legacy behavior and add deprecation notice for empty org role in oauth. #55118, @Jguer
- AzureMonitor: Automate retrieval of supported Metrics namespaces. #53203, @aangelisc
- Build: Replace the file-loader loader with asset module in webpack config. #53088, @academo
- Chore: Group auth docker blocks. #54274, @linoman
- Chore: Upgrade Go to 1.19.1. #54902, @sakjur
- Cleanup: Add traces to cleanup jobs. #55465, @sakjur
- CloudMonitor: Remove cloudMonitoringExperimentalUI feature flag. #55054, @asimpson
- CloudWatch: Add AWS/States metrics. #55427, @jangaraj
- CloudWatch: Add missing AWS/ApiGateway metrics. #53839, @jangaraj
- CloudWatch: Add missing AWS/Events metrics. #53831, @jangaraj
- CloudWatch: Enable feature adoption tracking in the plugin. #54299, @sunker
- CloudWatch: Log group variable should get all log groups. #54062, @iwysiu
- CloudWatch: Refactoring - decouple logs and metrics in datasource file. #55079, @sunker
- Correlations: Add GetCorrelation(s) HTTP APIs. #52517, @Elfo404
- Custom branding: Add RBAC (early access). (Enterprise)
- Custom branding: Add preview for the settings (early access). (Enterprise)
- Dashboard: Support Variables in "Filter by Name" Transformation. #51804, @Kirchen99
- DashboardQuery: Expand query options. #53998, @ryantxu
- Docs: Deprecating packages_api and removing it from our pipelines. #54473, @tolzhabayev
- Docs: Update annotations API docs to include required field. #52644, @HarryTennent
- Echo: Add support for Google Analytics 4. #55446, @joshhunt
- Elasticsearch: Respect time range in ad hoc filters. #53874, @gabor
- Explore: Add Mixed Datasource. #53429, @gelicia
- Explore: Add resize to split view, with Min/Max button. #54420, @gelicia
- Footer: Add release notes url to version label. #52909, @kianelbo
- Geomap: Add Africa, Australia, Oceania, South Asia, and East Asia as initial view options. #55142, @zuchka
- Geomap: Add dynamic initial view options. #54419, @drew08t
- Grafana Backend: Establish a database version support policy. #54374, @joeblubaugh
- Grafana UI: Add implicit submit to TimeRangeForm for A11y. #52647, @matejkubinec
- Grafana/ui: Adds all unicons to IconName and script to generate types. #53820, @academo
- GrafanaUI: Add icon to links on Plugin configuration page. #55581, @leandro-deveikis
- GrafanaUI: Deprecate logs components. #55364, @gabor
- GraphPanel: Panel Description box does not expand to fit markdown table. #54238, @gitstart
- Icons: Move unicons icons to the repository and generate the iconsBundle.js with nodejs. #53766, @academo
- InfluxDB: Remove browser ('direct' access) mode. #53529, @obetomuniz
- JWT: Add support for assigning org roles. #54277, @nrwiersma
- JWT: Allow conventional bearer token in Authorization header. #54821, @nrwiersma
- Live: Migrate to centrifuge-js v3 (new API and client protocol). #51977, @FZambia
- Load icons using webpack context instead of react-inlinesvg library. #53675, @academo
- Login: Allow basic users to reset password when LDAP or Auth Proxy is enabled. #52331, @krzysdabro
- Login: Remove single admin team restriction. #54534, @linoman
- Logs: Relocate "show context" button, add copy line log button. #50977, @Seyaji
- Loki Query Variables: Add support to select from existing labels. #54625, @matyax
- Loki/Prometheus: Make sections in log/metrics browser resizable. #54704, @gwdawson
- Loki/Prometheus: Remove beta tag from query builder. #55150, @ivanahuckova
- Loki: Add validation to derived fields url field setting. #53599, @matyax
- Loki: Create Variable Query Editor for Loki. #54102, @matyax
- MSSQL: Migrate to React. #51765, @zoltanbedi
- Metrics: Instrument requests not matching any handler as
notfound
. #53949, @bergquist - Navigation Bar: Remove plugins link under Server Admin. #54386, @academo
- Navigation: Don't round app plugin icon images. #54543, @joshhunt
- OAuth: Allow assigning Server Admin. #54780, @Jguer
- Panel edit: Run queries when time range changes in table view. #53111, @axelavargas
- Panels: Add panel debug support helper. #54678, @ryantxu
- Playlists: Migrate to UIDs and load dashboards in the frontend. #54125, @ryantxu
- Plugins: Add feature toggles for long running queries. #54349, @kevinwcyu
- Plugins: Add secure JSON fields to plugin setting DTO. #55313, @wbrowne
- Plugins: Handle app plugin proxy routes per request. #51835, @marefr
- Plugins: Use error plane for api/ds/query. #54750, @wbrowne
- Preferences: Support setting any dashboard as home, not just the starred ones. #54258, @ryantxu
- Prometheus: Add dashboard uid when tracing header in browsermode. #53232, @lpskdl
- Prometheus: Throw error on direct access. #50162, @aocenas
- Prometheus: Upgrades http client to 1.30. #53901, @bergquist
- Prometheus: Upgrades the prometheus http client to 1.13. #47707, @yesoreyeram
- PublicDashboard: Add RTK Query with loading and error state. Add MSW dependency for testing. #55518, @juanicabanas
- PublicDashboards: Add RBAC to secured endpoints. #54544, @evictorero
- PublicDashboards: Add link to public dashboards docs to sharing modal. #55186, @guicaulada
- PublicDashboards: Disable form when user does not has permissions. #54853, @evictorero
- PublicDashboards: Dont support exemplars. #54933, @owensmallwood
- PublicDashboards: Ignore time range input and changes on public dashboard. #55412, @guicaulada
- PublicDashboards: Log api layer errors and which datasources fail/succeed. #55056, @owensmallwood
- PublicDashboards: Render tag when dashboard meta changes in state. #55414, @owensmallwood
- PublicDashboards: Resolve interval for public dashboard data source. #55489, @guicaulada
- PublicDashboards: Sanitize metadata from public dashboard queries. #55269, @guicaulada
- PublicDashboards: UI improvements. #55130, @juanicabanas
- Query editor: Allow query editors to create new query. #55028, @ivanahuckova
- RBAC: Add cache for oss rbac permissions. #55098, @kalleep
- RBAC: Add endpoints for reading and updating role assignments. (Enterprise)
- RBAC: Add permissions to install and configure plugins. #51829, @gamab
- RBAC: Display indicator if a permission is inherited. #54080, @kalleep
- RBAC: Only display unique permissions in list. #54074, @kalleep
- RBAC: Refactor delegation check to reduce db queries. (Enterprise)
- RBAC: Validate scopes during role creation. (Enterprise)
- Report: Keep report data on edit page refresh. (Enterprise)
- Reports: Allow CSV only option. (Enterprise)
- Reports: Render steps inside ReportPage. (Enterprise)
- SAML: Account for all orgs in org_mapping. (Enterprise)
- SAML: Add option to skip org role sync. #55230, @gamab
- SAML: Add option to skip org role sync. (Enterprise)
- SAML: Allow wildcard mapping to add user to all existing orgs. #55628, @gamab
- SAML: Do not SAML SLO if user is not SAML authenticated. #53418, @Jguer
- SAML: Improve SAML login flow. (Enterprise)
- SQL: Migrate (MS/My/Postgres)SQL configuration pages from Angular to React. #51891, @oscarkilhed
- Search: Migrated impressions to use dashboardUID. #53090, @lpskdl
- Secrets: Add fallback to secrets kvstore plugin. #54056, @guicaulada
- Secrets: Convert secret migration to a background service. #54676, @guicaulada
- Secrets: Implement secrets manager plugin fallback store. #54496, @guicaulada
- Secrets: Improve error handling for secrets manager plugin. #54811, @guicaulada
- SegmentInput: Omit allowCustomValue and allowEmptyValue props. #55352, @timagixe
- Status History Panel: Show X-Axis Value in Tooltip. #54563, @gitstart
- TeamSync: Add description to group mapping. (Enterprise)
- TeamSync: Prevent team syncing out of orgs mapped by auth method. (Enterprise)
- Teams: Add TeamRolePicker to the Create and Edit Team pages. #53775, @mgyongyosi
- Tempo: Set the default query type even if queryType was set to 'clear'. #53887, @CrypticSignal
- Tempo: Wrap the autocomplete value for a tag in double quotes. #55610, @CrypticSignal
- TextPanel: Support code formats. #53850, @ryantxu
- TimeRangePicker: Absolute timeranges with timezone. #53763, @mdvictor
- TimeSeries: Support for log scale and negative numbers. #54812, @leeoniya
- TopNav: Panel edit changes. #54746, @torkelo
- Tracing: Add new [tracing.opentelemetry] custom_attributes config setting. #54110, @hairyhenderson
- Transformations: Add support for an inner join transformation. #53865, @AlexKaracaoglu
- Transformers: Support inner vs outer join. #53913, @ryantxu
- User management: Use HMAC-SHA256 to generate time limit codes (password reset tokens). #42334, @andreasgerstmayr
- UsersTable: Display Disabled flag in Organizations' Users table. #53656, @mgyongyosi
- Various Panels: Add ability to toggle legend with keyboard shortcut. (Enterprise)
Bug fixes
- Alerting: AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled. #53620, @yuri-tceretian
- Auth: Allow admins to manually change external user's role if
oauth_skip_org_role_update_sync
or samlskip_org_role_sync
is enabled. #55182, @Jguer - AuthNZ: Security fixes for CVE-2022-35957 and CVE-2022-36062. #55503, @IevaVasiljeva
- ContextHandler: Use standard library style middleware. #54219, @sakjur
- ElasticSearch: Fix lucene formatted variables being wrongly escaped. #54981, @svennergr
- FIX: RBAC prevents deleting empty snapshots. #54385, @gamab
- Fix: Adjusting plugin.json schema regex. #54515, @tolzhabayev
- Fix: Wrong swagger meta preventing spec generation. #54181, @leandro-deveikis
- Histogram: Fix panel hide when clicking on legend. #53651, @mdvictor
- Loki: Hide loki sample queries from query inspector. #55158, @ivanahuckova
- Query Builder: Fix spelling of "lose" in user visible message. #53435, @spazm
- RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints. #54208, @kalleep
- Reports: Fix starting value. (Enterprise)
- StatPanel: Add padding between horizontal name and value. #55299, @JoaoSilvaGrafana
- TablePanel: Fix FooterRow styling for Safari and Firefox. #55543, @mdvictor
- TablePanel: Fix vertical scrollbar. #53457, @mdvictor
- Tempo: Fix typo in the tooltip for "Limit". #53750, @CrypticSignal
- Transformations: Fix clearing of transformation select fields. #53916, @AlexKaracaoglu
- Various Panels: Fix Single right-aligned y-axis hiding gridlines. #54206, @gitstart
Breaking changes
Dashboards: Remove the ability to open dashboard settings while panel edit is still open. Issue #54746
In InfluxDB, browser access mode was deprecated in Grafana 8.0.0 and removed in 9.2.0. If you used this mode, please switch to server access mode on the datasource configuration page. Issue #53529
In Prometheus, browser access mode was deprecated in Grafana 7.4.0 and removed in 9.2.0. If you used this mode, please switch to server access mode on the datasource configuration page. Issue #50162
Password reset links sent before the upgrade will no longer work and have to be resent. Since the duration of those links are only two hours we decided to not support both token formats. Issue #42334
Deprecations
Google Analytics 'Universal Analytics' is deprecated by Google in favor of Google Analytics 4. See Google's deprecation notice for more details. After July 2023, Grafana's Google Analytics 'Universal Analytics' integration will be removed, along with the analytics.google_analytics_ua_id
server config property. Configure Google Analytics 4 using the analytics.google_analytics_4_id
server config property.
Issue #55446
The following components and functions related to logs are deprecated in the grafana-ui
package: LogLabels
, LogMessageAnsi
, LogRows
, getLogRowStyles
.
Issue #55364
Plugin development fixes & changes
- GrafanaUI: Add required behavior to Inline Field. #54867, @gefgu
- CustomScrollbar: Add optional scroll indicators to
CustomScrollbar
. #54705, @ashharrison90 - Build: Introduce ESM and Treeshaking to NPM package builds. #51517, @jackw
9.1.8 (2022-10-11)
Features and enhancements
- Alerting: Update imported prometheus alertmanager version. Backport (#56228). #56429, @joeblubaugh
- Chore: Upgrade Go to 1.19.2. #56355, @sakjur
Bug fixes
- Alerting: Fix evaluation interval validation. #56115, @konrad147
- Alerting: Fix migration to create rules with group index 1. #56511, @yuri-tceretian
- Alerting: Fix migration to not add label "alertname". #56509, @yuri-tceretian
- Azure Monitor: Fix empty Logs response for Alerting. #56378, @andresmgot
- Azure Monitor: Fix subscription selector when changing data sources. #56284, @andresmgot
- Caching: Fix wrong memcached setting name in defaults. (Enterprise)
- Google Cloud Monitoring: Fix bucket bound for distributions. #56565, @andresmgot
9.1.7 (2022-10-04)
Features and enhancements
- Chore: Upgrade Go version to 1.19.1 (backport). #55733, @sakjur
- CloudWatch: Add missing AWS/Prometheus metrics. #54990, @jangaraj
- Explore: Add feature tracking events. #54514, @L-M-K-B
- Graphite: Add error information to graphite queries tracing. #55249, @jesusvazquez
- Prometheus: Restore FromAlert header. #55255, @kylebrandt
- SAML: Account for all orgs in org_mapping (#3855). (Enterprise)
- Search: Add search index configuration options. #55525, @ArturWierzbicki
- Thresholds: Add option for dashed line style. #55875, @leeoniya
Bug fixes
- Alerting: Fix default query's data source when no default datasource specified. #55435, @konrad147
- Alerting: Fix mathexp.NoData cannot be reduced. #55347, @grobinson-grafana
- Alerting: Skip unsupported file types on provisioning. #55573, @JohnnyQQQQ
- AzureMonitor: Ensure resourceURI template variable is migrated. #56095, @aangelisc
- Dashboard: Fix plugin dashboard save as button. #55197, @lpskdl
- Docs: Fix decimals: auto docs for panel edit. #55477, @joshhunt
- Fix: RBAC handle
error no resolver
found. #55676, @gamab - Fix: RBAC handle
error no resolver
found. (Enterprise) - LibraryPanelSearch: Refactor and fix hyphen issue. #55314, @kaydelaney
- Live: Fix live streaming with
live-service-web-worker
feature flag enabled. #55528, @ArturWierzbicki - QueryField: Fix wrong cursor position on autocomplete. #55576, @svennergr
9.1.6 (2022-09-20)
Features and enhancements
- Auth: Trigger auth token cleanup job. (Enterprise)
- DataSource: Adding possibility to hide queries from the inspector. #54892, @mckn
- Inspect: Hide Actions tab when it is empty. #55272, @ryantxu
- PanelMenu: Remove hide legend action as it was showing on all panel types. #54876, @torkelo
- Provisioning Contact points: Support disableResolveMessage via YAML. #54122, @mmusenbr
- PublicDashboards: Support subpaths when generating pubdash url. #55204, @owensmallwood
Bug fixes
- Alerting: Fix legacy migration crash when rule name is too long. #55053, @alexweav
- Alerting: Fix send resolved notifications. #54793, @grobinson-grafana
- Azure Monitor: Fix migration issue with MetricDefinitionsQuery template variable query types. #55262, @yaelleC
- Browse: Hide dashboard actions if user does not have enough permission. #55218, @lpskdl
- ElasticSearch: Fix dispatching queries at a wrong time. #55225, @svennergr
- Panel: Disable legends when showLegend is false prior to schema v37. #55126, @ivanortegaalba
- Prometheus: Fix metadata requests for browser access mode. #55403, @itsmylife
- Search: Avoid requesting all dashboards when in Folder View. #55169, @JoaoSilvaGrafana
- TablePanel/StatPanel: Fix values not being visible when background transparent. #55092, @mdvictor
9.1.5 (2022-09-12)
Features and enhancements
- Alerting: Sanitize invalid label/annotation names for external alertmanagers. #54537, @JacobsonMT
- Alerting: Telegram: Truncate long messages to avoid send error. #54339, @ZloyDyadka
- DisplayProcessor: Handle reverse-ordered data when auto-showing millis. #54923, @leeoniya
- Heatmap: Add option to reverse color scheme. #54365, @leeoniya
- PluginLoader: Alias slate-react as @grafana/slate-react. #55027, @kaydelaney
- Search: Add substring matcher, to bring back the old dashboard search behavior. #54813, @ArturWierzbicki
- Traces: More visible span colors. #54513, @joey-grafana
Bug fixes
- Alerting: Fix incorrect propagation of org ID and other fields in rule provisioning endpoints. #54603, @alexweav
- Alerting: Resetting the notification policy tree to the default policy will also restore default contact points. #54608, @alexweav
- AzureMonitor: Fix custom namespaces. #54937, @asimpson
- AzureMonitor: Fix issue where custom metric namespaces are not included in the metric namespace list. #54826, @andresmgot
- CloudWatch: Fix display name of metric and namespace. #54860, @sunker
- Cloudwatch: Fix annotation query serialization issue. #54884, @sunker
- Dashboard: Fix issue where unsaved changes warning would appear even after save, and not being able to change library panels. #54706, @torkelo
- Dashboard: Hide overflow content for single left pane. #54882, @lpskdl
- Loki: Fix a bug where adding adhoc filters was not possible. #54920, @svennergr
- Reports: Fix handling expired state. (Enterprise)
9.1.4 (2022-09-09)
Bug fixes
- GrafanaUI: Fixes Chrome issue for various query fields. #54566, @kaydelaney
9.1.3 (2022-09-05)
Features and enhancements
- API: Do not expose user input in datasource error responses. #53483, @papagian
- Alerting: Write and Delete multiple alert instances. #54072, @joeblubaugh
- Library Panel: Allow to delete them when deprecated. #54662, @ivanortegaalba
- Plugins Catalog: Allow to filter plugins using special characters. #54474, @murtazaqa
Bug fixes
- Alerting: Fix UI bug when setting custom notification policy group by. #54607, @JacobsonMT
- AppRootPage: Fix issue navigating between two app plugin pages. #54519, @torkelo
- Correlations: Use correct fallback handlers. #54511, @kalleep
- FIX: RBAC prevents deleting empty snapshots (#54385). #54510, @gamab
- LibraryElements: Fix inability to delete library panels under MySQL. #54600, @kaydelaney
- Metrics: fix
grafana_database_conn_*
metrics, and add newgo_sql_stats_*
metrics as eventual replacement. #54405, @hairyhenderson - TestData DB: Fix node graph not showing when the
Data type
field is set torandom
. #54298, @CrypticSignal
Deprecations
The grafana_database_conn_*
metrics are deprecated, and will be removed in a future version of Grafana. Use the go_sql_stats_*
metrics instead. Issue #54405
9.1.2 (2022-08-30)
Features and enhancements
- AdHoc variable: Correctly preselect datasource when provisioning. #54088, @dprokop
- AzureMonitor: Added ARG query function for template variables. #53059, @yaelleC
- Dashboard save: Persist details message when navigating through dashboard save drawer's tabs. #54084, @vbeskrovnov
- Dashboards: Correctly migrate mixed data source targets. #54152, @dprokop
- Elasticsearch: Use millisecond intervals for alerting. #54157, @gabor
- Elasticsearch: Use millisecond intervals in frontend. #54202, @gabor
- Geomap: Local color range. #54348, @adela-almasan
- Plugins Catalog: Use appSubUrl to generate plugins catalog urls. #54426, @academo
- Rendering: Add support for renderer token. #54425, @joanlopez
Bug fixes
- Alerting: Fix saving of screenshots uploaded with a signed url. #53933, @VDVsx
- AngularPanels: Fixing changing angular panel options not taking having affect when coming back from panel edit. #54087, @torkelo
- Explore: Improve a11y of query row collapse button. #53827, @L-M-K-B
- Geomap: Fix tooltip display. #54245, @adela-almasan
- QueryEditorRow: Filter data on mount. #54260, @asimpson
- Search: Show all dashboards in the folder view. #54163, @ryantxu
- Tracing: Fix the event attributes in opentelemetry tracing. #54117, @ying-jeanne
Plugin development fixes & changes
9.1.1 (2022-08-23)
Features and enhancements
- Cloud Monitoring: Support SLO burn rate. #53710, @itkq
- Schema: Restore "hidden" in LegendDisplayMode. #53925, @academo
- Timeseries: Revert the timezone(s) property name change back to singular. #53926, @academo
Bug fixes
- Alerting: Fix links in Microsoft Teams notifications. #54003, @grobinson-grafana
- Alerting: Fix notifications for Microsoft Teams. #53810, @grobinson-grafana
- Alerting: Fix width of Adaptive Cards in Teams notifications. #53996, @grobinson-grafana
- ColorPickerInput: Fix popover in disabled state. #54000, @Clarity-89
- Decimals: Fixes auto decimals to behave the same for positive and negative values. #53960, @JoaoSilvaGrafana
- Loki: Fix unique log row id generation. #53932, @gabor
- Plugins: Fix file extension in development authentication guide. #53838, @pbzona
- TimeSeries: Fix jumping legend issue. #53671, @zoltanbedi
- TimeSeries: Fix memory leak on viz re-init caused by KeyboardPlugin. #53872, @leeoniya
Plugin development fixes & changes
- TimePicker: Fixes relative timerange of less than a day not displaying. #53975, @JoaoSilvaGrafana
- GrafanaUI: Fixes ClipboardButton to always keep multi line content. #53903, @JoaoSilvaGrafana
9.1.0 (2022-08-16)
Features and enhancements
- API: Allow creating teams with a user defined identifier. #48710, @papagian
- Alerting: Adds interval and For to alert rule details. #53211, @gillesdemey
- Alerting: Extend PUT rule-group route to write the entire rule group rather than top-level fields only. #53078, @alexweav
- Alerting: Use Adaptive Cards in Teams notifications. #53532, @grobinson-grafana
- Azure Monitor: Add Network Insights Dashboard. #50362, @Teddy-Lin
- Chore: Improve logging of unrecoverable errors. #53664, @sakjur
- Correlations: Add UpdateCorrelation HTTP API. #52444, @Elfo404
- Dashboard: Reverted the changes of hiding multi-select and all variable in the datasource picker. #53521, @lpskdl
- Geomap: Add alpha day/night layer. #50201, @ryantxu
- Geomap: Add measuring tools. #51608, @drew08t
- GrafanaUI: Add success state to ClipboardButton. #52069, @evictorero
- Heatmap: Replace the heatmap panel with new implementation. #50229, @ryantxu
- KVStore: Allow empty value in kv_store. #53416, @spinillos
- Prometheus: Promote Azure auth flag to configuration. #53447, @andresmgot
- Reports: Save and update in reports should be transactional. (Enterprise)
- Reports: Set uid when we don't receive it in the query. (Enterprise)
- Search: Display only dashboards in General folder of Search Folder View. #53607, @lpskdl
- Status history/State timeline: Support datalinks. #50226, @jloupdef
- Transform: Add a limit transform. #49291, @josiahg
- Transformations: Add standard deviation and variance reducers. #49753, @selvavm
Bug fixes
- API: Fix snapshot responses. #52998, @papagian
- Access Control: Fix permission error during dashboard creation flow. #53214, @IevaVasiljeva
- Access Control: Set permissions for Grafana's test data source. #53247, @IevaVasiljeva
- Alerting: Fix migration failure. #53253, @papagian
- BarGauge: Show empty bar when value, minValue and maxValue are all equal. #53314, @ashharrison90
- Dashboard: Fix color of bold and italics text in panel description tooltip. #53380, @joshhunt
- Loki: Fix passing of query with defaults to code mode. #53646, @ivanahuckova
- Loki: Fix producing correct log volume query for query with comments. #53254, @ivanahuckova
- Loki: Fix showing of unusable labels field in detected fields. #53319, @ivanahuckova
- Reports: Fix inconsistency reports. (Enterprise)
- Tracing: Fix OpenTelemetry Jaeger context propagation. #53269, @zhichli
- Tracing: Fix OpenTelemetry Jaeger context propagation (#53269). #53724, @idafurjes
- [9.1.x] Alerting: AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled. #53679, @yuri-tceretian
Breaking changes
Alert notifications to Microsoft Teams now use Adaptive Cards instead of Office 365 Connector Cards. Issue #53532
Starting at 9.1.0, existing heatmap panels will start using a new implementation. This can be disabled by setting the useLegacyHeatmapPanel
feature flag to true. It can be tested on a single dashbobard by adding ?__feature.useLegacyHeatmapPanel=true
to any dashboard URL. Please report any heatmap migration issues.. The most notable changes are:
- Significantly improved rendering performance
- When calculating heatmaps, the buckets are now placed on reasonable borders (1m, 5m, 30s etc)
- Round cells are no longer supported Issue #50229
Plugin development fixes & changes
9.1.0-beta1 (unreleased)
Features and enhancements
- API: Migrate CSRF to service and support additional options. #48120, @sakjur
- API: Move swagger definitions to the handlers and rename operations after them. #52643, @papagian
- Access Control: Allow org admins to invite new users. #52894, @IevaVasiljeva
- AccessControl: Check dashboards permission for reports. (Enterprise)
- Alerting: Add config disabled_labels to disable reserved labels. #51832, @JacobsonMT
- Alerting: Add custom templated title to Wecom notifier. #51529, @dingweiqings
- Alerting: Add file provisioning for alert rules. #51635, @JohnnyQQQQ
- Alerting: Add file provisioning for contact points. #51924, @JohnnyQQQQ
- Alerting: Add file provisioning for mute timings. #52936, @JohnnyQQQQ
- Alerting: Add file provisioning for notification policies. #52877, @JohnnyQQQQ
- Alerting: Add file provisioning for text templates. #52952, @JohnnyQQQQ
- Alerting: Add first Grafana reserved label grafana_folder. #50262, @JacobsonMT
- Alerting: Add support for images in Kafka alerts. #50758, @grobinson-grafana
- Alerting: Add support for images in VictorOps alerts. #50759, @grobinson-grafana
- Alerting: Adds contact point template syntax highlighting. #51559, @gillesdemey
- Alerting: Adds visual tokens for templates. #51376, @gillesdemey
- Alerting: Alert rules pagination. #50612, @konrad147
- Alerting: Change alertScreenshotToken to alertImageToken. #50771, @grobinson-grafana
- Alerting: Configure alert manager data source as an external AM. #52081, @konrad147
- Alerting: Do not include button in googlechat notification if URL invalid. #47317, @j6s
- Alerting: Group alert state history by labels and allow filtering. #52784, @gillesdemey
- Alerting: Make ticker to tick at predictable time. #50197, @yuri-tceretian
- Alerting: Persist rule position in the group. #50051, @yuri-tceretian
- Alerting: Prevent evaluation if "for" shorter than "evaluate". #51797, @peterholmberg
- Alerting: Provisioning UI. #50776, @gillesdemey
- Alerting: Rule api to fail update if provisioned rules are affected. #50835, @yuri-tceretian
- Alerting: Scheduler to drop ticks if a rule's evaluation is too slow. #48885, @yuri-tceretian
- Alerting: Show evaluation interval global limit warning. #52942, @konrad147
- Alerting: State manager to use tick time to determine stale states. #50991, @yuri-tceretian
- Alerting: Support for optimistic locking for alert rules. #50274, @yuri-tceretian
- Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs. #49033, @yuri-tceretian
- Alerting: Update default route groupBy to [grafana_folder, alertname]. #50052, @JacobsonMT
- Alertmanager: Adding SigV4 Authentication to Alertmanager Datasource. #49718, @lewinkedrs
- Analytics: Save all view time dates as UTC. (Enterprise)
- Annotations: Migrate dashboardId to dashboardUID. #52588, @lpskdl
- Auditing: Allow users to have more verbose logs. (Enterprise)
- Auth: Add lookup params for saml and LDAP sync. (Enterprise)
- Auth: Add option for case insensitive login. #49262, @Jguer
- Auth: Case insensitive ids duplicate usagestats. #50724, @eleijonmarck
- Auth: Implement Token URL Auth. #52578, @Jguer
- Auth: Implement Token URL JWT Auth. #52662, @Jguer
- Auth: Lockdown non-editables in frontend when external auth is configured. #52160, @Jguer
- Azure Monitor: Add new dashboard with geo map for app insights test availability. #52494, @jcolladokuri
- Azure Monitor: New template variable editor. #52594, @andresmgot
- Azure Monitor: Restore Metrics query parameters: subscription, resourceGroup, metricNamespace and resourceName. #52897, @andresmgot
- Chore: Add dashboard UID as query parameter of Get annotation endpoint. #52764, @ying-jeanne
- Chore: Remove jest-coverage-badges dep from toolkit. #49883, @zoltanbedi
- Chore: Rename dashboardUID to dashboardUIDs in search endpoint and up…. #52766, @ying-jeanne
- CloudWatch: Add default log groups to config page. #49286, @iwysiu
- CommandPalette: Populate dashboard search when the palette is opened. #51293, @ryantxu
- Core Plugins: Add support for HTTP logger. #46578, @toddtreece
- Correlations: Add CreateCorrelation HTTP API. #51630, @Elfo404
- Correlations: Add DeleteCorrelation HTTP API. #51801, @Elfo404
- Custom branding: Add UI for setting configuration. (Enterprise)
- Custom branding: Add custom branding service (early access). (Enterprise)
- Data Connections: Create a new top-level page. #50018, @leventebalogh
- DataSource: Allow data source plugins to set query default values. #49581, @sunker
- Docs: CSRF add configuration options and documentation for additional headers and origins. #50473, @eleijonmarck
- Elasticsearch: Added
modifyQuery
method to add filters in Explore. #52313, @svennergr - Explore: Add ability to include tags in trace to metrics queries. #49433, @connorlindsey
- Explore: Download and upload service graphs for Tempo. #50260, @connorlindsey
- Explore: Make service graph visualization use available vertical space. #50518, @connorlindsey
- Explore: Reset Graph overrides if underlying series changes. #49680, @Elfo404
- Explore: Sort trace process attributes alphabetically. #51261, @connorlindsey
- Frontend Logging: Integrate grafana javascript agent. #50801, @tolzhabayev
- Geomap: Add ability to select a data query filter for each layer. #49966, @mmandrus
- Geomap: Route/path visualization. #43554, @alexanderzobnin
- GeomapPanel: Add base types to data layer options. #50053, @drew08t
- Graph Panel: Add feature toggle that will allow automatic migration to timeseries panel. #50631, @ryantxu
- Graphite: Introduce new query types in annotation editor. #52341, @itsmylife
- Infra: Pass custom headers in resource request. #51291, @aocenas
- Insights: Add RBAC for insights features. (Enterprise)
- Instrumentation: Add more buckets to the HTTP request histogram. #51492, @bergquist
- Instrumentation: Collect database connection stats. #52797, @bergquist
- Instrumentation: Convert some metrics to histograms. #50420, @SuperQ
- Jaeger: Add support for variables. #50500, @joey-grafana
- LDAP: Allow specifying LDAP timeout. #48870, @hannes-256
- LibraryPanels: Require only viewer permissions to use a Library Panel. #50241, @joshhunt
- Licensing: Usage-based billing reporting enhancements. (Enterprise)
- Logs: Handle clicks on legend labels in histogram. #49931, @gabor
- Logs: Improve the color for unknown log level. #52711, @gabor
- Loki/Logs: Make it possible to copy log values to clipboard. #50914, @Seyaji
- Loki: Add hint for pipeline error to query builder. #52134, @ivanahuckova
- Loki: Add hints for level-like labels. #52414, @ivanahuckova
- Loki: Add support for IP label and line filter in query builder. #52658, @ivanahuckova
- Loki: Add unwrap with conversion function to builder. #52639, @ivanahuckova
- Loki: Implement hints for query builder. #51795, @ivanahuckova
- Loki: Move explain section to builder mode. #52879, @ivanahuckova
- Loki: Show label options for unwrap operation. #52810, @ivanahuckova
- Loki: Support json parser with expressions in query builder. #51965, @ivanahuckova
- Navigation: Display
Starred
dashboards in theNavbar
. #51038, @ashharrison90 - Node Graph Panel: Add options to configure units and arc colors. #51057, @connorlindsey
- OAuth: Allow role mapping from GitHub and GitLab groups. #52407, @Jguer
- Opentsdb: Add tag values into the opentsdb response. #48672, @xy-man
- OptionsUI: UnitPicker now supports isClearable setting. #51064, @ryantxu
- PanelEdit: Hide multi-/all-select datasource variables in datasource picker. #52142, @eledobleefe
- Piechart: Implements series override -> hide in area for the legend or tooltip. #51297, @daniellee
- Plugin admin: Add a page to show where panel plugins are used in dashboards. #50909, @ryantxu
- Plugins: Add validation for plugin manifest. #52787, @wbrowne
- Prometheus: Move explain section to builder mode. #52935, @itsmylife
- Prometheus: Support 1ms resolution intervals. #44707, @dankeder
- Prometheus: Throw error on direct access. #50162, @aocenas
- RBAC: Add RBAC for query caching. (Enterprise)
- RBAC: Add access control metadata to folder dtos. #51158, @kalleep
- RBAC: Allow app plugins access restriction. #51524, @gamab
- RBAC: Rename alerting roles to match naming convention. #50504, @gamab
- Report: Calculate grid height unit dynamically instead use hardcode values. (Enterprise)
- Reports: Add created column in report_dashboards. (Enterprise)
- Reports: Add dashboard title in all pdf pages. (Enterprise)
- Reports: Allow saving draft reports. (Enterprise)
- Reports: Multiple dashboards improvements. (Enterprise)
- SAML : Support Azure Single Sign Out. (Enterprise)
- SAML: Add NameIDFormat in SP metadata. (Enterprise)
- SAML: Improve debug logs for saml logout. (Enterprise)
- SSE: Add noData type. #51973, @kylebrandt
- Search: Filter punctuation and tokenize camel case. #51165, @FZambia
- Search: Sync state on read for HA consistency. #50152, @FZambia
- Security: Choose Lookup params per auth module (CVE-2022-31107). #52312, @Jguer
- Service Accounts: Managed permissions for service accounts. #51818, @IevaVasiljeva
- Service accounts: Grafana service accounts are enabled by default. #51402, @vtorosyan
- ServiceAccounts: Add Prometheus metrics service. #51831, @Jguer
- ServiceAccounts: Add Service Account Token last used at date. #51446, @Jguer
- SharePDF: Use currently selected variables and time range when generating PDF. (Enterprise)
- Slider: Enforce numeric constraints and styling within the text input. #50905, @drew08t
- State Timeline: Enable support for annotations. #47887, @dprokop
- Table panel: Add multiple data links support to Default, Image and JSONView cells. #51162, @dprokop
- TeamSync: Remove LDAP specific example from team sync. #51368, @Jguer
- TeamSync: Support case insensitive matches and wildcard groups. (Enterprise)
- Tempo: Add context menu to edges. #52396, @joey-grafana
- Tempo: Consider tempo search out of beta and remove beta badge and feature flags. #50030, @connorlindsey
- Tempo: Tempo/Prometheus links select ds in new tab (cmd + click). #52319, @joey-grafana
- Time series panel: Hide axis when series is hidden from the visualization. #51432, @dprokop
- TimeSeries: Add option for symmetrical y axes (align 0). #52555, @leeoniya
- TimeSeries: Add option to match axis color to series color. #51437, @leeoniya
- TimeSeries: Improved constantY rendering parity with Graph (old). #51401, @leeoniya
- Timeseries: Support multiple timezones in x axis. #52424, @ryantxu
- TopNav: Adds new feature toggle for upcoming nav. #51115, @torkelo
- Traces: APM table. #48654, @joey-grafana
- Traces: Add absolute time to span details. #50685, @joey-grafana
- Traces: Add horizontal scroll. #50278, @joey-grafana
- Traces: Consistent span colors for service names. #50782, @joey-grafana
- Traces: Move towards using OTEL naming conventions. #51379, @joey-grafana
- Traces: Span bar label. #50931, @joey-grafana
- Transformations: Add standard deviation and variance reducers. #52769, @ryantxu
- Transforms: Add Join by label transformation. #52670, @ryantxu
- URL: Encode certain special characters. #51806, @L-M-K-B
- ValueMappings: Make value mapping row focusable. #52337, @lpskdl
- Variables: Add 'jsonwithoutquote' formatting options for variables, and format of variable supports pipeline. #51859, @MicroOps-cn
- Variables: Selectively reload panels on URL update. #51003, @toddtreece
- Various Panels: Add ability to toggle legend with keyboard shortcut. #52241, @alyssabull
Bug fixes
- API: Fix failing test by initialising legacy guardian when creating folder scenario. #50800, @vicmarbev
- Access control: Show dashboard settings to users who can edit dashboard. #52532, @IevaVasiljeva
- Alerting: Fix RegExp matchers in frontend for Silences and other previews. #51726, @joeblubaugh
- Alerting: Fix rule API to accept 0 duration of field
For
. #50992, @yuri-tceretian - Alerting: Increase alert rule operation perf by replacing subquery with threshold calculation. #53069, @alexweav
- Barchart Panel: Fix threshold colors changing when data is refreshed. #52038, @mingozh
- Dashboard: Fix iteration property change triggering unsaved changes warning. #51272, @torkelo
- Dashboards: Disable variable pickers for snapshots. #52827, @joshhunt
- Elasticsearch: Always use fixed_interval. #50297, @gabor
- Geomap: Fix tooltip offset bug. #52627, @drew08t
- Geomap: Update with template variable change. #52007, @drew08t
- Loki: Fix adding of multiple label filters when parser. #52335, @ivanahuckova
- Loki: Fix support of ad-hoc filters for specific queries. #51232, @ivanahuckova
- Navigation: Hide
Dashboards
/Starred items
from navbar when unauthenticated. #53051, @ashharrison90 - PasswordReset: Enforce password length check on password reset request. #51005, @asymness
- Prometheus: Fix integer overflow in rate interval calculation on 32-bit architectures. #51508, @andreasgerstmayr
- Search: Fix indexing - re-index after initial provisioning. #50959, @FZambia
- Slider: Fixes styling of marker dots. #52678, @torkelo
- Tracing: Fix links to traces in Explore. #50113, @connorlindsey
Breaking changes
Some swagger operations and responses have been renamed to match the respective handler names in order to better highlight their relation. If you use the Swagger specification for generating code, you have to re-generate it and make the necessary adjustments. Issue #52643
The following metrics have been converted to histograms:
- grafana_datasource_request_total
- grafana_datasource_request_duration_seconds
- grafana_datasource_response_size_bytes
- grafana_datasource_request_in_flight
- grafana_plugin_request_duration_milliseconds
- grafana_alerting_rule_evaluation_duration_seconds Issue #50420
In Elasticsearch versions 7.x, to specify the interval-value we used the interval
property. In Grafana 9.1.0 we switched to use the fixed_interval
property. This makes it to be the same as in Elasticsearch versions 8.x, also this provides a more consistent experience, fixed_interval
is a better match to Grafana's time invervals. For most situations this will not cause any visible change to query results. Issue #50297
Grafana now reserves alert labels prefixed with grafana_
Labels prefixed with grafana_
are reserved by Grafana for special use. If a manually configured label is added beginning with grafana_
it may be overwritten in case of collision.
The current list of labels created by Grafana and available for use anywhere manually configured labels are:
Label | Description | |
---|---|---|
grafana_folder | Title of the folder containing the alert. | Issue #50262 |
In Prometheus, browser access mode was deprecated in Grafana 7.4.0 and removed in 9.0.0. If you used this mode, please switch to server access mode on the datasource configuration page. Issue #50162
Plugin development fixes & changes
- Dropdown: New dropdown component. #52684, @torkelo
- Grafana/UI: Add ColorPickerInput component. #52222, @Clarity-89
- Plugins: Validate root URLs when signing private plugins via grafana-toolkit. #51968, @wbrowne
9.0.9 (2022-09-20)
Bug fixes
- AngularPanels: Fixing changing angular panel options not taking having affect when coming back from panel edit. #54834, @grafanabot
- AuthNZ: Security fixes for CVE-2022-35957 and CVE-2022-36062. #55498, @IevaVasiljeva
- FIX: RBAC prevents deleting empty snapshots (#54385). #54509, @gamab
9.0.8 (2022-08-30)
Features and enhancements
- Alerting: Hide "no rules" message when we are fetching from data sources. #53778, @gillesdemey
- Rendering: Add support for renderer token (#54425). #54439, @joanlopez
- Reports: Title is showing under panels. (Enterprise)
- Alerting: AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled. #53680, @yuri-tceretian
9.0.7 (2022-08-10)
Features and enhancements
- CloudMonitoring: Remove link setting for SLO queries. #53031, @andresmgot
Bug fixes
9.0.6 (2022-08-01)
Features and enhancements
- Access Control: Allow org admins to invite new users to their organization. #52904, @IevaVasiljeva
Bug fixes
- Grafana/toolkit: Fix incorrect image and font generation for plugin builds. #52927, @academo
- Prometheus: Fix adding of multiple values for regex operator. #52978, @ivanahuckova
- UI/Card: Fix card items always having pointer cursor. #52809, @gillesdemey
9.0.5 (2022-07-26)
Features and enhancements
- Access control: Show dashboard settings to users who can edit dashboard. #52535, @grafanabot
- Alerting: Allow the webhook notifier to support a custom Authorization header. #52515, @gotjosh
- Chore: Upgrade to Go version 1.17.12. #52523, @sakjur
- Plugins: Add signature wildcard globbing for dedicated private plugin type. #52163, @wbrowne
- Prometheus: Don't show errors from unsuccessful API checks like rules or exemplar checks. #52193, @darrenjaneczek
Bug fixes
- Access control: Allow organisation admins to add existing users to org (#51668). #52553, @vtorosyan
- Alerting: Fix alert panel instance-based rules filtering. #52583, @konrad147
- Apps: Fixes navigation between different app plugin pages. #52571, @torkelo
- Cloudwatch: Upgrade grafana-aws-sdk to fix auth issue with secret keys. #52420, @sarahzinger
- Grafana/toolkit: Fix incorrect image and font generation for plugin builds. #52661, @academo
- Loki: Fix
show context
not working in some occasions. #52458, @svennergr - RBAC: Fix permissions on dashboards and folders created by anonymous users. #52615, @gamab
9.0.4 (2022-07-20)
Features and enhancements
- Browse/Search: Make browser back work properly when visiting Browse or search. #52271, @torkelo
- Logs: Improve getLogRowContext API. #52130, @gabor
- Loki: Improve handling of empty responses. #52397, @gabor
- Plugins: Always validate root URL if specified in signature manfiest. #52332, @wbrowne
- Preferences: Get home dashboard from teams. #52225, @sakjur
- SQLStore: Support Upserting multiple rows. #52228, @joeblubaugh
- Traces: Add more template variables in Tempo & Zipkin. #52306, @joey-grafana
- Traces: Remove serviceMap feature flag. #52375, @joey-grafana
Bug fixes
- Access Control: Fix missing folder permissions. #52410, @IevaVasiljeva
- Access control: Fix org user removal for OSS users. #52473, @IevaVasiljeva
- Alerting: Fix Slack notification preview. #50230, @ekrucio
- Alerting: Fix Slack push notifications. #52391, @grobinson-grafana
- Alerting: Fixes slack push notifications. #50267, @jgillick
- Alerting: Preserve new-lines from custom email templates in rendered email. #52253, @alexweav
- Insights: Fix dashboard and data source insights pages. (Enterprise)
- Log: Fix text logging for unsupported types. #51306, @papagian
- Loki: Fix incorrect TopK value type in query builder. #52226, @ivanahuckova
9.0.3 (2022-07-14)
Features and enhancements
- Access Control: Allow dashboard admins to query org users. #51652, @IevaVasiljeva
- Access control: Allow organisation admins to add existing users to org. #51668, @IevaVasiljeva
- Alerting: Add method to provisioning API for obtaining a group and its rules. #51761, @alexweav
- Alerting: Add method to provisioning API for obtaining a group and its rules. #51398, @alexweav
- Alerting: Allow filtering of contact points by name. #51933, @alexweav
- Alerting: Disable /api/admin/pause-all-alerts with Unified Alerting. #51895, @joeblubaugh
- Analytics: Add total queries and cached queries in usage insights logs. (Enterprise)
- Annotations: Use point marker for short time range annotations. #51520, @codeincarnate
- AzureMonitor: Update UI to experimental package. #52123, @asimpson
- AzureMonitor: Update resource and namespace metadata. #52030, @despian
- CloudWatch: Remove simplejson in favor of 'encoding/json'. #51062, @asimpson
- DashboardRow: Collapse shortcut prevent to move the collapsed rows. #51589, @ivanortegaalba
- Insights: Add dashboard UID to exported logs. (Enterprise)
- Navigation: Highlight active nav item when Grafana is served from subpath. #51767, @kianelbo
- Plugins: InfluxDB datasource - set epoch query param value as "ms". #51651, @itsmylife
- Plugins: InfluxDB update time range query. #51833, @itsmylife
- StateTimeline: Try to sort time field. #51569, @zoltanbedi
Bug fixes
- API: Do not validate/save legacy alerts when saving a dashboard if legacy alerting is disabled. #51883, @papagian
- Access Control: Fix missing folder permissions. #52153, @IevaVasiljeva
- Alerting: Add method to reset notification policy tree back to the default. #51934, @alexweav
- Alerting: Fix Teams notifier not failing on 200 response with error. #52254, @JacobsonMT
- Alerting: Fix bug where state did not change between Alerting and Error. #52204, @grobinson-grafana
- Alerting: Fix consistency errors in OpenAPI documentation. #51935, @alexweav
- Alerting: Fix normalization of alert states for panel annotations. #51637, @gillesdemey
- Alerting: Provisioning API respects global rule quota. #52180, @alexweav
- CSRF: Fix additional headers option. #50629, @sakjur
- Chore: Bump parse-url to 6.0.2 to fix security vulnerabilities. #51796, @jackw
- Chore: Fix CVE-2020-7753. #51752, @jackw
- Chore: Fix CVE-2021-3807. #51753, @jackw
- Chore: Fix CVE-2021-3918. #51745, @jackw
- Chore: Fix CVE-2021-43138. #51751, @jackw
- Chore: Fix CVE-2022-0155. #51755, @jackw
- Custom Branding: Fix login logo size. (Enterprise)
- Dashboard: Fixes tooltip issue with TimePicker and Setting buttons. #51836, @torkelo
- Dashboard: Prevent unnecessary scrollbar when viewing single panel. #52122, @lpskdl
- Logs: Fixed wrapping log lines from detected fields. #52108, @svennergr
- Loki: Add missing operators in label filter expression. #51880, @ivanahuckova
- Loki: Fix error when changing operations with different parameters. #51779, @svennergr
- Loki: Fix suggesting of correct operations in query builder. #52034, @ivanahuckova
- Plugins: InfluxDB variable interpolation fix. #51917, @itsmylife
- Plugins: InfluxDB variable interpolation fix for influxdbBackendMigration feature flag. #51624, @itsmylife
- Reports: Fix line breaks in message. (Enterprise)
- Reports: Fix saving report formats. (Enterprise)
- SQLstore: Fix fetching an inexistent playlist. #51962, @papagian
- Security: Fixes for CVE-2022-31107 and CVE-2022-31097. #52279, @kminehart
- Snapshots: Fix deleting external snapshots when using RBAC. #51897, @idafurjes
- Table: Fix scrollbar being hidden by pagination. #51501, @zoltanbedi
- Templating: Changing between variables with the same name now correctly triggers a dashboard refresh. #51490, @ashharrison90
- Time series panel: Fix an issue with stacks being not complete due to the incorrect data frame length. #51910, @dprokop
- [v9.0.x] Snapshots: Fix deleting external snapshots when using RBAC (#51897). #51904, @idafurjes
9.0.2 (2022-06-28)
Features and enhancements
- Alerting: Add support for images in Pushover alerts. #51372, @grobinson-grafana
- Alerting: Don't stop the migration when alert rule tags are invalid. #51253, @gotjosh
- Alerting: Don't stop the migration when alert rule tags are invalid (…. #51341, @gotjosh
- Alerting: Skip the default data source if incompatible. #51452, @gillesdemey
- AzureMonitor: Parse non-fatal errors for Logs. #51320, @andresmgot
- OAuth: Restore debug log behavior. #51244, @Jguer
- Plugins: Improved handling of symlinks. #51324, @marefr
Bug fixes
- Alerting: Code-gen parsing of URL parameters and fix related bugs. #51353, @alexweav
- Alerting: Code-gen parsing of URL parameters and fix related bugs. #50731, @alexweav
- Annotations: Fix annotation autocomplete causing panels to crash. #51164, @ashharrison90
- Barchart: Fix warning not showing. #51190, @joshhunt
- CloudWatch: Enable custom session duration in AWS plugin auth. #51322, @sunker
- Dashboards: Fixes issue with the initial panel layout counting as an unsaved change. #51315, @JoaoSilvaGrafana
- Plugins: Use a Grafana specific SDK logger implementation for core plugins. #51229, @marefr
- Search: Fix pagination in the new search page. #51366, @ArturWierzbicki
9.0.1 (2022-06-21)
Features and enhancements
- Alerting: Add support for image annotation in Alertmanager alerts. #50686, @grobinson-grafana
- Alerting: Add support for images in SensuGo alerts. #50718, @grobinson-grafana
- Alerting: Add support for images in Threema alerts. #50734, @grobinson-grafana
- Alerting: Adds Mimir to Alertmanager data source implementation. #50943, @gillesdemey
- Alerting: Invalid setting of enabled for unified alerting should return error. #49876, @grobinson-grafana
- AzureMonitor: Clean namespace when changing the resource. #50311, @andresmgot
- AzureMonitor: Update supported namespaces and filter resources by the right type. #50788, @andresmgot
- CLI: Allow relative symlinks in zip archives when installing plugins. #50537, @marefr
- Dashboard: Don't show unsaved changes modal for automatic schema changes. #50822, @torkelo
- Dashboard: Unsaved changes warning should not trigger when only pluginVersion has changed. #50677, @torkelo
- Expression: Execute hidden expressions. #50636, @yesoreyeram
- Geomap: Support showing tooltip content on click (not just hover). #50985, @ryantxu
- Heatmap: Remove alpha flag from new heatmap panel. #50733, @ryantxu
- Instrumentation: Define handlers for requests that are not handled with named handlers. #50613, @bergquist
- Log Panel: Improve log row hover contrast and visibility. #50908, @Seyaji
- Logs: Handle backend-mode errors in histogram. #50535, @gabor
- Loki: Do not show histogram for instant queries. #50711, @gabor
- Loki: Handle data source configs with path in the url. #50971, @gabor
- Loki: Handle invalid query type values. #50755, @gabor
- OAuth: Redirect to login if no oauth module is found or if module is not configured. #50661, @kalleep
- OptionsUI: Move internal options editors out of @grafana/ui. #50739, @ryantxu
- Prometheus: Don't show undefined for step in collapsed options in query editor when value is "auto". #50511, @aocenas
- Prometheus: Show query patterns in all editor modes for Prometheus and Loki. #50263, @ivanahuckova
- Tempo: Add link to Tempo Search with node service selected. #49776, @joey-grafana
- Time Series Panel: Add Null Filling and "No Value" Support. #50907, @codeincarnate
- TimeSeries: Add an option to set legend width. #49126, @bobrik
- Timeseries: Improve cursor Y sync behavior. #50740, @ryantxu
- Traces: Do not use red in span colors as this looks like an error. #50074, @joey-grafana
Bug fixes
- Alerting: Fix AM config overwrite when SQLite db is locked during sync. #50951, @JacobsonMT
- Alerting: Fix alert instances filtering for prom rules. #50850, @konrad147
- Alerting: Fix alert rule page crashing when datasource contained URL unsafe characters. #51105, @gillesdemey
- Alerting: Fix automatically select newly created folder option. #50949, @gillesdemey
- Alerting: Fix removal of notification policy without labels matchers. #50678, @konrad147
- CloudWatch: Allow hidden queries to be executed in case an ID is provided. #50987, @sunker
- Dashboard: Prevent non-repeating panels being dropped from repeated rows when collapsed/expanded. #50764, @ashharrison90
- Dashboards: Fix folder picker not showing correct results when typing too fast. #50303, @joshhunt
- Datasource: Prevent panic when proxying for non-existing data source. #50667, @wbrowne
- Explore: Fix log context scroll to bottom. #50600, @ivanahuckova
- Explore: Revert "Remove support for compact format URLs (#49350)". #50873, @gelicia
- Expressions: Fixes dashboard schema migration issue that casued Expression datasource to be set on panel level. #50945, @torkelo
- Formatting: Fixes valueFormats for a value of 0. #50719, @JoaoSilvaGrafana
- GrafanaData: Fix week start for non-English browsers. #50582, @AgnesToulet
- LibraryPanel: Resizing a library panel to 6x3 no longer crashes the dashboard on startup. #50400, @ashharrison90
- LogRow: Fix placement of icon. #51010, @ivanahuckova
- Loki: Fix bug in labels framing. #51015, @gabor
- Loki: Fix issues with using query patterns. #50414, @ivanahuckova
- Loki: Fix showing of duplicated label values in dropdown in query builder. #50680, @ivanahuckova
- MSSQL: Fix ParseFloat error. #50815, @zoltanbedi
- Panels: Fixes issue with showing 'Cannot visualize data' when query returned 0 rows. #50485, @torkelo
- Playlists: Disable Create Playlist buttons for users with viewer role. #50840, @asymness
- Plugins: Fix typo in plugin data frames documentation. #50554, @osisoft-mbishop
- Prometheus: Fix body not being included in resource calls if they are POST. #50833, @aocenas
- RolePicker: Fix submenu position on horizontal space overflow. #50769, @Clarity-89
- Tracing: Fix trace links in traces panel. #50028, @connorlindsey
Deprecations
Support for compact Explore URLs is deprecated and will be removed in a future release. Until then, when navigating to Explore using the deprecated format the URLs are automatically converted. If you have existing links pointing to Explore update them using the format generated by Explore upon navigation.
You can identify a compact URL by its format. Compact URLs have the left (and optionally right) url parameter as an array of strings, for example &left=["now-1h","now"...]
. The standard explore URLs follow a key/value pattern, for example &left={"datasource":"test"...}
. Please be sure to check your dashboards for any hardcoded links to Explore and update them to the standard URL pattern. Issue #50873
9.0.0 (2022-06-10)
Features and enhancements
- API: Add GET /api/annotations/:annotationId endpoint. #47739, @scottbock
- API: Add endpoint for updating a data source by its UID. #49396, @papagian
- AccessControl: Add enterprise only setting for rbac permission cache. #49006, @kalleep
- AccessControl: Document basic roles changes and provisioning V2. #48910, @gamab
- AccessControl: Enable RBAC by default. #48813, @IevaVasiljeva
- AddDataSourceConfig: Remove deprecated checkHealth prop. #50296, @kaydelaney
- Alerting: Add Image URLs to Microsoft Teams notifier. #49385, @joeblubaugh
- Alerting: Add RBAC actions and role for provisioning API routes. #50459, @yuri-tceretian
- Alerting: Add Screenshot URLs to Pagerduty Notifier. #49377, @joeblubaugh
- Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. #49259, @joeblubaugh
- Alerting: Add a general screenshot service and alerting-specific image service. #49293, @joeblubaugh
- Alerting: Add image url or file attachment to email notifications. #49381, @joeblubaugh
- Alerting: Add image_urls to OpsGenie notification details. #49379, @joeblubaugh
- Alerting: Add notification policy flow chart. #49405, @peterholmberg
- Alerting: Attach image URL to alerts in Webhook notifier format. #49378, @joeblubaugh
- Alerting: Attach image URLs or upload files to Discord notifications. #49439, @alexweav
- Alerting: Attach image URLs to Google Chat notifications. #49445, @alexweav
- Alerting: Attach screenshot data to Unified Alerting notifications. #49374, @joeblubaugh
- Alerting: Create folder for alerting when start from the scratch. #48866, @yuri-tceretian
- Alerting: Modify alertmanager endpoints for proxying using the datasource UID. #47978, @papagian
- Alerting: Modify endpoint for testing a datasource rule using the UID. #48070, @papagian
- Alerting: Modify prometheus endpoints for proxying using the datasource UID. #48052, @papagian
- Alerting: State Manager takes screenshots. #49338, @joeblubaugh
- Alerting: Use UID scope for folders authorization. #48970, @yuri-tceretian
- Alerting: modify ruler endpoints for proxying using the datasource UID. #48046, @papagian
- Angular: Adds back two angular directives that are still used by remaining angular bits and plugins. #50380, @torkelo
- Azure Monitor: Add Resource Picker to Metrics Queries. #49029, @sarahzinger
- Azure Monitor: Add search feature to resource picker. #48234, @sarahzinger
- AzureMonitor: Add support for selecting multiple options when using the equals and not equals dimension filters. #48650, @aangelisc
- AzureMonitor: Remove deprecated code. #48328, @andresmgot
- Build: Change names to PascalCase to match. #48949, @zuchka
- Chore: Remove deprecated DataSourceAPI methods. #49313, @ifrost
- Chore: Upgrade typescript to 4.6.4. #49016, @kaydelaney
- Cloud Monitoring: Use new annotation API. #49026, @kevinwcyu
- CloudMonitoring: Allow to set a custom value or disable graph_period. #48646, @andresmgot
- CloudWatch: Add generic filter component to variable editor. #47907, @iwysiu
- CloudWatch: Added missing AWS/AppRunner metrics. #49174, @Aton-Kish
- CloudWatch: Enable support for dynamic labels with migrated alias patterns. #49173, @sunker
- Cloudwatch: Pass label in deep link. #49160, @sunker
- Cloudwatch: Use new annotation API. #48102, @sunker
- Dashboard: Validate dashboards against schema on save. #48252, @sdboyer
- DashboardPickerByID: Add option to exclude dashboards. #49211, @Clarity-89
- DashboardPickerById: Add optionLabel prop. #47556, @Clarity-89
- Dashboards: Display values of 0 with the configured decimal places. #48155, @wx1322
- Data: Remove deprecated types and functions from valueMappings. #50035, @kaydelaney
- Elasticsearch: Remove browser access mode. #49014, @gabor
- Elasticsearch: Remove support for versions after their end of the life (<7.10.0). #48715, @ivanahuckova
- Encryption: Add support for multiple data keys per day. #47765, @joanlopez
- Encryption: Enable envelope encryption by default. #49301, @joanlopez
- Explore: Remove support for legacy, compact format URLs. #49350, @gelicia
- Explore: Skip Angular error handling when Angular support is disabled. #49311, @ifrost
- Explore: simplify support for multiple query editors. #48701, @Elfo404
- FeatureToggles: Support changing feature toggles with URL parameters. #50275, @ryantxu
- FileUpload: Make component accessible by keyboard navigation. #47497, @tolzhabayev
- Formatting: Make SI number formats more robust. #50117, @kaydelaney
- Graph: Deprecate Graph (old) and make it no longer a visualization option for new panels. #48034, @torkelo
- IconButton: IconButtons are now correctly aligned in Safari. #48759, @ashharrison90
- Logger: Enable new logging format by default. #47584, @ying-jeanne
- Loki: Add more query patterns. #50248, @ivanahuckova
- Loki: Enable new visual query builder by default. #48346, @ivanahuckova
- Loki: use the same dataframe-format for both live and normal queries. #47153, @gabor
- OAuth: Make allowed email domain case insensitive. #49252, @Jguer
- Panels: Use the No value option when showing the no data message. #47675, @torkelo
- Plugins: Remove plugin list panel. #46914, @tolzhabayev
- Query History: Enable new query history by default. #49407, @ifrost
- QueryEditorRow: Show query errors next to query in a consistent way across Grafana. #47613, @torkelo
- SAML: Implement Name Templates for assertion_attribute_name option. #48022, @mmandrus
- Service accounts: Do not display service accounts assigned to team. #48995, @eleijonmarck
- Settings: Use Grafana Azure SDK to pass Azure env vars for external plugins. #48954, @kostrse
- Shortcuts: Add shortcut to show shortcuts to the list of shortcuts. #48395, @ivanahuckova
- Traces Panel: Add new Traces Panel visualization. #47534, @joey-grafana
- Traces: Filter by service/span name and operation in Tempo and Jaeger. #48209, @joey-grafana
- Transformations: Allow more complex regex expressions in
Rename by regex
. #48179, @ashharrison90 - grafana/ui: Add default type="button" to . #48183, @axelavargas
Bug fixes
- Alerting: Fix database unavailable removes rules from scheduler. #49874, @grobinson-grafana
- AzureMonitor: Fix auto-selection of time-grain for metrics. #49278, @aangelisc
- DataSources: Fixes issue with expressions not being queried. #50446, @JoaoSilvaGrafana
- GraphNG: Fix thresholds by color not following data update. #48571, @zoltanbedi
- Jaeger: Update operations dropdown. #49329, @joey-grafana
- Login: Fix mismatching label on auth_module in user list. #49177, @Jguer
- Playlists: Save button now correctly creates a new playlist. #50381, @ashharrison90
- RBAC: Fix migrations running in the wrong order causing inheritance problem in enterprise. #50452, @gamab
- RBAC: Fix migrations running into the wrong order. (Enterprise)
- ServiceAccounts: Add identifiable token prefix to service account tokens. #49011, @Jguer
- Traces: Fix missing CopyButton on KeyValueTables and overlapping of panels. #49271, @svennergr
Breaking changes
The @grafana/ui
package helper function selectOptionInTest
used in frontend tests has been removed as it caused testing libraries to be bundled in the production code of Grafana. If you were using this helper function in your tests please update your code accordingly:
// before
import { selectOptionInTest } from '@grafana/ui';
// ...test usage
await selectOptionInTest(selectEl, 'Option 2');
// after
import { select } from 'react-select-event';
// ...test usage
await select(selectEl, 'Option 2', { container: document.body });
Issue #50442
Removed deprecated checkHealth
prop from the @grafana/e2e
addDataSource
config. Previously this value defaulted to false
, and has not been used in end-to-end tests since Grafana 8.0.3. Issue #50296
Removes the deprecated LegacyBaseMap
, LegacyValueMapping
, LegacyValueMap
, and LegacyRangeMap
types, and getMappedValue
function from grafana-data. Migration is as follows:
Old | New |
---|---|
LegacyBaseMap |
MappingType |
LegacyValueMapping |
ValueMapping |
LegacyValueMap |
ValueMap |
LegacyRangeMap |
RangeMap |
getMappedValue |
getValueMappingResult |
This change fixes a bug in Grafana where intermittent failure of database, network between Grafana and the database, or error in querying the database would cause all alert rules to be unscheduled in Grafana. Following this change scheduled alert rules are not updated unless the query is successful.
The get_alert_rules_duration_seconds
metric has been renamed to schedule_query_alert_rules_duration_seconds
. Issue #49874
-
Any secret (data sources credential, alert manager credential, etc, etc) created or modified with Grafana v9.0 won't be decryptable from any previous version (by default) because the way encrypted secrets are stored into the database has changed. Although secrets created or modified with previous versions will still be decryptable by Grafana v9.0.
-
If required, although generally discouraged, the
disableEnvelopeEncryption
feature toggle can be enabled to keep envelope encryption disabled once updating to Grafana v9.0. -
In case of need to rollback to an earlier version of Grafana (i.e. Grafana v8.x) for any reason, after being created or modified any secret with Grafana v9.0, the
envelopeEncryption
feature toggle will need to be enabled to keep backwards compatibility (only fromv8.3.x
a bit unstable, from8.5.x
stable). -
As a final attempt to deal with issues related with the aforementioned situations, the
grafana-cli admin secrets-migration rollback
command has been designed to move back all the Grafana secrets encrypted with envelope encryption to legacy encryption. So, after running that command it should be safe to disable envelope encryption and/or roll back to a previous version of Grafana. -
Alternatively or complementarily to all the points above, backing up the Grafana database before updating could be a good idea to prevent disasters (although the risk of getting some secrets corrupted only applies to those updates/created with after updating to Grafana v9.0). Issue #49301
-
According to the dynamic labels documentation, you can use up to five dynamic values per label. There’s currently no such restriction in the alias pattern system, so if more than 5 patterns are being used the GetMetricData API will return an error.
-
Dynamic labels only allow ${LABEL} to be used once per query. There’s no such restriction in the alias pattern system, so in case more than 1 is being used the GetMetricData API will return an error.
-
When no alias is provided by the user, Grafana will no longer fallback with custom rules for naming the legend.
-
In case a search expression is being used and no data is returned, Grafana will no longer expand dimension values, for instance when using a multi-valued template variable or star wildcard
*
in the dimension value field. Ref https://github.com/grafana/grafana/issues/20729 -
Time series might be displayed in a different order. Using for example the dynamic label
${PROP('MetricName')}
, might have the consequence that the time series are returned in a different order compared to when the alias pattern{{metric}}
is used
Issue #49173
In Elasticsearch, browser access mode was deprecated in grafana 7.4.0 and removed in 9.0.0. If you used this mode, please switch to server access mode on the datasource configuration page. Issue #49014
Environment variables passed from Grafana to external Azure plugins have been renamed:
AZURE_CLOUD
renamed toGFAZPL_AZURE_CLOUD
AZURE_MANAGED_IDENTITY_ENABLED
renamed toGFAZPL_MANAGED_IDENTITY_ENABLED
AZURE_MANAGED_IDENTITY_CLIENT_ID
renamed toGFAZPL_MANAGED_IDENTITY_CLIENT_ID
There are no known plugins which were relying on these variables. Moving forward plugins should read Azure settings only via Grafana Azure SDK which properly handles old and new environment variables. Issue #48954
Removes support for for ElasticSearch versions after their end-of-life, currently versions < 7.10.0. To continue to use ElasticSearch data source, upgrade ElasticSearch to version 7.10.0+. Issue #48715
Application Insights and Insight Analytics queries in Azure Monitor were deprecated in Grafana 8.0 and finally removed in 9.0. Deprecated queries will no longer be executed. Please refer to the documentation for more information about this change.
Issue #48328
grafana/ui: Button now specifies a default type="button"
The Button
component provided by @grafana/ui now specifies a default type="button"
when no type is provided. In previous versions, if the attribute was not specified for buttons associated with a <form>
the default value was submit
per the specification
You can preserve the old behavior by explicitly setting the type attribute: <Button type="submit" />
Github Issue #41863. Issue #48183
The Rename by regex
transformation has been improved to allow global patterns of the form /<stringToReplace>/g
. Depending on the regex match used, this may cause some transformations to behave slightly differently. You can guarantee the same behaviour as before by wrapping the match
string in forward slashes (/
), e.g. (.*)
would become /(.*)/
Issue #48179
<Select />
menus will now portal to the document body by default. This is to give more consistent behaviour when positioning and overlaying. If you were setting menuShouldPortal={true}
before you can safely remove that prop and behaviour will be the same. If you weren't explicitly setting that prop, there should be no visible changes in behaviour but your tests may need updating. Please see the original PR (https://github.com/grafana/grafana/pull/36398) for migration guides. If you were setting menuShouldPortal={false}
this will continue to prevent the menu from portalling.
Issue #48176
Grafana alerting endpoint prefixed with api/v1/rule/test
that tests a rule against a Corte/Loki data source now expects the data source UID as a path parameter instead of the data source numeric identifier. Issue #48070
Grafana alerting endpoints prefixed with api/prometheus/
that proxy requests to a Cortex/Loki data source now expect the data source UID as a path parameter instead of the data source numeric identifier. Issue #48052
Grafana alerting endpoints prefixed with api/ruler/
that proxy requests to a Cortex/Loki data source now expect the data source UID as a path parameter instead of the data source numeric identifier. Issue #48046
Grafana alerting endpoints prefixed with api/alertmanager/
that proxy requests to an Alertmanager now expect the data source UID as a path parameter instead of the data source numeric identifier. Issue #47978
The format of log messages have been updated, lvl
is now level
and eror
and dbug
has been replaced with error
and debug
. The precision of timestamps has been increased. To smooth the transition, it is possible to opt-out of the new log format by enabling the feature toggle oldlog
. This option will be removed in a future minor release. Issue #47584
In the Loki data source, the dataframe format used to represent Loki logs-data has been changed to a more efficient format. The query-result is represented by a single dataframe with a "labels" column, instead of the separate dataframes for every labels-value. When displaying such data in explore, or in a logs-panel in the dashboard will continue to work without changes, but if the data was loaded into a different dashboard-panel, or Transforms were used, adjustments may be necessary. For example, if you used the "labels to fields" transformation with the logs data, please switch to the "extract fields" transformation. Issue #47153
Deprecations
setExploreQueryField
, setExploreMetricsQueryField
and setExploreLogsQueryField
are now deprecated and will be removed in a future release. If you need to set a different query editor for Explore, conditionally render based on props.app
in your regular query editor. Please refer to https://grafana.com/docs/grafana/latest/developers/plugins/add-support-for-explore-queries/ for more information.
Issue #48701
Plugin development fixes & changes
- Chore: Remove react-testing-lib from bundles. #50442, @jackw
- Select: Portal menu by default. #48176, @ashharrison90
9.0.0-beta3 (2022-06-06)
Features and enhancements
- Alerting: Add provenance guard to config api. #50147, @JohnnyQQQQ
- Alerting: Make folder filter clearable in Alert list panel. #50093, @peterholmberg
- Alerting: Provisioning API - Alert rules. #47930, @JohnnyQQQQ
- Alerting: Remove Image Upload code from Slack notifier. #50062, @joeblubaugh
- Alerting: Remove double quotes from matchers. #50038, @gotjosh
- Cloudwatch: Dynamic labels autocomplete. #49794, @sunker
- Datasource: Remove deprecated max_idle_connections_per_host setting. #49948, @marefr
- Datasource: Remove support for unencrypted passwords. #49987, @marefr
- Dependencies: Update to Golang version
1.17.11
. #50253, @dsotirakis - Loki: Run query when pressing Enter on line-filters. #49913, @svennergr
- Metrics: Remove support for using summaries instead of histogram for HTTP instrumentation. #49985, @bergquist
- Plugins: Remove deprecated /api/tsdb/query metrics endpoint. #49916, @wbrowne
- Plugins: Support headers field for check health. #49930, @marefr
- Prometheus/Loki: Add raw query and syntax highlight in explain mode. #50070, @aocenas
- Prometheus: Migrate metadata queries to use resource calls. #49921, @srclosson
- RBAC: Make RBAC action names more consistent. #49730, @IevaVasiljeva
- RBAC: Make RBAC action names more consistent. (Enterprise)
- Settings: Sunset non-duration based login lifetime config. #49944, @sakjur
- [9.0.x] Alerting: Update alert rule diff to not see difference between nil and empty map. #50198, @yuri-tceretian
Bug fixes
- Alerting: Fix alert list panel showing firing alerts with no instances. #50069, @gillesdemey
- Alerting: Fix notification policy "Override grouping" form save. #50031, @JacobsonMT
- Alerting: Remove double quotes from matchers. #50046, @alexweav
- Alerting: Use correct permission scope for external AM updates. #50159, @gillesdemey
- Datasource: Fix allowed cookies to be forwarded as header to backend datasources. #49541, @marefr
- Licensing: Fix trial expiration warning. (Enterprise)
- Loki: Fix uncaught errors if
labelKey
contains special characters. #49887, @svennergr - Prometheus: Fix aligning of labels of exemplars after backend migration. #49924, @aocenas
- SharePDF: Fix repeated datasource variables in PDF. (Enterprise)
- State Timeline: Fix Null Value Filling and Value Transformation. #50054, @codeincarnate
- Usage stats: Divide collection into multiple functions to isolate failures. #49928, @sakjur
Breaking changes
Removes support for storing/using datasource password
and basicAuthPassword
unencrypted which was deprecated in Grafana v8.1.0. Please use secureJsonData.password
and secureJsonData.basicAuthPassword
. Issue #49987
Removes the option to instrument HTTP request in Grafana using summaries instead of histograms. Issue #49985
Removes support for deprecated dataproxy.max_idle_connections_per_host setting. Please use max_idle_connections instead. Issue #49948
Removes the deprecated getFormStyles
function from grafana-ui.
Prefer using GrafanaTheme2
and the useStyles2
hook. Issue #49945
The configuration options auth.login_maximum_inactive_lifetime_days
and auth.login_maximum_lifetime_days
were deprecated in Grafana v7.2.0 and have now been removed. Use login_maximum_inactive_lifetime_duration
and login_maximum_lifetime_duration
to customize the maximum lifetime of a login session. Issue #49944
Removed the deprecated isFocused
and isInvalid
props from the InlineLabel
component. These props haven't done anything for a while, so migration is just a matter of removing the props. Issue #49929
Removed the deprecated onColorChange
prop from ColorPicker
. Moving forward the onChange
prop should be used. Issue #49923
/api/tsdb/query
API has been removed. Use /api/ds/query instead.
Issue #49916
onClipboardCopy
and onClipboardError
APIs have been changed such that the callback's argument is just the text that's been copied rather than the old ClipboardEvent
interface.
Migration should just be a matter of going from
<ClipboardButton
{/*other props... */}
onClipboardCopy={(e) => {
console.log(`Text "${e.text}" was copied!`);
}}
/>
to
<ClipboardButton
{/* other props... */}
onClipboardCopy={(copiedText) => {
console.log(`Text "${copiedText}" was copied!`);
}}
/>
Issue #49847
The following RBAC action renames have been carried out:
users.authtoken:update
->users.authtoken:write
;users.password:update
->users.password:write
;users.permissions:update
->users.permissions:write
;users.quotas:update
->users.quotas:write
;org.users.role:update
->org.users:write
;alert.instances:update
->alert.instances:write
;alert.rules:update
->alert.rules:write
;users.authtoken:list
->users.authtoken:read
;users.quotas:list
->users.quotas:read
;users.teams:read
-> replaced byusers.read
+teams:read
We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue #49730
The following RBAC action renames have been carried out:
reports.admin:write
->reports:write
;reports.admin:create
->reports:create
;licensing:update
->licensing:write
;roles:list
->roles:read
;teams.roles:list
->teams.roles:read
;users.roles:list
->users.roles:read
;users.permissions:list
->users.permissions:read
We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue #3372
Plugin development fixes & changes
- UI: Remove deprecated getFormStyles function. #49945, @kaydelaney
- InlineLabel: Remove deprecated props. #49929, @kaydelaney
- ColorPicker: Remove deprecated onColorChange prop. #49923, @kaydelaney
- ClipboardButton: Simplify callbacks. #49847, @kaydelaney
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.22 (2023-03-22)
8.5.21 (2023-02-28)
8.5.20 (2023-01-25)
Features and enhancements
8.5.15 (2022-11-08)
Features and enhancements
8.5.14 (2022-10-11)
Features and enhancements
- Access Control: Allow org admins to invite new users. #55585, @IevaVasiljeva
8.5.13 (2022-09-20)
Features and enhancements
Bug fixes
- AuthNZ: Security fixes for CVE-2022-35957 and CVE-2022-36062. #55495, @IevaVasiljeva
8.5.11 (2022-08-30)
Features and enhancements
- Rendering: Add support for renderer token (#54425). #54438, @joanlopez
- Alerting: AlertingProxy to elevate permissions for request forwarded to data proxy when RBAC enabled. #53681, @yuri-tceretian
8.5.10 (2022-08-08)
Bug fixes
8.5.9 (2022-07-14)
Bug fixes
8.5.6 (2022-06-14)
Bug fixes
- Dashboard: Fixes random scrolling on time range change. #50379, @torkelo
- Security: Fixes minor code scanning security warnings in old vendored javascript libs. #50382, @torkelo
8.5.5 (2022-06-06)
Features and enhancements
- Azure Monitor: Include datasource ref when interpolating variables. #49543, @kevinwcyu
- CloudWatch: Add multi-value template variable support for log group names in logs query builder. #49737, @kevinwcyu
- Cloudwatch: Add template variable query function for listing log groups. #50100, @yaelleC
Bug fixes
- Alerting: Do not overwrite existing alert rule condition. #49920, @gillesdemey
- Alerting: Remove double quotes from matchers. #50044, @alexweav
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.26 (2023-05-22)
Bugfixes
- Alerting: Require alert.notifications:write permissions to test receivers and templates
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.11 (2022-08-30)
Features and enhancements
- Rendering: Add support for renderer token (#54425). #54437, @joanlopez
8.4.10 (2022-07-14)
Bug fixes
- Security: Fixes for CVE-2022-31107 and CVE-2022-31097. #52218, @IevaVasiljeva
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