Commit Graph

62246 Commits

Author SHA1 Message Date
Yuri Tseretyan 6afd532635
Make alerting team a sole owner of alerting tests (#111036)
make alerting team sole owner of alerting tests
2025-09-12 13:32:06 -04:00
Haris Rozajac de01b3e209
Dashboard Schema V2: Support panel actions (#110842)
* support panel actions

* refactor

* add test; move action transformer to utils

* refactor so v2 headers and queryParams are just a simple record

* update open api

* update actions to be same shape accross all dashboard schemas and add validation on the backend

* cleanup

* update snapshot

* add tests to validation
2025-09-12 11:31:05 -06:00
Misi ccc87a03f0
Fix: Fix redirection after login when Grafana is served from subpath (#110889)
Fix short link (/goto) redirection when Grafana is served from subpath
2025-09-12 17:15:15 +02:00
Isabella Siu e22fec10b6
Update docs for pdc+sigv4 (#110787)
* Update docs for pdc+sigv4

* Apply suggestions from code review

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

---------

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-09-12 10:59:05 -04:00
Luminessa Starlight a27ace5cfb
Accessibility: enable responsive reflow of variables in dashboard edit (#110967)
enable responsive reflow of variables in dashboard edit
2025-09-12 10:44:40 -04:00
Yunwen Zheng fc2de49b88
RepositoryList: Display managed resource count (#110916)
* RepositoryList: display managed resource count

* display partial managed alert

* Update public/app/features/provisioning/Wizard/hooks/useResourceStats.ts

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/locales/en-US/grafana.json

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* only count dashboard and folder

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-09-12 10:20:29 -04:00
Hugo Häggmark 1b066c3565
Devenv: expose internal faro.receiver server (#111014) 2025-09-12 14:31:15 +02:00
Cory Forseth fbdfab8ceb
Authz: add logs for monitoring (#110959)
* add logs for monitoring

* add logging around hook enablement
2025-09-12 07:04:31 -05:00
Jo edcd113054
Authz: Remove legacy API Key permissions (#110860)
* remove API key roles

* remove API key gen

* remove frontend and doc mentions

* restore legacy keygen

* restore codeowners

* prettier

* update swagger

* remove permissions including apikeys

* add migrator for removing deprecated permissions

* add tracing

* update openapi3

* simplify migrator for now

* accesscontrol/migrator: remove batching for deprecated permissions deletion
2025-09-12 13:59:37 +02:00
Daniele Stefano Ferru 1f7afc6b6a
Provisioning: add unit and integration tests for finalizer validation (#111012)
* Add unit testS

* add integration tests
2025-09-12 13:57:31 +02:00
Galen Kistler 076c52e1b2
feat: add new expanded state to log options menu (#110725)
* feat: add new expanded state to log options menu
2025-09-12 05:37:33 -05:00
Ryan McKinley 842ae463b7
Chore: update otel v1.37.0 to v1.38.0 (#110985) 2025-09-12 10:11:56 +00:00
Ieva d4399e6eda
`grafana-iam`: Implement `resourcepermission` update (#110891)
* first go at update implementation

* template tests

* SQL tests

* more tests

* set namespace for read resource permissions

* fix a bug with perms being removed right after they're added

* remove unwanted changes

* fix tests and check error

* PR feedback

* Update pkg/registry/apis/iam/resourcepermission/sql.go

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2025-09-12 10:43:51 +01:00
Ryan McKinley 1004b26a4a
Provisioning: Avoid using listers.RepositoryLister outside a controller (#110948)
* use raw storage

* avoid informer cached lister
2025-09-12 11:23:02 +02:00
Hugo Häggmark b747ec8f24
Chore: prevents imports from grafana packages in i18n (#111000) 2025-09-12 10:26:50 +02:00
Ryan McKinley 1944d2dd0e
Provisioing: Update provisioned folder with a manager identity (#110988) 2025-09-12 10:50:10 +03:00
Alexander Akhmetov 0b9e0ef4dc
Alerting: Add a feature toggle to enable Assistant enrichment (#110940)
Alerting: Add a feature toggle to enable Assistant Investigations enrichment
2025-09-12 08:56:13 +02:00
Levente Balogh 165e2f5022
Dashboard Controls - Adjust styling for links (#110924)
* feat: adjust styling for the dashboard-controls menu

* refactor: remove unused file DashboardVariableControls.tsx

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2025-09-12 08:19:14 +02:00
Daniele Stefano Ferru 6b2b949f8f
Provisioning: check finalizers when validating Repository object (#110955) 2025-09-11 21:38:41 -05:00
Matt Adams 7805f6b62d
Alerting: Include `@emotion/css` as pkg dep (#110994)
* alerting: include `@emotion/css` as pkg dep

* alerting: modify lock file based on new pkg dep
2025-09-11 21:06:55 -04:00
grafana-pr-automation[bot] b8fe82432f
I18n: Download translations from Crowdin (#110998)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 00:37:25 +00:00
Stephanie Hingtgen a676dc6638
Stats: Add repository stats (#110989) 2025-09-11 16:36:25 -06:00
Stephanie Hingtgen d20ade0c2a
Provisioning: Fix settings panic (#110993) 2025-09-11 15:25:19 -07:00
alerting-team[bot] 55b7b4fade
Alerting: Update alerting module to 2b26ef8f17eb91ce179a51dde6d86839a680e1b4 (#110975)
* [create-pull-request] automated change

* update Alertmanager fork

---------

Co-authored-by: santihernandezc <41638679+santihernandezc@users.noreply.github.com>
Co-authored-by: Santiago Hernández <santiagohernandez.1997@gmail.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2025-09-11 21:27:22 +00:00
Mihai Turdean ac13da2d1d
Use concurrent informer for iam-folder-reconciler (#110987) 2025-09-11 15:57:07 -05:00
owensmallwood 310893292f
Unified Storage: Add sort order to keys func in datastore (#110714)
* Add sort order to keys func in datastore. Add test to not prune deleted events.

* include sort field in the ListRequestKey instead of it being a separate param
2025-09-11 14:12:30 -06:00
Stephanie Hingtgen b6567e5abc
Folders: Fix deletion in api server (#110984) 2025-09-11 14:46:00 -05:00
Paul Marbach ec0fa444b4
Table: Use higher contrast color for Tooltip from Field chip (#110966) 2025-09-11 15:42:28 -04:00
Akhil Singh 113d61c027
I18n: Prevent Intl.DateTimeFormat crash with invalid locales (#110522)
* fix: prevent Intl.DateTimeFormat crash with invalid locales like 'c'

- Add locale validation utilities to prevent crashes when LANG=c is set
- Filter out invalid locales from navigator.languages before creating DateTimeFormat
- Add fallback handling to use browser defaults when all locales are invalid
- Fixes issue #110494 where Grafana crashes with 'RangeError: Incorrect locale information provided'
- Maintains backward compatibility for valid locales

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

* refactor: simplify locale fix to use direct try-catch approach

- Remove locale-utils.ts and locale-utils.test.ts files
- Use simple try-catch in dates.ts files: try locale, fallback to 'en-US'
- Use Laura's suggested approach in formats.ts with explicit variable declaration
- Remove unused utility exports from index.ts
- Maintains same functionality with cleaner, simpler code
- Avoids adding to public API while still preventing crashes with invalid locales like 'c'

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

* style: run prettier to fix linting issues

- Format code according to project prettier configuration
- Fixes failing Lint Frontend check

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>

---------

Signed-off-by: Akhil Singh <singhakhil69@gmail.com>
2025-09-11 15:37:17 -04:00
Ryan McKinley 9a54243f09
Chore: update golang.org/x/exp (#110980) 2025-09-11 22:13:07 +03:00
Jean-Philippe Quéméner 041fa843da
fix(unified-storage): use GetOldObject for delete validation (#110878) 2025-09-11 13:44:14 -05:00
Stephanie Hingtgen ca9982dc15
Folders: Fix panic in unified storage only mode (#110979) 2025-09-11 18:43:03 +00:00
Andreas Christou f5457c7909
InfluxDB: Update feature toggle retrieval (#110941)
* Update how feature toggles are retrieved

* Update wire

* Update Influx registration

* Update test
2025-09-11 19:19:10 +01:00
Kevin Minehart c28a917871
CI: fix bump version action to use grafana-delivery-bot (#110976)
* update bump-version

* Add id-token: write

* update generate-token step

* pull-requests -> pull_requests

* clone with token and set right name
2025-09-11 13:03:16 -05:00
Andreas Christou 10e335c10d
Graphite: Backend metrics find endpoint (#110610)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add metrics find endpoint

- Add types
- Add generic response parser
- Add endpoint
- Tests

* Update FE functoin to use backend endpoint

* Lint

* Simplify request

* Update test

* Add tests

* Review

* Review

* Fix packages

* Format

* Fix merge issues
2025-09-11 19:02:50 +01:00
Darren Janeczek 08203a060e
feat: NavTree menu entry for adaptive telemetry grafana cloud apps (#109561)
* feat: NavTree menu entry for adaptive telemetry grafana cloud apps

* feat: 'adaptive-telemetry' icon added
2025-09-11 13:13:17 -04:00
Andreas Christou 85e92ce04b
Graphite: Backend events endpoint (#110598)
* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Refactor backend

- Split query logic into separate file
- Move utils to separate file

* Add health-check logic

- Support backend healthcheck if the FF is enabled

* Remove query import support as unneeded

* Add test

* Add util function for decoding responses

* Add events types

* Add resource handler

* Add events handler and generic resource req handler

* Tests

* Update frontend

- Add types
- Update events function to support backend requests

* Lint and typing

* Lint

* Add tests

* Review

* Review

* Fix packages

* Fix merge issues
2025-09-11 17:08:19 +01:00
Gabriel MABILLE aecc2c9fe7
`grafana-iam`: init mt `resourcepermission` apis (#110821)
* Init mt resource permissions

* Few fixes for the mt service to work

* Refactor NewAPIService to take the provider and enabledapis
2025-09-11 17:46:29 +02:00
Mustafa Sencer Özcan 2bd76d4044
fix: bump context deadline for integration tests while backend initialization (#110947) 2025-09-11 17:25:13 +02:00
Mihai Turdean 03abe18bb2
Instrument IAM Folder Operator with Tracing (#110923) 2025-09-11 15:21:44 +00:00
Sofia Papagiannaki 7ec9a7a4a8
Configprovider: Update the interface to propagate errors (#110814)
* ConfigProvider: Update Get method to return error alongside configuration
2025-09-11 17:26:54 +03:00
Sidharth Chauhan 0b1e640b03
docs: clarify that data links must use variable names, not labels (#110077)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-09-11 10:21:27 -04:00
Isabel Matwawana 2af4e85b12
Docs: Replace screenshots for pill and markdown cells (#110953) 2025-09-11 10:09:13 -04:00
Peter Štibraný c6c8c6e928
Remove feature toggles from bleve backend. (#110951)
* Remove feature toggles from search backend.

* Remove extra import.

* Remove unnecessary code.
2025-09-11 16:08:41 +02:00
Mustafa Sencer Özcan 941a75964f
fix: auhtz grpc client no org id issue (#110952) 2025-09-11 14:02:56 +00:00
Torkel Ödegaard 18673e6eef
Variables: Style tweaks to new variables menu (#110946) 2025-09-11 14:51:53 +02:00
Gilles De Mey d73308690c
Alerting: Use Alerting package state components (#110830) 2025-09-11 14:47:52 +02:00
Ashley Harrison c7169b3461
Storybook: Run a11y tests against both light and dark theme (#110887)
* run storybook a11y tests in both light and dark theme

* remove unused import

* update unit tests
2025-09-11 13:10:41 +01:00
Tom Ratcliffe 582d1e4f0d
Chore: Remove some unnecessary suppressions (#110942) 2025-09-11 11:55:54 +00:00
Alexander Akhmetov fc3636acf2
Alerting: Fix bug where rules with identical mute/active intervals produced conflicting routes (#110935)
Alerting: Fix hash collision in NotificationSettings fingerprint
2025-09-11 13:44:06 +02:00