Commit Graph

57892 Commits

Author SHA1 Message Date
Bogdan Matei 3ddfa3229a
Dynamic Dashboards: Add repeat responsive items (#102440) 2025-03-20 11:37:27 +02:00
Denis Vodopianov 06545aa770
Chore: Migrate bwplotka/bingo-managed go-swagger with go tools directive (#102434)
* Preparation to migrate go-swagger to go tool

* Replace bingo managed go-swagger with go tool

* rollback bingo managed go-swagger to golang 1.18

* add swagger to the Dockerfile

* update go-swagger version

* Revert "update go-swagger version"

This reverts commit c06008f386.

* update golang.go/x/crypto to v0.31.0

* update workspace
2025-03-20 10:09:00 +01:00
Matthew Jacobson 371ea5cda7
Alerting: Fix loss of TimeInterval location on remote AM apply (#102510)
* Alerting: Fix loss of TimeInterval location on remote AM apply

deepcopy.Copy does not correctly copy PostableUserConfig because it ignores
unexported fields. As a result, TimeInterval locations default to UTC instead
of retaining their original values.

* make update-workspace
2025-03-20 09:54:33 +01:00
a3exodus 7b8e5467bb
Docs: Fix Incorrect LBAC Data Source Reference (#102509) 2025-03-20 08:51:56 +00:00
Yulia Shanyrova cbdf2eecab
Plugins: Update some links in plugin jsons due of mistakes in previous PR (#102214)
* update some links in plugin jsons update backend tests

* fix the test

* fix the test

* Update public/app/plugins/datasource/azuremonitor/plugin.json

Co-authored-by: David Harris <david.harris@grafana.com>

* more docs links added, fix tests

---------

Co-authored-by: David Harris <david.harris@grafana.com>
2025-03-20 09:25:04 +01:00
Fabrizio a858ddc470
Update recommended-practices.md to fix 109's header (#102310)
Minor PR, just to use a `h2` (`##`) header for item 109, as for all other item.
2025-03-20 09:20:14 +01:00
Tania ad5d7e9ad6
Use OpenFeature provider (#102116)
* Migrate pinNavItems to open feature

* Use Boolean method instead of BooleanValue
2025-03-20 08:40:15 +01:00
renovate[bot] 81c32ff023
Update scenes to v6.5.0 (#102473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 08:48:17 +02:00
Leon Sorokin d52c837f09
ValueMappings: Allow omitting From or To in MappingType.RangeToText (#102416) 2025-03-20 02:53:10 +02:00
grafana-pr-automation[bot] efc8756de5
I18n: Download translations from Crowdin (#102504)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-20 02:39:19 +02:00
Jean-Philippe Quéméner 694e4de935
feat(unified-storage): run dual writer in background if possbile (#102492) 2025-03-19 23:27:16 +01:00
Beverly Buchanan 27245622a9
Docs: Edit Google Cloud Monitoring data source (#102411)
* changed content organization and created before you begin section

* Update docs/sources/datasources/google-cloud-monitoring/_index.md

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

---------

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-03-19 17:27:42 -04:00
Jev Forsberg 02187dcb68
Feature: Add releasefinder (#102381)
* baldm0mma/ initial commit for release finder script

* baldm0mma/ check origin branches

* baldm0mma/ restructure a more robust output

* baldm0mma/ add directives

* baldm0mma/ update to more explicit handling of hashes

* baldm0mma/ debug first tag

* baldm0mma/ update logic for initial release

* baldm0mma/ update language

* baldm0mma/ update to show all release branches

* baldm0mma/ update logic to reflect security releases also

* baldm0mma/ add commit info

* baldm0mma/ remove commit messages

* baldm0mma/ add myself as codeowner

* baldm0mma/ handle backports

* baldm0mma/ add upcoming release info

* baldm0mma/ update syntax
2025-03-19 14:45:23 -06:00
Isabel Matwawana a132b12daf
Docs: fix typo in cloud link (#102488)
Fixed link typo
2025-03-19 15:41:51 -04:00
Timur Olzhabayev a29e49f472
Chore: Promoting frontendSandboxMonitorOnly to private preview (#102213)
* Since pluginsFrontendSandbox is private preview we can make frontendSandboxMonitorOnly also private preview

* Running toggle generation command
2025-03-19 20:07:26 +02:00
Timur Olzhabayev 5f0faf2dd6
Chore: Promoting feature toggle pluginsSriChecks GA (#102212)
* Making pluginsSriChecks GA

* make it disabled by default
2025-03-19 19:45:04 +02:00
Gabriel MABILLE 8767a8f9a1
AuthZ: Improve getUserPermissions query (INNER JOIN, UNION ALL) (#102441) 2025-03-19 16:54:32 +01:00
Matheus Macabu 4c59219adb
SecretsManager: Add reststorage logic with validations (#102464)
* SecretsManager: rename keeper + securevalues rest file

* SecretsManager: add rest of xkube helper methods

* SecretsManager: add domain errors to contracts

* SecretsManager: copy over Keeper reststorage from feature branch

* SecretsManager: copy over SecureValue reststorage from feature branch

---------

Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2025-03-19 16:31:10 +01:00
Matheus Macabu 2ade94bbf7
SecretsManager: Add roles and access control to APIs (#102456) 2025-03-19 16:30:07 +01:00
Victor Marin 616ec9831b
Remove scopes to adhoc conversion code (#101699) 2025-03-19 17:24:21 +02:00
Marco de Abreu ce350df79b
Storage: Add resource version matching in unified storage API (#102417)
Add NotOlderThan support to getHistory

Add support for Exact

Add tests

Refactor tests

Add error test

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-03-19 16:16:48 +01:00
Mihai Doarna e5b6b7b370
Team: Include user UID in GetTeamMembers() output (#102373)
* include user UID in GetTeamMembers() output

* move user.uid next to the other user fields

* generate openapi specs

* remove new line at EOF

* fix sql select syntax

* fix sql select syntax

* fix sql select syntax

* fix sql select syntax
2025-03-19 16:47:45 +02:00
Andres Martinez Gotor ebddc79780
Stats: Propagate context when listing sandbox plugins (#102207) 2025-03-19 15:29:30 +01:00
Yuri Tseretyan c3f00eb403
Alerting: log body of unexpected response from Mimir (#102382)
log body of unexpected response

Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2025-03-19 10:14:05 -04:00
Tito Lins 42472dbe7e
Alerting: handle mimir BadRequest write errors (#102027) 2025-03-19 14:56:00 +01:00
Ashley Harrison 24391a0277
Internationalisation: Auto markup some translations (#102389)
* auto markup admin

* more automarkup

* betterer results
2025-03-19 13:49:17 +00:00
Josh Hunt ebeef2064e
GrafanaUI: Fix Combobox throwing error with too many items (#102452) 2025-03-19 13:42:59 +00:00
Esteban Beltran 053ee5cb1f
Frontend Sandbox: Use DOMPurify to sanitize innerHTML (#102302) 2025-03-19 15:24:32 +02:00
Peter Štibraný 0566ddbf4d
Speed up truncation in mysql, postgres and sqlite in integration tests. (#102439)
Speed up truncation in sqlite, mysql and postgres integration tests.
2025-03-19 14:16:20 +01:00
Georges Chaudy 4927376f32
unistore: use the same connection string as grafana (#102387) 2025-03-19 13:56:54 +01:00
Matheus Macabu 3aba5cb2b7
SecretsManager: Bootstrap API service (#102444)
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2025-03-19 13:41:29 +01:00
Kyle Brandt 3f2ef07872
SSE: Fix goroutine leak in math operation expression parsing (#102380)
---------

Co-authored-by: Sam Jewell <sam.jewell@grafana.com>
2025-03-19 08:34:49 -04:00
Will Assis 216b6e96a9
fix(unified-storage): update instrumentation_server metric gatherer (#102399)
* update instrumentation_server used by the module server to use prometheus gatherer from wire instead of DefaultRegisterer
2025-03-19 08:15:13 -04:00
kay delaney 4eab2ea9d3
Scenes: Implement drag and drop support for SceneCSSGridLayout (#99386)
* Draft: Move css grid stuff to main

* Scenes: Implement drag and drop support for SceneCSSGridLayout

* Fix some nits

* WIP Refactor

* Added a comment

* Add orchestrator to v2schema and fix error (#100964)

* Add orchestrator to v2schema and fix error

* Display placeholder directly when starting to drag

---------

Co-authored-by: kay delaney <kay@grafana.com>

* Fix merge issue

* Fix panel drag offset and remove console.logs

* Fix small nit

* Fix issue where layout options weren't refreshed on changing layout

* Return empty array from useEditPaneOptions if dashboard body isn't LayoutOrchestrator

* Expect layoutOrchestrator when serializing scene

* Fix tests to expect orchestrator instead of layoutManager

* Fix tests in transformSaveModelSchemaV2ToScene.test.ts

* Fix tests in transformSceneToSaveModelSchemaV2.test.ts

* More test fixes

* fix lint issues

* Small fixes

* default to adding layout orchestrator?

* Empty commit

* delete artifactspage.go

* remove artifactspage.tmpl.html

* betterer

* WIP refactor, not ready for review

* Slightly fix placeholder behavior. still broken though

* Fixed some visual glitches. Still very buggy

* Fix layout bugginess when initiating dragging

* more WIP

* Fix some broken logic

* clean up

* Move LayoutOrchestrator to dashboard state

* More cleanup

* Fix misaligned placeholders after changing layout options or resizing browser

* Fix issue with dragging vs selection

* Fix scroll position jumping when dragging in vertically-oriented grid

* Fix import order errors

* Remove '!' from layoutOrchestrator references

* Add LazyLoader support

* Dynamic Dashboards: Responsive Grid drag and drop minor fixes (#102430)

Changes

---------

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2025-03-19 13:53:58 +02:00
Peter Štibraný 0c58d39e76
Spanner-related fixes (#102376)
* Fix UNION syntax in resourcepermissions package.
* Fix migrations in usermig package to work with Spanner.
* Fix health query.
* Use more connections for integration tests.
* Add test-go-integration-spanner target to run integration tests against Spanner emulator.
* Add test for enterprise.
* Don't delete sequence number for migration_log.id column.

* Only bump max open connections to 20 for Spanner.
Lower integration test timeout.
2025-03-19 12:34:44 +01:00
Alex Khomenko 229f37edb0
Provisioning: Add feature toggle (#102436)
* Provisioning: Add feature toggle

* Provisioning: Use isManagedRepository

* Fix toggle
2025-03-19 12:31:54 +01:00
Gabriel MABILLE 9a556fbde6
AuthZService: Add attributes to traces (#102433) 2025-03-19 12:21:39 +01:00
Jean-Philippe Quéméner 3e3ab8e064
fix(unified-storage): reduce lock contention when pruning (#102425) 2025-03-19 12:15:04 +01:00
Laura Fernández 5a004939da
QueryInspector: Show all buttons small screen sizes (#102292) 2025-03-19 12:02:41 +01:00
Torkel Ödegaard a9d81ba605
Dashboard: Switch back to prev layout restores state (#102304) 2025-03-19 10:41:32 +01:00
Matheus Macabu ac4b2a3200
SecretsManager: Add feature toggle (#102420)
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
2025-03-19 10:25:14 +01:00
xavi 045733aed6
[IAM] Clear user's permission cache after login (#102311) 2025-03-19 10:06:58 +01:00
Mustafa Sencer Özcan ef94d21093
test(unified-storage): Create initial e2e test scenario for unified storage (#102019)
* test: introduce initial e2e test scenario for unified storage

* fix: lint

* chore: trigger build

* test: attach unified storage grpc service into grafana

* fix: lint and todos

* fix: err handling

* chore: trigger build
2025-03-19 09:21:04 +01:00
Matheus Macabu 450d76518e
Chore: Remove print from fake service account svc (#102369) 2025-03-19 09:14:26 +01:00
Ivan Ortega Alba 35e3d26987
Dashboards: Do not throw error if backend cannot migrate schemaVersion to latest (#102357)
* Refactor migration error handling to use MinimumVersionError for schema version checks

- Updated migration logic to return MinimumVersionError instead of MigrationError for outdated schema versions.
- Enhanced MinimumVersionError message for clarity on migration constraints.
- Added tests for version error handling in the dashboard API to ensure proper error throwing for specific conversion errors.

* Fix tests and remove folder dependencies
2025-03-19 09:57:05 +02:00
zenador 7f9fa8c662
Grafana UI: Clearly separate multiple warnings by using HTML tags (#97979)
* Allow html in tooltips

* Display multiple warnings/infos properly with html

* Revert "Allow html in tooltips"

This reverts commit 5c7e965d2d554b693d4897e52cf6865e0c9b8374.

* Display multiple warnings/infos properly with html in ReactNode

* Fix lint

* Revise according to code review

* Revise according to code review part 2

* Revise according to code review part 3
2025-03-19 07:05:53 +01:00
Stephanie Hingtgen 6c704484e9
K8s: Add sorting by more than titles (#102403) 2025-03-18 20:23:43 -05:00
owensmallwood ec91ad6db7
Dashboard Provisioning: Dont wait on indexer when nothing deleted (#102390)
* adds debug log

* show dashboard uids as strings

* adds debug log

* don't wait when no deleted dashboards

* adds test
2025-03-18 17:36:10 -06:00
Sam Jewell d7aeebe5e3
Sql Expressions: State when error is from GMS (#102112) 2025-03-18 22:41:42 +00:00
Johnny Kartheiser 671ba2ab02
docs: create documentation for jira service management contact point (#100444)
* docs: create documentation for jira service management contact point

create documentation page for jira service management

* Update configure-jira-service-management.md

updates thanks to yuri and some subsequent edits

* minor edits, weight

minor edits, weight

* links and tables

links and references to jira added on other pages, bullets turned into a table.

* edits

* Update configure-jira.md

link fix

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* pretty, prettier, prettiest

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-jira.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update configure-jira.md

prettier

---------

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-03-18 15:33:24 -05:00