Commit Graph

62179 Commits

Author SHA1 Message Date
Ryan McKinley fdac98cdda
ShortURL: Avoid teris-io/shortid (#110456) 2025-09-02 17:01:20 +00:00
Will Browne 81fa79cdf6
Plugins: Add metric for connection request unavailable errors (#110454)
add metric for connection request unavailable errors
2025-09-02 17:23:07 +01:00
colin-stuart b81395976f
Remove SCIM banner (#110315)
* Remove SCIM banner

* yarn i18n-extract
2025-09-02 11:07:05 -05:00
Gilles De Mey 62cbe15f51
Alerting: Hide list view loader if we don't have anything yet (#110464) 2025-09-02 15:24:54 +00:00
Serge Zaitsev cdd7a2cfd2
Chore: Disable CGo in tests (#108764)
* make cgo optional for sqlite

* update go.mod; check error code differently

* reduce api surface even more

* move test errors into sqlite package

* CGO_ENABLED=0 in unit tests

* disable for enterprise, too

* add driver name constant

* remove unused constants

* make test an integration one

* try integration tests without cgo

* implement error codes for modernc sqlite driver

* typo fix

* missing return

* use error pointer as an interface

* alias the driver

* update workspace, check for test errors too

* check error properly

* add missing driver after rebase

* fix missing import after rebase

* debugging, lets try again

* properly parse options, revert many previous changes

* remove another log

* better url parsing

* revert test rename, leave it for later

* revert reusedSession in unistore

* revert more code

* remove driver name

* revert formatting

* add integration test without cgo for sqlite

* remove tracing and logging

* bring driver alias back

* fix type

* wrong package
2025-09-02 17:24:30 +02:00
Matias Chomicki 9b57d9616a
Log Details: Update links UI (#110412)
* LogLineDetailsLinks: create component

* Label: add space

* Comment

* LogLineDetailsLinks: show value in a toggletip

* LogLineDetailsLinks: add label

* Update tests
2025-09-02 15:06:57 +00:00
Gilles De Mey a058665bbc
Alerting: Minor papercut for data sources in the list view (#110460) 2025-09-02 17:05:51 +02:00
Andreas Christou 95072dad6c
Azure: Show resource group in picker (#110442)
* Show resource group in picker

* Trigger build
2025-09-02 14:57:29 +00:00
Eric Leijonmarck 12a789cfc5
LBAC for data sources: Update doc to remove the reference of specific data sources and cloud only (#110462)
update docs
2025-09-02 14:42:08 +00:00
Lauren c6ff3b5be2
Alerting: Allow filter by rule source in Filter V2 (#110336)
* add UI for rule source section of filter

* add logic to filter grafana vs external datasources

* run yarn i18n-extract

* resolve PR comments

* resolve design comments

* add rule source to search parser

* rename external to datasource

* import empty from ix

* fix tests

* fix typing

* resolve comments- treat undefined as *

* resolve PR comments
2025-09-02 15:27:54 +01:00
Ryan McKinley 146caddf1f
Chore: update feature toggle stats from git (#110457) 2025-09-02 17:15:08 +03:00
xavi 16b7535dd4
Forbid more redirect patterns (#110337) 2025-09-02 16:12:39 +02:00
Lauren 95f167bb8b
Alerting: Reduce failed network requests in Filter V2 (#110280)
* update options type to promise, fetch only when dropdown is open

* add GMA/DMA section WIP

* remove rule manager radio

* use default no options found in dropdowns

* fix failing test

* resolve PR comments

* replace fetchPromNamespaces with fetchGrafanaGroups
2025-09-02 14:12:20 +00:00
Bruno f8cd7049e8
Secrets: garbage collection (#110247)
* clean up older secret versions

* start gargbage collection worker as background service

* make gen-go

* fix typo

* make update-workspace

* undo go mod changes

* undo go work sum changes

* Update pkg/registry/apis/secret/garbagecollectionworker/worker.go

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>

* Update pkg/registry/apis/secret/garbagecollectionworker/worker.go

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>

* default gc_worker_batch_size to 1 minute

* fix typo

* fix typo

* add test to ensure cleaning up secure values is idempotent

* make gen-go

* make update-workspace

* undo go.mod and .sum changes

* undo enterprise imports

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-09-02 11:11:01 -03:00
Sergej-Vlasov d5eb3e291a
DashboardGridItem: Trigger row repeat behaviour on panel edit complete (#110397)
reset SceneGridRow repeats on panel change
2025-09-02 17:10:10 +03:00
Sergej-Vlasov 2a7fcd7d5f
TabsLayoutManager: Tab url sync rethink (#110274)
* Url sync for tabs rehink

* Update

* Thinks are working pretty well

* wip: solve tab not found

* fix lint and tests

* adjust wait for repeats in getCurrentTab

* set currentTabSlug in useEffect

* set currentTabSlug on tab title change

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2025-09-02 17:09:55 +03:00
Yunwen Zheng d33f0e0941
Provisioning: Add ProvisioningAwareFolderPicker to prevent cross-repository folder moves (#110136)
* Added ProvisioningAwareFolderPicker component to prevent cross repo resource move
2025-09-02 09:55:59 -04:00
Jean-Philippe Quéméner 6d5fe47790
fix(unified-storage): use contextual logger for permissions (#110455) 2025-09-02 15:53:37 +02:00
Jean-Philippe Quéméner 5fb72d1b04
fix(unified-strorage): optimize allocations (#110448) 2025-09-02 15:43:48 +02:00
Tom Ratcliffe 2a5ba2e74a
Folders: Fix folder parents error handling (#109605) 2025-09-02 14:25:28 +01:00
Matheus Macabu 9816c48ab2
Secrets: Add UI feature toggle (#110451) 2025-09-02 15:25:22 +02:00
Andres Martinez Gotor 13baef080c
Datasource view: Show a not-found message (#110417) 2025-09-02 14:37:51 +02:00
Yulia Shanyrova 0c44a0c14a
Plugins: Pin plugin search and connections search to the page (#109903)
* pin page header for plugins and connections

* fix tests
2025-09-02 13:57:58 +02:00
Alexander Akhmetov 9d9f464679
Alerting: Add alertenrichment API types (#110396) 2025-09-02 13:33:54 +02:00
renovate[bot] 7d329c8080
Update scenes to v6.33.0 (#110438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-02 14:16:34 +03:00
Levente Balogh 41681eb2ee
Dashoard-Scene: Remove unused(?) `console.log()` statement (#110395)
chore: remove console.log
2025-09-02 13:05:43 +02:00
Andrej Ocenas bab84c64dc
Folders: Migrate bulk move action to new API (#110150) 2025-09-02 12:41:29 +02:00
Matheus Macabu 4045da21e0
Provisioning: Bump secret dependency version (#110440) 2025-09-02 10:09:14 +00:00
Andreas Christou 1a8d25375a
Azure: Resource picker improvements (#109458) (#109520)
* Azure: Create feature toggle for resource picker improvements (#109458)

Create feature toggle

* Azure: Resource picker subscriptions filter (#109527)

* Create feature toggle

* Fix namespace typo

* Retrieving default subscription ID

* Style updates

- Filter input styling
- Improved modal styling

* Pass data source to resource field

* Search style updates

* Function to support fetching filtered rows

* Filtering nested rows

* Filtering search

* Support subscriptions filtering

- Support filtering in resource graph functions
- Subscriptions filter component

* getSubscriptions tests

* Fix logs query editor test

* Update data source mock

* Update resourcePickerData tests

* Update tests, lint, and i18n

* Lint and test

* Simplify type

* Azure: Resource picker types filter  (#109528)

* Create feature toggle

* Fix namespace typo

* Retrieving default subscription ID

* Style updates

- Filter input styling
- Improved modal styling

* Pass data source to resource field

* Search style updates

* Function to support fetching filtered rows

* Filtering nested rows

* Filtering search

* Support subscriptions filtering

- Support filtering in resource graph functions
- Subscriptions filter component

* getSubscriptions tests

* Fix logs query editor test

* Update data source mock

* Update resourcePickerData tests

* Add types filter

* Update tests, lint, and i18n

* Lint and test

* Simplify type

* Rename variable for clarity

* Azure: Resource picker locations filter  (#109530)

* Create feature toggle

* Fix namespace typo

* Retrieving default subscription ID

* Style updates

- Filter input styling
- Improved modal styling

* Pass data source to resource field

* Search style updates

* Function to support fetching filtered rows

* Filtering nested rows

* Filtering search

* Support subscriptions filtering

- Support filtering in resource graph functions
- Subscriptions filter component

* getSubscriptions tests

* Fix logs query editor test

* Update data source mock

* Update resourcePickerData tests

* Add types filter

* Locations filter

* Update tests, lint, and i18n

* Minor test updates

* Imports

* Lint and test

* Simplify type

* Rename variable for clarity

* Rename var

* Azure: Resource picker filters tests (#109590)

* Create feature toggle

* Fix namespace typo

* Retrieving default subscription ID

* Style updates

- Filter input styling
- Improved modal styling

* Pass data source to resource field

* Search style updates

* Function to support fetching filtered rows

* Filtering nested rows

* Filtering search

* Support subscriptions filtering

- Support filtering in resource graph functions
- Subscriptions filter component

* getSubscriptions tests

* Fix logs query editor test

* Update data source mock

* Update resourcePickerData tests

* Add types filter

* Locations filter

* Update tests, lint, and i18n

* Minor test updates

* Imports

* Lint and test

* Resource picker filter tests

* Update tests

* Simplify type

* Rename variable for clarity

* Rename var

* Azure: Resource picker - recent resources (#109596)

* Create feature toggle

* Fix namespace typo

* Retrieving default subscription ID

* Style updates

- Filter input styling
- Improved modal styling

* Pass data source to resource field

* Search style updates

* Function to support fetching filtered rows

* Filtering nested rows

* Filtering search

* Support subscriptions filtering

- Support filtering in resource graph functions
- Subscriptions filter component

* getSubscriptions tests

* Fix logs query editor test

* Update data source mock

* Update resourcePickerData tests

* Add types filter

* Locations filter

* Update tests, lint, and i18n

* Minor test updates

* Imports

* Lint and test

* Resource picker filter tests

* Update tests

* Event for filter usage

* Function to support local storage

* Recent resources view

- Add LocalStorageValueProvider to store recent resources
- Add tabbed view to support switching between recent resources and resource picker
- Extract the base resource picker out to a functional component for reusability
- Extract the base resource table out to a functional component for reusability

* Update i18n keys

* Export resource key

* Add no recent resources text

* Run legacy tests with feature toggle off

* Add filters test without feature toggle

* Don't use as type assertions

* Add tests for recent resources

* Store resources for each query type

* i18n-extract

* Simplify type

* Minor performance improvement

* Rename variable for clarity

* Rename var

* Add placeholders

* Azure: Resource picker tests (#110175)

* Minor simplifying refactor

* Add more tests

* Update E2E
2025-09-02 11:02:01 +01:00
dependabot[bot] b56b7add01
Chore(deps): Bump google-github-actions/setup-gcloud from 2.1.4 to 3.0.1 (#110372)
Bump google-github-actions/setup-gcloud from 2.1.4 to 3.0.1

Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 2.1.4 to 3.0.1.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases)
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md)
- [Commits](77e7a554d4...aa5489c893)

---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 11:34:54 +02:00
Victor Marin 05380088d5
DataSourceApi: More specific naming for getFiltersApplicability (#110407)
* rename getFiltersApplicability

* typecheck

* typecheck
2025-09-02 11:32:24 +03:00
Matheus Macabu 1e926a29c0
Secrets: Extract external facing decrypt types to apps (#110432) 2025-09-02 10:30:29 +02:00
Alex Khomenko c1c51beee4
Provisioning: Update branch selection (#110389) 2025-09-02 11:27:33 +03:00
Bergbok 13594b2b2e
Docs: fix broken link in Jaeger plugin README (#110145)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2025-09-02 08:12:16 +00:00
Roberto Jiménez Sánchez 4eadc823a9
Provisioning: Move repository package to provisioning app (#110228)
* Move repository package to apps

* Move operators to grafana/grafana

* Go mod tidy

* Own package by git sync team for now

* Merged

* Do not use settings in local extra

* Remove dependency on webhook extra

* Hack to work around issue with secure contracts

* Sync Go modules

* Revert "Move operators to grafana/grafana"

This reverts commit 9f19b30a2e.
2025-09-02 09:45:44 +02:00
Sergej-Vlasov fb7b69e8b5
RowItemEditor: Add row title edit undo action (#110398)
* add undo/redo for row title change

* refactor with useRef
2025-09-02 10:09:16 +03:00
Alex Khomenko ceec2340b3
Provisioning: Fix rule of hooks violations (#110414) 2025-09-02 08:07:11 +03:00
grafana-pr-automation[bot] e94b61f964
I18n: Download translations from Crowdin (#110431)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-02 00:40:24 +00:00
wassaf shahzad 88886d39d0
Histogram: Fix Tooltip placement issue (#110368)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-09-01 16:48:44 -05:00
maicon fccf58add7
Unistore: Only Shadow Search Traffic when running on modes > 0 (#110302)
* Unistore: Only Shadow Search Traffic when running on modes > 0

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-09-01 16:14:53 -03:00
antonio 2f769b0a62
add video to alerting tutorial (#110429) 2025-09-01 20:19:43 +02:00
Juan Cabanas b47aece718
Save Queries: Remove entry points when user has Viewer role (#110244) 2025-09-01 14:18:02 -03:00
Irene Rodríguez 9244d5f058
Docs: Modify Go installation command for foundation SDK (#110415) 2025-09-01 15:38:54 +00:00
Andreas Christou 0dc283b303
Graphite: Add backend feature toggle (#110043)
Add feature toggle
2025-09-01 15:13:47 +00:00
Tobias Skarhed dac6d04e24
Scopes: Arrow key selection support (#110155)
* Add basic arrow key navigation support

* Add shortcut for applying scopes

* Support expanding nodes with arrow keys

* Make useEffect non-conditional

* Add a11y and error boundary

* Fix preventDefault

* Add test for keyboardinteractions

* Add tests and expanded status to treeitem

* Reset highlight when disabled and change styles

* Fix tests

* Update i18n

* Remove unused var

* Reset enterprise imports from main

* Move failing test to correct quite

* Remove test outside fo context

* Remove unused import

* Use highlitghted ID instead of index

* Extract all highlighing functionality into its own hook

* Remove unused imports
2025-09-01 16:59:50 +02:00
Roberto Jiménez Sánchez 4de9ec7310
Provisioning: Fix import cycle between grafana and provisioning app (#110406)
* Move operators to grafana/grafana

* Go mod tidy
2025-09-01 13:29:34 +00:00
Dominik Prokop 7324087273
Dashboard migration: v14 Broken dash repro (#110405)
* Broken dash repro

* Fix V16 migration to preserve panels when rows array is empty

- Fixed bug where panels were deleted when migrating dashboards with empty rows array
- Updated v16.go to match frontend implementation behavior
- Added test case for empty rows scenario in v16_test.go
- Renamed test files to v16.empty-rows-and-panels-array.json for clarity
- All migration tests passing (419 test cases)
2025-09-01 13:02:59 +00:00
Alexa Vargas af893344f2
Saved Queries: Fix Change DS during replace query did not update DataSourcePicker (#110299)
* Pass onUpdateDatasources from PanelDataQueriesTab to QueryEditorRows to keep ds up to date

* Add unit tests

* add type ds to make the test clearer
2025-09-01 14:53:07 +02:00
Tom Ratcliffe 66a99d0ae8
Folders: Create folder using app platform APIs (#110166) 2025-09-01 13:09:09 +01:00
Ashley Harrison db924493f2
Revert "Dashboard: Add unit tests for keyboard shortcuts (#107065)" (#110404)
This reverts commit 789834d65b.
2025-09-01 12:52:45 +01:00