Commit Graph

58087 Commits

Author SHA1 Message Date
Peter Štibraný 00db0cf6e6
Remove dependency from OSS to enterprise packages by moving Spanner functions to xorm. (#102692)
* Remove dependency from OSS to enterprise packages by moving Spanner functions to xorm.
2025-03-24 12:16:12 +01:00
Piotr Jamróz d4a4aac8d1
TraceView: Fix links menu position (#102693) 2025-03-24 11:47:56 +01:00
Nathan Vērzemnieks 5bb1d5f2c3
Cloudwatch: Migrate to aws-sdk-go-v2 (#99643) 2025-03-24 11:37:19 +01:00
Denis Vodopianov 35d22dc83d
Chore: Cleanup bwplotka/bingo managed tools (#102583)
* cleanup  biingo managed tools

* add .bingo to prettier exclusions
2025-03-24 11:11:13 +01:00
Denis Vodopianov c4549b59c5
Chore: Remove drone from go managed tools (#102529)
* remove drone from go managed tools

* updating workspace after drone removal
2025-03-24 11:10:57 +01:00
Ashley Harrison ddd3b82581
remove webpack aliasing for runtime + data (#102449) 2025-03-24 10:07:03 +00:00
Andrej Ocenas 5d2dbd7883
Scopes: Move url sync from scenes to the ScopesSelectorService (#102469)
* Add url sync

* Move the URL sync handling to ScopesService to keep persistence

* Reset location after tests

* Prettier

* Do url replace on enabling scopes

* Remove comment

* Update scenes version
2025-03-24 11:00:50 +01:00
Pepe Cano d25dba8d0a
Alerting docs: additional details for `No Data` and `Error` alerts (#102593)
* Alerting docs: additional details for `No Data` and `Error` alerts

* add Error in the list of possible values

---------

Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com>
2025-03-24 10:43:01 +01:00
Ashley Harrison 4f01c1aa88
LDAP test: Fix page crash (#102587)
* fix translation code on ldap page causing crash

* move tooltip outside of trans
2025-03-24 09:20:40 +00:00
Joey dfe2af9559
Tempo: Remove aggregate by (#98474)
* Remove aggregate by

* Update betterer

* Run toggles test

* Add back group by in schema so it can be checked for

* Show error if group by

* Update error message

* Allow user to remove the group by from the query

* Fix assertion

---------

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2025-03-24 09:17:32 +00:00
linoman cb532cafef
SCIM: Validate provisioned users (#102099)
* Validate authID when user is provisioned

* Add new `user_unique_id` to `user_auth` table

* Validate provisioned user with saml assertion

* Rework `ExternalUID`

* Validate for ExternalUID only

* Enhance verbosity

* Move ExternalUID to saml config

* Rename db variable for externalUID

* Add verbosity to debug ExternalUID

* Assign new error for ExternalUID mismatch

* Add `GetByLoginFn`

* Add new configuration to saml tests

* add validation for empty externalUID
2025-03-24 09:28:51 +01:00
Pepe Cano 07b520378f
alerting(ui): update helpUI text for simplified routing (#102225)
* alerting(ui): add helpInfo for optional simpleRouting settings

* minor copy change

* update betterer results

* alerting(ui): update helpUI text for simplifiedRouting

* fix i18n error with `make i18n-extract`
2025-03-24 09:26:17 +01:00
Matheus Macabu 9c0c9359a0
CloudMigrations: Refactor folder name resolution when fetching migration json data (#102604)
* CloudMigrations: Refactor folder name resolution when fetching migration json data

* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go

---------

Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
2025-03-24 08:17:11 +01:00
Marco de Abreu 543c0bbccb
App platform: Add cleanup job for dashboards when going through /apis (kubectl) (#102506)
* Add dashboard cleanup job

Change log message

Adjust logic to account for new head RV logic

Don't update lastResourceVersion due to pagination

Save improvements

* Address review feedback

* Update docs.

* Remove docs

* Rename config

---------

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-03-22 23:47:27 +01:00
jackyin c661077651
Bar Chart: Crash when no number field exist (#102265)
* fix bar chart crash

* format

* use optional chaining
2025-03-22 14:44:48 -05:00
Kristina bb8392c9a1
Transformations: Correct documentation around prepare time series (#102553)
* Correct documentation around prepare time series

* Update public/app/features/transformers/docs/content.ts

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-03-22 14:25:12 -05:00
Stephanie Hingtgen 4d79d5e80c
K8s: Fix legacy dashboard folder check (#102660) 2025-03-22 06:22:59 +03:00
Todd Treece 1b1f626edd
SQL Expressions: Fix error handling (#102650) 2025-03-21 18:47:00 -04:00
Jev Forsberg 8becf33d31
Chore: Simplify `releasefinder.sh` logic (#102569)
* baldm0mma/ simplify

* baldm0mma/ add pr info

* baldm0mma/ update logic

* baldm0mma/ update language

* baldm0mma/ add PR title

* baldm0mma/ simplify logic

* baldm0mma/ add context

* baldm0mma/ adjust logic
2025-03-21 16:01:10 -06:00
Stephanie Hingtgen 62e3c95e7b
K8s: Dashboard history: Fix version endpoint in mode3+ (#102649) 2025-03-21 22:54:23 +02:00
owensmallwood 4cb9042e4c
Unified Storage: Update docs for search and load tests (#102648)
* add index on dashboard_tag table for dashboard_uid column

* updates US docs for search and load tests

* Update pkg/storage/unified/README.md

Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>

---------

Co-authored-by: Will Assis <35489495+gassiss@users.noreply.github.com>
2025-03-21 22:30:05 +02:00
owensmallwood 64e939fd5d
Unified Storage: Adds span and debug log for paginated List calls (#101912)
Adds span and debug log for paginated List calls
2025-03-21 14:20:27 -06:00
Georges Chaudy 57658abdb1
spanner: update the sequence generator to allocate sequences in batch (#102435)
* spanner: update the sequence generator to allocate sequences in batch

* lock per sequence

* handle error scenario

* rollback on error

* mutex-hat

* implement sequent generator
2025-03-21 20:58:35 +01:00
Johnny Kartheiser e2b84ff828
alerting docs: add note about alert rule versions limit (#102647)
added note about alert rule versions limit
2025-03-21 14:40:58 -05:00
Marco de Abreu 6d570db312
Storage: Add ascending order support for NotOlderThan queries and introduce ResourceVersionMatch_Unset as default (#102505)
* Add support for ASC ordering and introduce ResourceVersionMatch_Unset as default
Add SortAscending to continue token and add integration test for pagination.

* Change protobuf order

* Make backwards compatible

* Update pkg/storage/unified/sql/backend.go

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>

---------

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2025-03-21 18:35:32 +02:00
Jacob Valdez 7d435e5d84
Docs: Cleaning up configure security hardening docs (#102567)
* Docs: Cleaning up configure security hardening docs

* Adjusting layout
2025-03-21 11:16:10 -05:00
Ieva 8af271187c
Docs: Remove references to group sync (#102599)
* remove references to group sync

* remove relfref and add new link

* remove relfref

* Update relfref

* remove relrefs and add admonitions

* fix URL

* remove relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* replace relrefs

* run prettier

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-03-21 16:13:44 +00:00
Misi 874751d9da
Docs: AzureAD + SAML improvements (#102623)
* Docs: AzureAD + SAML improvements

* Fix
2025-03-21 17:00:12 +01:00
Yuri Tseretyan 674d81d7ee
Chore: Bump version of front-end modules to 12.0.0-pre (#102615)
---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2025-03-21 17:35:55 +02:00
Matheus Macabu d1ff85d9a1
SecretsManager: update decrypt protobuf response format (#102611)
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
2025-03-21 17:16:04 +02:00
Peter Štibraný 3d53968ecb
spanner-annotationsimpls-fixes (#102622)
* Fix DELETE statements.
* Reset sequence generator when truncating tables.
* Quote "at", since it's a keyword in Spanner.
2025-03-21 16:10:51 +01:00
Georges Chaudy 19d1ded3bf
spanner: fix TestIntegration_DashboardPermissionFilter (#102603) 2025-03-21 16:04:58 +01:00
Matheus Macabu 57889a43a7
Dashboards: Update OpenAPI codegen from schema (#102620)
* Dashboards: Update OpenAPI codegen from schema

* GHA: Run the K8s Codegen Check workflow with changes in apps/ folder
2025-03-21 16:49:39 +02:00
Torkel Ödegaard 599906cbfd
Dashboard: Fixes layout switching crash (#102619) 2025-03-21 15:45:40 +01:00
Ryan McKinley 1a00801e6a
Provisioning: Merge watch support into live (#102618) 2025-03-21 16:45:25 +02:00
Beverly Buchanan 77c5e0eeb2
Docs: Update RBAC role modification for cloud user (#102412)
added content from support ticket
2025-03-21 10:32:49 -04:00
Bogdan Matei 934fac67a6
Dynamic Dashboards: Improve drag and drop for responsive grid (#102613) 2025-03-21 16:28:24 +02:00
Will Assis 08bbd7a536
fix (unified-storage): always do perm filtering in bleve by default (#102541)
* make unifiedStorageSearchPermissionFiltering default true
2025-03-21 10:06:01 -04:00
Scott Lepper 2aae523c3f
Search: Fix title filter overmatching (#102547)
* fix issues with over matching
* search wildcard for backward compatibility
2025-03-21 09:57:20 -04:00
Torkel Ödegaard 8a8b1a0743
DashboardScene: Take selected object into account when adding objects (#102423)
* Dashboard: Add object to selected object

* Try not to nest rows

* Update

* Update

* rows in rows, tabs in tabs

* Update schema to allow nested rows and nested tabs

* fix lint issue

* reset v2alpha1 types from main

* reset dashboard_object_gen.go to main

---------

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-03-21 14:28:44 +01:00
Jean-Philippe Quéméner ba3e8014b3
feat(unified-storage): add grpc connection pooling (#102575) 2025-03-21 14:24:54 +01:00
Quentin Bisson aeca9a80a4
JWT: Add org role mapping support to the JWT provider (#101584)
* add org role mapping to the jwt provider

* Fix indentation for OrgMapping assignment

* add-test

* fix linting

* add org_attribute_path

* fix test

* update doc

* update doc

* Update pkg/services/authn/clients/jwt.go

* Update docs

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2025-03-21 14:18:53 +01:00
Peter Štibraný ea89499209
Fix failing integration tests in folderimpl package when running on Spanner. (#102602)
* Fix failing integration tests in folderimpl package when running on Spanner.

* Add comments.
2025-03-21 14:18:22 +01:00
Juan Cabanas 3339251b57
TimeRangeInput: Fix compatibility with Drawer (#101709) 2025-03-21 10:17:34 -03:00
Andres Martinez Gotor 20e171968e
Advisor: Avoid returning an error when creating initial resources (#102545) 2025-03-21 14:50:45 +02:00
Collin Fingar c11a37eabb
Combobox: Fix option truncation w/ autoPlacement (#102568)
* Combobox: Fix option truncation w/ autoPlacement

* Add back in boundary property
2025-03-21 08:26:32 -04:00
Ieva 73436e3d55
RBAC: Remove dashboard guardians pt 3 (#102558)
* remove usage of New dashboard guardian

* fix tests
2025-03-21 10:44:16 +00:00
Matheus Macabu 6922315d7c
SecretsManager: Add Keeper service and SQL Keeper (#102554)
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2025-03-21 11:38:43 +01:00
Ieva e2737f195b
RBAC: Remove dashboard guardians pt 2 (#102556)
* remove NewByDashboard guardian

* remove unused authorizer

* more cleanup

* simplify canAdmin evaluation
2025-03-21 10:32:27 +00:00
Oscar Kilhed f2770b0984
Dashboard schema: Add comment about deep copy really being deep copy. (#102586)
help future me
2025-03-21 11:53:29 +02:00