grafana v11.6.0 版本更新介绍
发布日期: 2025-03-25
版本号: v11.6.0
Grafana 11.6.0版本带来了多项功能增强和错误修复。主要更新包括:警报功能改进,如添加Jira集成、多阈值操作符支持、规则版本历史记录;权限控制增强,允许插件角色包含写入权限;Azure监控和资源选择器优化;UI组件改进如菜单样式更新和WebGL标记层支持;以及多项错误修复,如修复警报通知模板布局、仪表板时间范围更新问题等。此外还包含安全更新,如迁移到Go 1.23.7修复漏洞,以及一些破坏性变更如数据源查询权限调整。插件开发者需注意Select组件已弃用,推荐使用Combobox替代。
更新内容 (中文)
详见原始内容
更新内容 (原始)
Download page What’s new highlights
Features and enhancements
- API keys: Migrate API keys to service accounts at startup #96924, @dmihai
- AccessControl: Allow plugin roles to include
plugins:write
#101089, @gamab - Alerting: Add DAG errors to alert rule creation and view #99423, @soniaAguilarPeiron
- Alerting: Add Jira integration to cloud AMs #100482, @soniaAguilarPeiron
- Alerting: Add alert rule version history - part1 #99490, @soniaAguilarPeiron
- Alerting: Add migration to clean up rule versions table #102562, @yuri-tceretian
- Alerting: Add multiple threshold operators #99516, @paulojmdias
- Alerting: Add tracking for the mode used in query and notifications step when c… #100824, @soniaAguilarPeiron
- Alerting: Adding color option for slack receiver #99615, @wymangr
- Alerting: Allow selection of recording rule write target on per-rule basis. #101778, @stevesg
- Alerting: Allow specifying uid for new rules added to groups #99858, @moustafab
- Alerting: Improve template testing by trying non-root scopes #101471, @JacobsonMT
- Alerting: Include time range in template dashboard and panel urls #101095, @JacobsonMT
- Alerting: Keep the latest version of deleted rule in version table #101481, @yuri-tceretian
- Alerting: Promote alertingSaveStateCompressed flag to public preview #99935, @alexander-akhmetov
- Alerting: Remove ID and OrgID from hash calculation #100140, @yuri-tceretian
- Alerting: Remove feature toggle alertingNoNormalState #99905, @yuri-tceretian
- Alerting: Remove rule group edit from single rule editor #100191, @gillesdemey
- Alerting: Return 404 when /api/ruler/grafana/api/v1/rules/{Namespace}/{Groupname} does not exist #100264, @fayzal-g
- Alerting: Rule history restore feature #100609, @soniaAguilarPeiron
- Alerting: Support Jira Integration #100480, @yuri-tceretian
- Alerting: Track if new gm rules are created with queries and expressions transformable to simple mode #101121, @soniaAguilarPeiron
- Alerting: Update IRM copies in Configuration Tracker #100069, @teodosii
- Alerting: Update design of rule details tab and add
updated by
#99895, @tomratcliffe - Alerting: Update irm links for incident and oncall in case new irm plugin is present #99952, @soniaAguilarPeiron
- Alerting: Use exponential backoff in the remote Alertmanager readiness check #99756, @santihernandezc
- Alerting: Use uid instead of id in AnnotationsStateHistory #101207, @soniaAguilarPeiron
- Auth: Add IP address login attempt validation #98123, @colin-stuart
- Auth: Add support for the TlsSkipVerify parameter to JWT Auth #91514, @Ret2Me
- Auth: Make ssoSettingsSAML GA and enabled by default #101766, @mgyongyosi
- Azure Monitor: Filter namespaces by resource group #100325, @alyssabull
- Azure: Resource picker improvements #101462, @aangelisc
- Azure: Variable editor and resource picker improvements #101695, @alyssabull
- Badge: Add darkgrey color #100699, @Clarity-89
- Canvas: One click links and actions #99616, @adela-almasan
- Chore: Bump Go to 1.23.7 #101576, @macabu
- Chore: Bump Go to 1.23.7 (Enterprise)
- Chore: Bump github.com/expr-lang/expr to v1.17.0 to address CVE-2025-29786 #102533, @macabu
- Chore: Remove
sqlQuerybuilderFunctionParameters
feature toggle #100809, @zoltanbedi - CloudWatch: Track Logs Insights query language #100254, @idastambuk
- Configuration tracker: Update copy in IRM and point to new IRM slack integration #100440, @teodosii
- Dashboard: Folder move unexpected behavior #100394, @yincongcyincong
- Dashboards: Allow custom quick time ranges specified in dashboard model #93724, @sknaumov
- Dashboards: Monitor dashboard loading performance #99629, @dprokop
- Dashboards: Remove default empty string from variable create view #98922, @yincongcyincong
- Dashboards: WeekStart is now of type WeekStart | undefined instead of string #101123, @oscarkilhed
- DesignSystem: Menu and popover styling update to use new elevated background token #100255, @torkelo
- Docker: Use our own glibc 2.40 binaries #99903, @DanCech
- Docs: Add a note on query caching for Cloudwatch datasource #100180, @idastambuk
- Drilldown: Require
datasources:explore
RBAC action #101366, @svennergr - Elasticsearch: Remove frontend testDatasource method #99894, @idastambuk
- Elasticsearch: Replace level in adhoc filters with level field name #100315, @iwysiu
- Elasticsearch: Replace term size dropdown with text input #99718, @iwysiu
- Explore: Add
hide_logs_download
and hide button to download logs #99512, @svennergr - Explore: Move drilldown apps from Explore to a new navbar item “Drilldown” #100409, @adrapereira
- ExploreMetrics: Add toggle to enable routing to externalized Explore Metrics app plugin #99481, @NWRichmond
- Feat: OSS connections page state filter and update all added #100688, @s4kh
- Features: Remove openSearchBackendFlowEnabled feature toggle #99068, @idastambuk
- Folders: Add validation that folder is not a parent of itself #101569, @stephaniehingtgen
- Geomap: WebGL for Marker Layer #95457, @drew08t
- Grafana/ui: Export UsersIndicator #100698, @Clarity-89
- Graphite: Compare query builder query to raw query #101104, @bossinc
- Histogram: Handle multiple native histograms #98404, @domasx2
- Image Renderer: Add support for SSL in plugin mode #98009, @nmarrs
- ImportDashboards: Use NestedFolderPicker #99696, @joshhunt
- Loki: Removal of
Resolution
in query editors #101860, @svennergr - Menu: Uniform padding to make menu item hover state look better #100275, @torkelo
- MetricsDrilldown: Update name of queryless metrics experience #100675, @yangkb09
- MultiCombobox: Export from grafana/ui #100368, @Clarity-89
- NodeGraph: Improve view traces for uninstrumented services #98442, @edvard-falkskar
- PluginExtensions: Added support for sharing functions #98888, @theSuess
- PluginExtensions: Added support for sharing functions (Enterprise)
- PluginExtensions: Exposing registry meta for components returned via
usePluginComponents
#100587, @mckn - Plugins: Improve plugin details UX for core plugins #99830, @oshirohugo
- Plugins: Remove managedPluginsInstall feature toggle #100416, @oshirohugo
- Plugins: Remove managedPluginsInstall feature toggle (Enterprise)
- Plugins: Remove uninstall plugin step from cli plugins update-all #101632, @oshirohugo
- Prometheus: Get the utcOffset value of timezone when it’s specified #99910, @itsmylife
- Prometheus: Remove query assistant and related components #100669, @edwardcqian
- QueryOptions: Handle invalid time shift values #101670, @ivanortegaalba
- RBAC: Remove accessControlOnCall feature toggle #101222, @gamab
- RBAC: Remove accessControlOnCall feature toggle (Enterprise)
- Reporting: Add email subject support (Enterprise)
- Security: Update to Go 1.23.5 (Enterprise)
- Tempo: Support TraceQL instant metrics queries #99732, @joey-grafana
- Tempo: TraceQL metrics streaming #99037, @adrapereira
- Time regions: Add option for cron syntax to support complex schedules #99548, @leeoniya
- TimePicker: Ability to manually specify quick ranges #101465, @Sergej-Vlasov
- TimeRangePicker: Options list padding #100343, @torkelo
- TopNav: Move news into profile menu #99535, @bergquist
- Trace View: Add link from the Trace View to the Profiles Drilldown #101422, @joey-grafana
- Transformation: Add support for variables to ALL transformations #100225, @dprokop
- Transformations: Add round() to Unary mode of
Add field from calc
#101295, @leeoniya - VizActions: Add confirmation message #100012, @adela-almasan
- grafana-ui: Update InlineField error prop type to React.ReactNode #100347, @Clarity-89
Bug fixes
- Alerting: Add error handling for missing data source #101508, @gillesdemey
- Alerting: Call RLock() before reading sendAlertsTo map #99812, @santihernandezc
- Alerting: Disable create rule menu item from panel when unifiedAlerting is disabled #100701, @soniaAguilarPeiron
- Alerting: Fix KeyValueMap input bug #101367, @soniaAguilarPeiron
- Alerting: Fix crash when invalid matcher is used in silence query params #101500, @gillesdemey
- Alerting: Fix evaluation of rules with no-op math expressions #101436, @moustafab
- Alerting: Fix exporting new rule with a new group #101404, @soniaAguilarPeiron
- Alerting: Fix fieldSelector encoding #99751, @gillesdemey
- Alerting: Fix inheritance of the timing options for policy tree #99398, @gillesdemey
- Alerting: Fix notification templates layout #101232, @gillesdemey
- Alerting: Fix state reason #101530, @yuri-tceretian
- Alerting: Fix token-based Slack image upload to work with channel names #100988, @JacobsonMT
- App Platform: Pin bleve to fix CVE-2022-31022 #102531, @Proximyst
- App: Fix web app behaviour on iOS #100382, @ashharrison90
- Auth: Fix AzureAD config UI’s ClientAuthentication dropdown #100752, @mgyongyosi
- Auth: Fix redirect with JWT auth URL login #100295, @mgyongyosi
- AuthN: Refetch user on “ErrUserAlreadyExists” #100346, @kalleep
- Caching: Fix duplicate metric registration for cache size (Enterprise)
- CloudWatch: Fix condition for running annotation queries to require dimensions #101660, @kevinwcyu
- Combobox: Fix list not being virtualized initially in some cases #100188, @tskarhed
- Dashboard: Fix for overwriting an edited dashboard in the old architecture #100247, @bfmatei
- Dashboard: Fix the unintentional time range and variables updates on saving #101475, @harisrozajac
- Dashboard: Playlist - Fix issue with back button #99401, @yincongcyincong
- DashboardList: Throttle the re-renders #99982, @bfmatei
- Dashboards: Bring back scripted dashboards #100575, @dprokop
- Dashboards: Fix missing
v/e/i
keybindings to return back to dashboard #102364, @mdvictor - Explore: Fix resizing split view with Loki query editor #100257, @ifrost
- ExploreMetrics: Fix escaping of regex metacharacters in label filters #100513, @NWRichmond
- Fix: Optimise frontend Postgresql plugin cache busting #100406, @jackw
- InfluxDB: Improve handling of template variables contained in regular expressions (InfluxQL) #100762, @aangelisc
- Interval variable: Fix $__auto value behavior #100479, @yincongcyincong
- Log Context: Fix bug where variables are not replaced in dashboards #100433, @svennergr
- OpenTSDB: Support v2.4 #100673, @aangelisc
- PDF: Fix repeating panels when there are less items than maxPerRow (Enterprise)
- Plugin Metrics: Eliminate data race in plugin metrics middleware #99396, @clord
- Plugins: Fix update button behavior on downgrade #101048, @oshirohugo
- Plugins: Fix version tab breaking for non semantic version #101225, @oshirohugo
- PromLib: Take AdHoc filters into account when requesting suggestions without label #101555, @tskarhed
- Prometheus: Fix cursor jump in prometheus code editor #100273, @itsmylife
- Prometheus: Fix operator handling when making label expressions utf-8 friendly #100475, @NWRichmond
- Prometheus: Fix setting utcOffset when absolute time range is used #101065, @itsmylife
- RBAC: Don’t check folder access if
annotationPermissionUpdate
FT is enabled #99717, @IevaVasiljeva - SSO: Fix team_ids validation for Generic OAuth #100732, @dmihai
- Service Accounts: Don’t show error pop-ups for Service Account and Renderer UI flows #101776, @IevaVasiljeva
- Share: Fix short links when root_url is different from the browser URL #99950, @AgnesToulet
Breaking changes
- Data source: Change Permissions for query to only have query and not
read OR query
(Enterprise)
Plugin development fixes & changes
- GrafanaUI: Deprecate Select in favor of Combobox #100294, @joshhunt
- Multi/Combobox: Use pointer cursor when not focused #100878, @tskarhed
- Slider: Fix text input box being too wide #100138, @joshhunt