Commit Graph

56313 Commits

Author SHA1 Message Date
renovate[bot]
e0121055fb
Update dependency typescript to v5.7.2 (#93749)
* Update dependency typescript to v5.7.2

* typescript fixes

* don't need this change

* remaining typescript fixes

* remove emotion/react aliasing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-01-09 15:20:45 +00:00
Haris Rozajac
6b03adbbb0
Dashboard V2: Snapshot variables and read snapshot (#98463)
* Introduce DashboardScenePageStateManagerLike interface

* Implement dash loader for handling v2 api

* Transformation improvements

* Update response transformer test

* v2 schema: Remove defaultOptionEnabled from ds variable schema

* v2 schema: Make annotations filter optional

* WIP render dashboard from v2 schema

* Force dashbaord scene for v2 api

* V2 schema -> scene meta transformation

* v2 api: Handle home dashboard

* Use correct api client in DashboardScenePage

* Correctly use v2 dashboard scene serializer

* Remove unnecesary type assertions

* Handle v2 dashboard not found

* Fix type

* Fix test

* Some more tests fix

* snapshot

* Add dashboard id annotation

* Nits

* Nits

* Rename v2 api

* Enable snapshot variables

* Support getSnapshotUrl() for v2 serializer

* fix

* Make metadata available in the serializer

* Test

* Decouple meta info

* State Manager: Extract snapshot loading into loadSnapshot

* Fix tests

* Add test for snapshot url

* Don't expose dashboardLoaderSrvV2

* Remove TODO

* Bubble up loading snapshot error to error boundary

* Fix test

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2025-01-09 08:14:41 -07:00
Eric Leijonmarck
78fda78a56
LBAC for datasources: Extend docs to direct to our terraform provider for provisioning of lbac rules (#98678)
* update docs to direct to our terraform provider for provisioning

* run prettier

* Update _index.md

---------

Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2025-01-09 15:12:32 +01:00
Ryan McKinley
a84ab52cc7
Provisioning: Add resource types (#98727)
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2025-01-09 17:12:01 +03:00
Oscar Kilhed
56be39ed4f
Dashboards: Fix issue where filtered panels would not react to variable changes (#98718)
* Make sure we activate the parent and tree even if current panel is active

* force activate full scene object tree

---------

Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2025-01-09 14:51:00 +01:00
Esteban Beltran
9e8c1acd00
Docs: Add documentation for auto-triage github action (#97672)
* Add documentation about auto-triager bot

* Add diagram

* Update links to prompts and labels files
2025-01-09 14:58:26 +02:00
Ivan Ortega Alba
9aacc1a04b
Scenes: Upgrade to 5.36.3 (#98661) 2025-01-09 14:56:16 +02:00
renovate[bot]
03ea0e3b3b
Update dependency @rsdoctor/webpack-plugin to v0.4.13 (#98688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-09 11:35:04 +00:00
Andreas Christou
2860eb52d0
Azure: Improve Azure Prometheus exemplars UI/UX (#97198)
* Add better error messaging

- Ensure it's clear to users what action needs to be taken if an operation ID cannot be found
- Add test

* Display resource picker for trace exemplar queries

* Remove unneeded test

* Update tests
2025-01-09 13:33:47 +02:00
Ashley Harrison
42f6f917c9
MonacoEditor: set font to Roboto mono (#98672)
set default code editor font to roboto mono
2025-01-09 10:44:07 +00:00
Tom Ratcliffe
f75bbe9f43
Alerting: Add self closing comp rule to alerting eslint config (#98603) 2025-01-09 10:02:52 +00:00
Tom Ratcliffe
42894ba840
Alerting: Use common i18n phrases for cancel and save (#98600) 2025-01-09 10:02:15 +00:00
Alexa V
f04d72a49c
Dashboards: SchemaV2 - Fix default datasource logic (#98573)
Get defaultDatasource config option from config.bootData.settings.defaultDatasource
2025-01-09 11:51:53 +02:00
Karl Persson
fb5783691d
Zanzana: Fix reconciliation of fixed roles (#98696)
Remove "globalReconciler" and reuse the same one but only run them for cluster namespace
2025-01-09 10:40:18 +01:00
Agnès Toulet
4ae627e420
Render Service: Add trace ID to logs (#98006)
* Rendering: add logs

* fix tests and lint issues

* add context to logs

* update timed out logs to error logs
2025-01-09 10:19:11 +01:00
Leonor Oliveira
4f2d8a1a3b
Remove access to folders directly from library elements service (#98665)
* Remove access to folders directly from library elements service

* Lint

* Remove unwanted comment
2025-01-09 11:03:04 +02:00
zenador
22282334c7
Prometheus datasource: Update info annotations without missing severity level (#98485)
Update how info severity level is handled along with changes in plugin-sdk-go
2025-01-09 08:24:56 +01:00
Matheus Macabu
3958fb9e0a
CloudMigrations: Introduce RBAC role for migration assistant (#98588)
* CloudMigrations: delete unused code

* CloudMigrations: add access control and protect API + navtree with action

* CloudMigrations: register access control roles

* CloudMigrations: gate frontend based with access control

* CloudMigrations: fix api tests

* CloudMigrations: add docs on new actions and roles

* CloudMigrations: dont interpolate vars to make it more greppable

* CloudMigrations: run prettier
2025-01-09 06:03:42 +02:00
Dominik Prokop
79d8201b49
Dashboards API: v0 k8s dashboards saving (#98695)
* Dashboards API: v0 k8s dashboards saving

* Build dashboard url with a slug

* fix test

* fix test

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-01-08 23:58:54 +01:00
Stephanie Hingtgen
2992fbf6ef
K8s: Stats: Update requester (#98706) 2025-01-08 22:09:39 +02:00
Ryan McKinley
429da7fd68
SQL/Blob: Add support for blob storage to SQL backend (#98192) 2025-01-08 22:08:10 +02:00
Yuri Tseretyan
3e68731600
Alerting: Enable flag alertingApiServer by default (#98282)
* enable flag alertingApiServer by default
* remove feature flag toggle in integration tests
* disable flag for old API tests
2025-01-08 14:31:35 -05:00
Matias Chomicki
34c597b3b3
Logs Panel: fix preview and scroll position interaction (#98687) 2025-01-08 17:40:41 +00:00
jackyin
121a9162ff
Library Panel: Fix issue where library panels did not display panel links. (#98655)
* add library panel link

* opimize

* format

* add test

* fix import orders

---------

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-01-08 18:14:19 +01:00
Will Browne
5a2315dabf
Plugins: Capture error source from grpc status errors (#97471)
* capture errorsource from grpc error

* apply PR feedback

* update comment

* update comment

* use SDK logic

* update SDK commit

* update sdk

* update golden files
2025-01-08 17:05:28 +00:00
Eve Meelan
8cb7159872
Add the correct pattern for Cloud linking (#98692)
update pattern for cloud
2025-01-08 11:15:23 -05:00
Andreas Christou
a064f659b2
Azure: Correct version statement for Managed Identity (#98627)
Correct version statement
2025-01-08 16:03:10 +00:00
grafana-pr-automation[bot]
cf75566b3f
I18n: Download translations from Crowdin (#98620)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-08 15:55:03 +00:00
renovate[bot]
0ff033c422
Update dependency @leeoniya/ufuzzy to v1.0.18 (#98667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 15:52:47 +00:00
Yulia Shanyrova
e318af54a8
Plugins: Fix Managed By Grafana version display for grafana cloud (#98577)
* Change usePluginInfo to keep installed and latest version

* fix tests, delete console.log

* fix isManaged plugin which s not installed

* refactor add versions into info
2025-01-08 16:08:01 +01:00
Sonia Aguilar
9c7a355afd
Alerting: Add tests for combination of switch modes in the alert rule form (#98052)
* Add tests for combination of switch

* refactor test

* use alerting option for default datasource in RuleEditor Grafana rules test

* add test for grafana recording rules

* use enum for grafana steps in tests

* dont make each test dependent on previous localstorage

* add test for local storage
2025-01-08 14:48:08 +01:00
Marcus Andersson
299e16b61a
E2E: Adding selectors to improve interactions with panel edit options (#97802)
* added selector for older versions of selector menu.

* added test-id to the portal container.

* fixed import order.
2025-01-08 14:40:49 +01:00
Stephanie Hingtgen
5ed2a4c624
K8s: Dashboards: Add deletion validation for provisioned dashboards (#98504) 2025-01-08 06:58:21 -06:00
Stephanie Hingtgen
ce512862f7
Stats: remove dependency on dashboards and folders (#98653) 2025-01-08 06:57:52 -06:00
Ieva
338a41f178
AuthZ service: Add single flight groups for permission fetching (#98607)
add single flight groups for user and anonymous permission checking
2025-01-08 14:53:32 +02:00
Ezequiel Victorero
79cd8ac894
Share: Add analytics to invite user flow (#98617) 2025-01-08 08:24:22 -03:00
renovate[bot]
e19058c2c4
Update dependency @floating-ui/react to v0.27.3 (#98664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 11:16:58 +00:00
renovate[bot]
78826a7e2f
Update dependency diff to v7 (#98176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 10:07:51 +00:00
Ashley Harrison
a8319df145
Icon: Expose wrench icon properly (#98625)
expose wrench icon properly
2025-01-08 09:52:11 +00:00
Kristina
0b89b54085
Dashboard Changed Modal: Fix spelling (#97135)
Fix spelling
2025-01-08 10:34:17 +01:00
Esteban Beltran
4589fabbc8
Chore: Fix auto-triager label files path in github action (#98658) 2025-01-08 10:42:52 +02:00
Sergej-Vlasov
8f6220707b
Dashboards: Panels react to timeFrom and timeShift changes using variables (#98510) 2025-01-08 09:35:08 +01:00
Arati R.
e786292673
Folders: Include folder UID when loading dashboards for search v2 (#98592)
* Include folder UID when loading dashboards
* Remove folder UID lookup
2025-01-08 09:32:36 +01:00
antonio
2fd355ebca
update for get-started-part-3 (#98601)
* update for get-started-part-3

* update

* pretty

* typo

* clarification

* clarification2

* pretty2
2025-01-08 09:21:18 +01:00
Stephanie Hingtgen
69adb3d25b
Tests: Fix dashboard mock (#98647) 2025-01-08 00:20:35 +02:00
Moustafa Baiou
25538bcfdf
Alerting: Fix label escaping in rule export (#97985) 2025-01-07 17:09:27 -05:00
Scott Lepper
f20602ed42
k8s dashboard - fix user parsing/fetching (#98635)
k8s dashboard - fix user parsing/fetching
2025-01-07 16:39:36 -05:00
Stephanie Hingtgen
58ed8a9ec2
Cloud migration: Refactor get by org ID to dashboard svc (#98646) 2025-01-07 23:33:45 +02:00
Ryan McKinley
9b1ecaedda
Stars: fix stars api so it returns uids (#98637) 2025-01-07 22:39:25 +02:00
Jev Forsberg
d436723745
Chore: Update dependabot path for docker ecosystem (#98632)
update depbot path
2025-01-07 15:23:25 -05:00