Commit graph

65449 commits

Author SHA1 Message Date
owensmallwood
f3db9cd52e
Unified Storage: Implement field selector list with search (#117100)
Some checks are pending
Integration Tests / Postgres Enterprise (9/16) (push) Blocked by required conditions
Integration Tests / All backend integration tests complete (push) Blocked by required conditions
publish-kinds-next / main (push) Waiting to run
publish-technical-documentation-next / sync (push) Waiting to run
Reject GitHub secrets / reject-gh-secrets (push) Waiting to run
Build Release Packages / setup (push) Waiting to run
Build Release Packages / Dispatch grafana-enterprise build (push) Blocked by required conditions
Build Release Packages / / darwin-amd64 (push) Blocked by required conditions
Build Release Packages / / darwin-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-amd64 (push) Blocked by required conditions
Build Release Packages / / linux-armv6 (push) Blocked by required conditions
Build Release Packages / / linux-armv7 (push) Blocked by required conditions
Build Release Packages / / linux-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-s390x (push) Blocked by required conditions
Build Release Packages / / windows-amd64 (push) Blocked by required conditions
Build Release Packages / / windows-arm64 (push) Blocked by required conditions
Build Release Packages / Upload artifacts (push) Blocked by required conditions
Build Release Packages / publish-dockerhub (push) Blocked by required conditions
Build Release Packages / Dispatch publish NPM canaries (push) Blocked by required conditions
Build Release Packages / notify-pr (push) Blocked by required conditions
Run dashboard schema v2 e2e / dashboard-schema-v2-e2e (push) Waiting to run
Shellcheck / Shellcheck scripts (push) Waiting to run
Run Storybook a11y tests / Detect whether code changed (push) Waiting to run
Run Storybook a11y tests / Run Storybook a11y tests (light theme) (push) Blocked by required conditions
Run Storybook a11y tests / Run Storybook a11y tests (dark theme) (push) Blocked by required conditions
Swagger generated code / Detect whether code changed (push) Waiting to run
Swagger generated code / Verify committed API specs match (push) Blocked by required conditions
Dispatch sync to mirror / dispatch-job (push) Waiting to run
trigger-dashboard-search-e2e / trigger-search-e2e (push) Waiting to run
Trivy Scan / trivy-scan (push) Waiting to run
* implement field selector list with search

* dont modify input array when filtering fields

filter metadata.namespace field and unsupported operators (!=)

update tests

* put list request in table test struct

* address the nits

* fix linter error - prealloc

* skip rows we dont have permission to Read()

* makes folder title a selectable field and fixes cyclic import with selectable field utils

* make gofmt
2026-02-03 19:37:18 -06:00
grafana-pr-automation[bot]
c2055f2167
I18n: Download translations from Crowdin (#117361)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-04 00:44:20 +00:00
Alex Spencer
e04a9a80bb
fix (transformations): only generate markdown when script is run (#117359)
fix: only generate markdown when script is run
2026-02-03 16:02:42 -08:00
Kristina
9454d60237
Docs: Generate transformation docs (#117353)
generate docs
2026-02-03 16:33:33 -06:00
owensmallwood
8f8e076700
Unified Storage: Add selectable fields to folders (#117270)
* makes folder title a selectable field and fixes cyclic import with selectable field utils

* make gofmt

* include metadata.name and metadata.namespace as default selectable fields in BuildGetAttrsFn() for selectable fields
2026-02-03 15:46:13 -06:00
Matthew Jacobson
923239d48d
Alerting: Add support for multiple named notification policies (#116945)
This PR introduces multiple named notification policies to Grafana Alerting. In addition to the existing single "user-defined" routing tree, notification policies can now be created, managed, selected by alert rules, and provisioned individually.

The feature is gated behind an experimental feature flag alertingMultiplePolicies. When the flag is disabled, the system behaves exactly as before and continues to expose a single legacy routing tree in both frontend and backend APIs.
2026-02-03 16:05:13 -05:00
alerting-team[bot]
74c1c0ab7d
Alerting: Update alerting module to 8b17916e8173e80a809a0224495ffe4310064f6a (#117334)
[create-pull-request] automated change

Co-authored-by: yuri-tceretian <25988953+yuri-tceretian@users.noreply.github.com>
2026-02-03 20:28:05 +00:00
Larissa Wandzura
ab01ee5c3f
Docs: Fixed CloudWatch links (#117332)
* removed all ref URIs and replaced with proper links

* ran prettier
2026-02-03 20:13:22 +00:00
Larissa Wandzura
c85829abfd
Docs: Updated the OpenTSDB data source documentation (#117202)
* made initial updates

* added missing info

* cleaned up some language

* minor edits

* broke into topic docs, added examples to alerting doc

* added examples to the annotations doc

* added missing auth settings

* added a next steps to the config doc

* updated query editor

* updated template variables doc

* final edits

* some cleanup and final edits

* ran prettier

* fixed linter error - datacenter
2026-02-03 13:57:46 -06:00
Adela Almasan
cf2481b1c5
PoC: Copy/Paste panel styles (#116786) 2026-02-03 12:57:19 -06:00
Alex Spencer
5cef2a02f7
fix: typecheck on main (#117337) 2026-02-03 10:50:43 -08:00
Ezequiel Victorero
a9c4631946
Snapshots MT: Update k8s client to fetch dashboard data (#117031) 2026-02-03 15:49:46 -03:00
Galen Kistler
7fa3effcbf
Table: Refactor options builder (#117189)
* Table: Reorganize shared code to make it possible for LogsTable to omit some options (#117201)

---------

Co-authored-by: Paul Marbach <paul.marbach@grafana.com>
2026-02-03 12:27:03 -06:00
Peter Štibraný
b5c500dca2
Remove support RebuildCollection, always rebuild on bulk import. (#117326)
Some checks are pending
Integration Tests / Postgres Enterprise (9/16) (push) Blocked by required conditions
Integration Tests / All backend integration tests complete (push) Blocked by required conditions
publish-kinds-next / main (push) Waiting to run
publish-technical-documentation-next / sync (push) Waiting to run
Reject GitHub secrets / reject-gh-secrets (push) Waiting to run
Build Release Packages / setup (push) Waiting to run
Build Release Packages / Dispatch grafana-enterprise build (push) Blocked by required conditions
Build Release Packages / / darwin-amd64 (push) Blocked by required conditions
Build Release Packages / / darwin-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-amd64 (push) Blocked by required conditions
Build Release Packages / / linux-armv6 (push) Blocked by required conditions
Build Release Packages / / linux-armv7 (push) Blocked by required conditions
Build Release Packages / / linux-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-s390x (push) Blocked by required conditions
Build Release Packages / / windows-amd64 (push) Blocked by required conditions
Build Release Packages / / windows-arm64 (push) Blocked by required conditions
Build Release Packages / Upload artifacts (push) Blocked by required conditions
Build Release Packages / publish-dockerhub (push) Blocked by required conditions
Build Release Packages / Dispatch publish NPM canaries (push) Blocked by required conditions
Build Release Packages / notify-pr (push) Blocked by required conditions
Run dashboard schema v2 e2e / dashboard-schema-v2-e2e (push) Waiting to run
Shellcheck / Shellcheck scripts (push) Waiting to run
Run Storybook a11y tests / Detect whether code changed (push) Waiting to run
Run Storybook a11y tests / Run Storybook a11y tests (light theme) (push) Blocked by required conditions
Run Storybook a11y tests / Run Storybook a11y tests (dark theme) (push) Blocked by required conditions
Swagger generated code / Detect whether code changed (push) Waiting to run
Swagger generated code / Verify committed API specs match (push) Blocked by required conditions
Dispatch sync to mirror / dispatch-job (push) Waiting to run
trigger-dashboard-search-e2e / trigger-search-e2e (push) Waiting to run
Trivy Scan / trivy-scan (push) Waiting to run
2026-02-03 17:29:00 +01:00
Alexander Zobnin
e183b2dff9
Zanzana: Refactor server provider (#116756)
* Extract embedded server provider

* Use openfga client for connecting to server

* refactor server init

* fix tests

* Don't run http server by default

* refactor HTTP server start

* refactor tracer init

* refactor tests

* release resources on server stop

* Fix failing user migration test (translate BIGINT UNSIGNED from openfga tables)

* release resources on server stop

* format

* Fix service shut down

* only close if zanzana enabled

* do not init zanzana server if no feature flag provided
2026-02-03 17:28:26 +01:00
Andrew Hackmann
24cb03c591
Elasticsearch: add tracking events for query editor type (#117281)
* tracking event for query editor type

* prettier
2026-02-03 10:24:57 -06:00
Rafael Bortolon Paulovic
e34341472c
fix(unified): populate key_path during bulkimport (#117320)
* fix(unified): populate key_path during bulkimport

Rows in resource_history were being created with empty key_path values
during bulkimport (migration of dashboards/folders). This broke
functionality that depends on key_path for indexing/searching.

The fix adds a buildKeyPath helper function that constructs the key_path
in the same format as normal write operations, and updates processBulkWithTx
to set the KeyPath field when inserting into resource_history.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(unified): add verification for key_path population after bulkimport

Adds verifyKeyPathPopulated function to migration integration tests
that verifies no rows in resource_history have empty key_path values
after bulkimport completes.

Also changes actionStr fallback from "unknown" to the numeric action
value for better debugging.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:51:15 +00:00
Matt Cowley
60309200e9
UI: Fix hover styling for UserIcon based on showTooltip + onClick (#117087)
* Ensure UserIcon pointer is only set if onClick

* Ensure UserIcon hover is only set if showTooltip or onClick
2026-02-03 15:44:48 +00:00
Ryan McKinley
baecb53262
Dashboards: Add listDashboardHistory to frontend api, remove HistorySrv (#114686) 2026-02-03 18:35:19 +03:00
Alex Khomenko
23d6e3dba2
Provisioning: Replace manual GitHub app refresh with real-time watch (#117312)
* Provisioning: Replace manual GitHub app connection refresh with real-time watch

- Use useConnectionStatus hook with k8s watch for real-time connection status updates
- Remove manual sync/refresh button from connection dropdown
- Add creating state feedback to create connection button
- Only fetch repos for ready connections to avoid API errors

* Use RTK Query loading state instead of manual useState

* i18n
2026-02-03 17:26:22 +02:00
Tito Lins
37efd9fc8f
Alerting: add receivers schema app platform API (#117041) 2026-02-03 16:23:30 +01:00
Robby Milo
40895616ae
Scaffold Explore toolbar with testids (#117159)
* Scaffold Explore toolbar with testids

* add refresh button

* fix refresh button

* fix casing

* address feedback

* fix tests

* remove unneeded attributes
2026-02-03 08:22:53 -07:00
Victor Marin
fcac769fee
Default value for allowCustomValue property in vars is enabled (#117313) 2026-02-03 17:01:42 +02:00
Galen Kistler
c4b626d358
Logs Panels: Refactor FieldSelector (#117257)
* refactor: breakout FieldSelector into separate components
2026-02-03 08:23:18 -06:00
Alex Khomenko
3a4f06ffcd
Provisioning: Always show tabs (#117305)
* Provisioning: Always show tabs with smart default selection

- Remove early return that hides tabs when no repositories exist
- Fetch connections at HomePage level to determine smart default tab
- Default to getting-started tab when both repos and connections are empty
- Add empty states to RepositoryList when no repositories exist
- Hide filter input in ConnectionList when no connections exist
- Hide action button when on getting-started tab
- Update available repositories heading text for clarity

* Use consistent not-found variant for all empty states

* Remove comments from defaultTab logic

* Pass connections as prop to ConnectionsTabContent instead of fetching twice

* Remove redundant isEmpty check in RepositoryList EmptyState

* Fix typecheck: use unknown type for error prop
2026-02-03 16:19:45 +02:00
Bogdan Matei
1d5916c703
Dashboard: Autohide sidebar after inactivity (#117242) 2026-02-03 16:07:37 +02:00
Dominik Prokop
58bf5a1ba2
Remove dashboardSceneSolo and dashboardSceneForViewers feature flags (#117083)
* Remove dashboardSceneSolo and dashboardSceneForViewers feature flags

* e2e updates

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 15:05:23 +01:00
Ivana Huckova
2074778af5
chore(prom): add obfuscated query to tracking (#117165)
* chore(prom): add obfuscated query to tracking

* Fix prettier

* Fix

* prettier
2026-02-03 15:03:14 +01:00
Josh Hunt
aefcbed25d
FS: Use Settings Service for per-request config (#116822)
* Create settings service

* Apply request config overrides in middleware

* Add tlsSkipVerify setting for settings service client

* Abstract out ini interactions, add debug logs

* Use baggage header instead of Grafana-Namespace

* Exclude defaults.ini settings from the Settings Service

* Remove baseRequestConfig and instead create the structure new in each middleware call
2026-02-03 13:53:44 +00:00
Georges Chaudy
c5573038ea
Build: Upgrade authlib and make update-workspace (#117311)
upgrade authlib and make update-workspace
2026-02-03 13:50:08 +00:00
Yudintsev George (Egor)
e124ee79f4
Chore: RBAC: Migrate role picker to rtkq (#116571)
What is this feature?

This PR introduce refactoring for role picker for teams and users. It uses RTK Query.
The related task: grafana/identity-access-team#1821

The previous PR with related logic: #113783

Why do we need this feature?

This refactoring is a cleaner way for handing refetching.
2026-02-03 13:46:41 +00:00
Bogdan Matei
f937dfdcc6
Dashboard: Round x/y/w/h when importing a dashboard with floats (#117072)
* Dashboard: Round x/y/w/h when importing a dashboard with floats

* Apply suggestion from @bfmatei

* Apply suggestion from @bfmatei

* Go once through components (#117265)

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2026-02-03 12:56:46 +00:00
Ashley Harrison
8a6c0b8b4d
Chore: Backwards-compatible changes for react 19 (#117157)
* test stability improvements for react 19

* fix queryHistory test

* slightly nicer mock

* kick CI
2026-02-03 12:54:49 +00:00
Matheus Macabu
95630a764c
Auditing: Remove subject name from event (#117301) 2026-02-03 12:25:53 +01:00
Georges Chaudy
6219483cbb
Build: Bump authlib to latest version (#117296)
bump authlib
2026-02-03 11:07:53 +00:00
Matheus Macabu
bda58e6efa
Rendering: Tweak concurrency check to avoid errors when it is zero (#117086)
* Rendering: Tweak concurrency check to avoid CAS

* Only check if the concurrency limit is set at all
2026-02-03 11:58:43 +01:00
Gabriel MABILLE
3d4cffaeab
grafana-iam: Remove Version from Role Spec (#117219)
* `grafana-iam`: Remove Version from Role Spec

* Fix openapi
2026-02-03 11:54:15 +01:00
Alex Khomenko
b980c80d0b
Combobox: Customize custom value description (#117291)
Combobox: Make custom value description customizable via prop

Add a new optional `customValueDescription` prop to Combobox and MultiCombobox components that allows customizing the description text shown for custom values. The existing "Use custom value" translation remains as the default.
2026-02-03 12:43:55 +02:00
Mihai Doarna
ec0104d1ed
chore(IAM): Rename teambindings fields (#117294)
* rename teambindings fields

* fix unit test

* fix more tests
2026-02-03 12:38:22 +02:00
Alex Khomenko
c13cae36e3
Provisioning: Hide unavailable sync options (#117290)
* Provisioning: Hide unavailable sync options that are disabled by configuration

Remove the "Unavailable options" section from the Git Sync bootstrap step. When sync options are disabled by provisioning configuration (e.g., instance sync restricted to specific targets), showing them in a disabled state is confusing to users. These options should be hidden entirely since they cannot be enabled through the UI.

- Remove disabled options rendering from BootstrapStep
- Remove unused disabledOptions variable and Icon import
- Update test to verify disabled options are not rendered

* chore: update i18n strings (remove unused unavailable-options translation)
2026-02-03 12:33:21 +02:00
Tom Ratcliffe
4d1a32d6a1
Alerting: Make alerting frontend codeowners for relevant API clients (#116777) 2026-02-03 11:29:32 +01:00
Matias Chomicki
3ba197e0b9
Log Line Context: Add support for default displayed fields (#117162)
* LogLineContext: Integrate default displayed fields with reset fields button

* Remove unused import

* Lint
2026-02-03 11:12:07 +01:00
Kevin Minehart Tenorio
a6f4c5da5d
daggerbuild: Cache builders (#109076)
* daggerbuild: Cache builders

* cache-builders in e2e build

* cache-builders on non-forks

* dont attempt to login to gar or dockerhub in forks; it won't work anyways

* use npx install playwright

* Exclude dist & node_modules from mount

* remove yarn.go; it's not used

* use correct registry for cache builds

* rebuild cached artifacts every 2 weeks

* Use grafanalabs-dev/docker-grafana-dev

* make lint-go

* Fix bad conflict resolution

* fix ubuntu and alpine base
2026-02-03 10:55:40 +01:00
Jo
76b4724d15
Auth: Remove ssoSettingsLDAP feature toggle (#117216)
Some checks are pending
Integration Tests / Postgres Enterprise (7/16) (push) Blocked by required conditions
Integration Tests / Postgres Enterprise (8/16) (push) Blocked by required conditions
Integration Tests / Postgres Enterprise (9/16) (push) Blocked by required conditions
Integration Tests / All backend integration tests complete (push) Blocked by required conditions
publish-kinds-next / main (push) Waiting to run
publish-technical-documentation-next / sync (push) Waiting to run
Reject GitHub secrets / reject-gh-secrets (push) Waiting to run
Build Release Packages / setup (push) Waiting to run
Build Release Packages / Dispatch grafana-enterprise build (push) Blocked by required conditions
Build Release Packages / / darwin-amd64 (push) Blocked by required conditions
Build Release Packages / / darwin-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-amd64 (push) Blocked by required conditions
Build Release Packages / / linux-armv6 (push) Blocked by required conditions
Build Release Packages / / linux-armv7 (push) Blocked by required conditions
Build Release Packages / / linux-arm64 (push) Blocked by required conditions
Build Release Packages / / linux-s390x (push) Blocked by required conditions
Build Release Packages / / windows-amd64 (push) Blocked by required conditions
Build Release Packages / / windows-arm64 (push) Blocked by required conditions
Build Release Packages / Upload artifacts (push) Blocked by required conditions
Build Release Packages / publish-dockerhub (push) Blocked by required conditions
Build Release Packages / Dispatch publish NPM canaries (push) Blocked by required conditions
Build Release Packages / notify-pr (push) Blocked by required conditions
Run dashboard schema v2 e2e / dashboard-schema-v2-e2e (push) Waiting to run
Shellcheck / Shellcheck scripts (push) Waiting to run
Run Storybook a11y tests / Detect whether code changed (push) Waiting to run
Run Storybook a11y tests / Run Storybook a11y tests (light theme) (push) Blocked by required conditions
Run Storybook a11y tests / Run Storybook a11y tests (dark theme) (push) Blocked by required conditions
Swagger generated code / Detect whether code changed (push) Waiting to run
Swagger generated code / Verify committed API specs match (push) Blocked by required conditions
Dispatch sync to mirror / dispatch-job (push) Waiting to run
* remove ldap sso ft

* add test cases for lbac disabled

* remove legacy ldap pages

* fix tests

* fix: add ldap provider to TestService_List expected results
2026-02-03 10:24:57 +01:00
Mihai Doarna
56bde41a99
IAM: Improvements on the user teams endpoint (#117082)
minor changes on the user teams endpoint
2026-02-03 10:46:36 +02:00
Mihai Turdean
57958926ab
Datasources: Fix permissions cleanup when deleting datasource by name (#117289)
* Fix missing UID when deleting datasource by name

* Add test
2026-02-03 08:59:08 +01:00
Yunwen Zheng
7e11689dcf
Provisioning ConnectStep: When using Github flow, use internal refs endpoint for branch display (#117283)
* ConnectStep: When its github flow, use internal refs endpoint for branch display

* clean up

* clean up

* i18n
2026-02-03 09:39:46 +02:00
Hugo Häggmark
4b34d5ea67
Plugins: replace config.apps in extension registries (#116581)
* Plugins: replace `config.apps` in extension registries

* fix validator tests

* fix readonly initialization

* fix registry tests

* fix pluginImporter tests

* wip

* chore: fix registry tests

* chore: refactor tests

* chore: refactor test fixture

* chore: fix getPluginExtensions.test.tsx

* chore: fix all remaining red tests

* chore: refactor public/app/features/plugins/extensions/getPluginExtensions.test.tsx

* chore: fix imports

* chore: more refactor

* chore: adds error handling

* chore: update after PR feedback

* chore: use getCachedPromise function

* chore: undo test

---------

Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2026-02-03 08:17:05 +01:00
Alex Khomenko
971ce0ce47
Docs: Update restore dashboards documentation to public preview (#117240)
Update dashboard restoration docs to reflect:
- Feature moved from private to public preview
- Users can restore dashboards they deleted
- Admins can restore any dashboard
2026-02-03 08:07:33 +02:00
Hugo Häggmark
eebacf0b2d
Plugins: add error handling for plugin meta calls (#117111)
* Plugins: add error handling for plugin meta calls

* chore: update after PR feedback
2026-02-03 06:33:15 +01:00