Alexander Akhmetov
74c7b5a292
Alerting: Fix creating a new alert rule vesion when only keep_firing_for changes ( #114926 )
...
Alerting: Create alert rule vesion when keep_firing_for changes
2025-12-05 18:02:11 +01:00
Marc M.
0adb2461e9
Dashboards: Improve custom variable editor and undo/redo ( #114559 )
2025-12-05 16:48:34 +01:00
Sarah Zinger
7cd10aa49e
SQL Expressions: Fix alerts with sql expressions that have a cte ( #114852 )
...
Fix for #114377 - fix alerts with sql expressions that have a cte
2025-12-05 10:14:02 -05:00
Bogdan Matei
bf042afa98
Dashboard: Fix dropping panels in tabs and rows ( #114893 )
2025-12-05 17:12:12 +02:00
Santiago
b19e546254
Remote Alertmanager: Remove X-Remote-Alertmanager header ( #114917 )
...
Remote Alertmanager: Remove X-Remote-Alertmanager haeder
2025-12-05 15:04:42 +00:00
Ryan McKinley
5ac702a4c1
Dashboards: update manifest to avoid useoldmanifestkinds ( #114910 )
2025-12-05 16:21:30 +02:00
Alexander Zobnin
8a0fa93aec
Zanzana: Fix duplicated writes in one request ( #114900 )
...
* Zanzana: Fix duplicated writes
* add tests
2025-12-05 13:55:56 +01:00
Tung Nguyen
65817794b5
OpenTSDB: Remove gf-form from opentsdb Annotation Editor ( #112590 )
...
* Chore: Remove gf-form in opentsdb AnnotationEditor
* Fix: small typo
* chore: remove stale eslint suppression rule
2025-12-05 12:26:56 +00:00
Andreas Christou
b719aea078
Azure: Fix dcount aggregation ( #114666 )
...
* Add parameter type field
* Use parameterType to filter columns for aggregation funcs
* Support selecting column for dcount aggregation
2025-12-05 12:25:56 +00:00
Ryan McKinley
75eb820c73
Folders: update manifest (avoid useoldmanifestkinds) ( #114827 )
2025-12-05 15:01:11 +03:00
Sergej-Vlasov
be99781176
TransformSaveModelToScene: Force v1 for reports ( #114767 )
...
force v1 for reports
2025-12-05 11:01:43 +00:00
Andreas Christou
0a51779107
MSSQL: Remove the need for azure_auth_enabled ( #114775 )
...
Remove the need for azure_auth_enabled for MSSQL
2025-12-05 10:42:17 +00:00
Torkel Ödegaard
c74af430a6
Gauge: Only show spotlight in dark themes ( #114524 )
...
* Gauge: Only show spotlight in dark themes
* Update
2025-12-05 08:48:39 +01:00
Hugo Häggmark
88478a851e
chore: reduce Loki barrel files ( #114888 )
2025-12-05 08:29:48 +01:00
Pepe Cano
a8d174ccef
docs(alerting): add new Examples of trace-based alerts ( #114511 )
...
* docs(alerting): add new Examples of trace-based alerts
* fix vale issues
2025-12-05 08:28:16 +01:00
Hugo Häggmark
b3648f0823
chore: introduce toggle for decoupling plugins from bootdata ( #114890 )
...
chore: toggle for decoupling plugins from bootdata
2025-12-05 08:09:41 +01:00
grafana-pr-automation[bot] and github-actions[bot]
c53500378e
I18n: Download translations from Crowdin ( #114886 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-05 00:48:25 +00:00
Galen Kistler
10ad94af38
TableRT: fix bug preventing users from selecting filter operators ( #114860 )
...
* fix: bug preventing users from selecting filter operators
2025-12-04 17:02:54 -06:00
Steve Simpson
4969df8a83
Alerting: Add basic auth options to historian args ( #114880 )
2025-12-04 22:56:07 +01:00
Steve Simpson
f07cc211bd
Alerting: Add command line parsing for historian options ( #114865 )
2025-12-04 22:07:22 +01:00
alerting-team[bot] and yuri-tceretian
ff33237052
Alerting: Update alerting module to de8c2bbf9eba591078e9d9d7c6cbbe4142ef2d0b ( #114877 )
...
[create-pull-request] automated change
Co-authored-by: yuri-tceretian <25988953+yuri-tceretian@users.noreply.github.com >
2025-12-04 20:31:19 +00:00
ismail simsek
0291f6d1e7
Postgresql: Fix variable interpolation logic when the variable has multiple values ( #114058 )
...
* fix the variable interpolation
* add jest config to grafana-sql
* fix broken tests
* add variable interpolation tests
* lint
* apply fix only to postresql datasource
2025-12-04 20:58:20 +01:00
beejeebus
26c52796f6
Pass the feature flag instead of false to RegisterAPIService
...
Doh. The feature flag was not actually being used to enable the new DS
config CRUD APIs. This PR fixes that, hashtag facepalm.
2025-12-04 14:17:45 -05:00
Rafael Bortolon Paulovic
ff97bfc772
fix(unified): key_path column default ( #114859 )
...
fix: key_path column default
2025-12-04 12:40:21 -05:00
Andrew Hackmann
665daa5a5d
Elasticsearch: Client refactor ( #114745 )
...
* split up client.go
* split up search_request.go
* remove double spaces
2025-12-04 11:28:38 -06:00
Costa Alexoglou
42661bed36
feat: add default permissions and DTO support for MT ( #114829 )
...
* feat: add default permissions and DTO support for MT
* chore: review comments
* chore: review comments
2025-12-04 18:27:49 +01:00
Collin Fingar and Haris Rozajac
c90677831b
Library Panels: Update connection generation for V2 ( #114504 )
...
* Library Panels: Update connection generation for V2
* add test
---------
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-12-04 12:21:27 -05:00
Gabriel MABILLE
59ec85b936
grafana-iam: Fix missing UID (#114856 )
2025-12-04 18:00:57 +01:00
Todd Treece
bcaf94f219
Plugins API: Add plugins to RBAC mapper ( #114843 )
2025-12-04 11:58:49 -05:00
Ashley Harrison
83d6eab66a
Chore: Upgrade rc- libs ( #114788 )
...
* upgrade rc-drawer
* upgrade rc-slider
* update rc-tooltip
* update rc-picker
* update rc-tree
* upgrade rc-cascader
* for some reason this works
* Revert "for some reason this works"
This reverts commit 4f8cbc5a76 .
* force react to 18
* add MessageChannel mock
* Revert "add MessageChannel mock"
This reverts commit 93c11d4060 .
* Revert "force react to 18"
This reverts commit 6433204d4b .
* Revert "upgrade rc-cascader"
This reverts commit 16c36cd12e .
2025-12-04 16:25:22 +00:00
Ashley Harrison
d7d0c104ab
React 19: non-breaking type and test changes ( #114760 )
...
non-breaking type and test changes needed for react 19
2025-12-04 16:19:25 +00:00
Alexander Zobnin
030c7099cb
Zanzana: Fix shadow client context ( #114853 )
...
* Zanzana: Fix shadow client context
* don't cancel on parent context cancel
* share timeout
2025-12-04 17:09:04 +01:00
Gabriel MABILLE
1e82f99b12
grafana-iam: use apiserver errors (#114850 )
...
* `grafana-iam`: Use api server errors
* A bit more verbose
2025-12-04 16:47:06 +01:00
Levente Balogh
e2bef6bf60
Panel Menu: Allow using icons for link extensions ( #114836 )
...
* feat: allow using icons for panel menu link extensions
* tests: add a test for checking if the icon is added to the panel menu item
2025-12-04 15:41:49 +00:00
Jacob Valdez
a65cf639f4
Adds workflow that comments on PRs that change defaults.ini with docs reminder ( #114739 )
2025-12-04 09:28:23 -06:00
Levente Balogh
32a58c56ed
Dashboard Controls: Add UI for displaying under menu ( #113517 )
...
* feat: add options to render under the controls menu
* fix: filter out hidden annotation layers from the dashboard-controls menu
* fix: adjust spacing between annotation controls in the dashboard-controls menu
* fix: e2e test for variables
* feat: move the menu button next to the variables
* fix: remove duplicate link controls
* fix: show dashboard controls when the dashboard is not saved
2025-12-04 16:22:41 +01:00
Mustafa Sencer Özcan
4c5d9cb95f
feat: add unified storage data migration step for playlists ( #114582 )
...
* fix: add type
* feat: register step
* feat: add playlist support
* test: add test case
* fix: gen mock
* fix: go gen
* fix: lint
* fix: lint
* fix: tests
* fix: add resource
* fix: readd
* fix: address comments
* fix: independent playlist query for migrations
* fix: remove lock logic for sqlite
* fix: handle creation and update datetimes
* fix: query templating
* fix: simply resources and address comments
2025-12-04 15:15:00 +00:00
Roberto Jiménez Sánchez
e5259c2ad4
Dashboards: Prevent memory leak in CUE validation by reusing context only for 100 validations ( #114818 )
...
* fix(dashboard): prevent memory leak in CUE validation by using fresh contexts
Fixes #114344
The CUE validation was reusing a single cue.Context across all
validations, which caused unbounded memory growth due to CUE's internal
caching of intermediate computation results (disjunctions, unifications,
etc.).
Root Cause:
- A single cue.Context was created and reused via getValidator()
- Each validation added entries to the context's internal caches
- These caches grew unboundedly over time
- Memory could not be garbage collected because the context held references
Solution:
- Store the schema source string instead of a compiled cue.Value
- Create a fresh cuecontext.New() for each validation
- This allows the context and its caches to be garbage collected after
each validation completes
Performance Impact:
- ~2x slower due to schema recompilation per validation
- Acceptable trade-off to prevent memory leaks
- Memory usage stays bounded instead of growing unboundedly
* fix(dashboard): use periodic context recreation to prevent CUE memory leaks
Replace fresh context creation with periodic context recreation approach.
The context is reused for up to 100 validations, then recreated to allow
garbage collection of cached values while maintaining good performance.
This balances performance (only 19% slower than leaky approach) with memory
safety (stable at ~5 MB vs ~2 GB leak).
See https://github.com/grafana/grafana/issues/114344#issuecomment-3605562491
* refactor(cuevalidator): simplify to use mutex instead of atomic counter
Since CUE is not thread-safe, we need the mutex for the entire validation
operation anyway. Using a regular int counter protected by the mutex is
simpler and cleaner than using atomic operations.
2025-12-04 16:05:15 +01:00
mohammad-hamid
3c5d905e0f
AuthZ: Redirect legacy resource permissions handler to k8s (part I) (#114199 )
...
* Add K8s API redirect for GET resource permissions
* wire
* move restconfig to options
* address comments
* fix helper after adding RestConfigProvider
* Revert K8s redirect changes for service accounts, teams, and receivers
Keep only dashboard and folder redirect functionality for this PR.
Service accounts, teams, and receivers will be handled in a separate PR.
* address comments
* lint
2025-12-04 10:04:23 -05:00
Will Assis
ae4d2324d6
Unified storage kvstore bulk import support ( #113791 )
...
* implement batchdelete in datastore
* implement bulkprocess in kv storage_backend
* convert bulkRVs to snowflake
2025-12-04 09:26:50 -05:00
Mariell Hoversholm
64a3c298cf
docs: use clearly invalid tokens ( #114842 )
2025-12-04 15:25:59 +01:00
Will Assis
994e1dd58f
unified-storage: sqlkv migrations ( #114790 )
...
* unified-storage: create resource_events table and add key_path column to resource_history
* Update resource_history_insert template
* update test snapshots
* use latin encoding for key_path and bump size to 2048
2025-12-04 09:21:17 -05:00
Irene Rodríguez
c88314296b
Add Zabbix to the list of unsupported data sources ( #114823 )
...
Fixes: https://github.com/grafana/support-escalations/issues/19739
2025-12-04 14:51:59 +01:00
Andreas Christou
ff4228bd58
Azure: Improved column handling in logs query builder ( #114667 )
...
* Add parameter type field
* Use parameterType to filter columns for aggregation funcs
* Add tests for aggregate components
2025-12-04 12:48:55 +00:00
Gareth
d92898888c
OpenTSDB: Fix metric dropdown autocomplete ( #114825 )
2025-12-04 21:34:52 +09:00
Steve Simpson
7aa77af7c4
Alerting: Implement notification history query endpoint. ( #114736 )
...
Implements the /notification/query endpoint on the historian app. Note that it
does not apply any RBAC right now, that will be a follow up commit.
We have to use a go-kit logger in grafana/alerting, so an adapter is needed.
Going from go-kit to slog is a bit hairy but works well enough.
2025-12-04 13:26:09 +01:00
Andreas Christou
94b7d6f7b8
Azure: Include aggregate columns in logs builder ( #114684 )
...
* Include groupBy and aggregate columns
* Order by tests
2025-12-04 12:22:23 +00:00
Steve Simpson
b71ed229f1
Alerting: Minor refactor to historan app RegisterAppInstaller. ( #114828 )
...
Splits the function in two so that NewAppInstaller can be used stanalone.
2025-12-04 11:52:24 +00:00
David Harris
45cc410ab8
feat: add new feature highlights for tempo and pyroscope ( #114761 )
...
* add new ds feature highlights
* fix translation
* fix translation again
2025-12-04 11:08:57 +00:00
Samarth Bagga and Piotr Jamróz
7f4a94a6bd
Explore: Use new Table component ( #111463 )
...
* Update TableContainer.tsx
Use PanelRenderer in TableContainer instead of Table
* Passing OnCellFilterAdded
* Fix lint
* Fix
* Update tests
* Update tests
---------
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2025-12-04 12:00:44 +01:00