Commit Graph

58935 Commits

Author SHA1 Message Date
Irene Rodríguez b145deb5a0 Add new grafanactl content (#104448) 2025-04-25 11:58:07 +00:00
Stephanie Hingtgen b5281c923f K8s: Dashboards: Fix provisioned dashboard cleanup (#104504) 2025-04-25 05:55:50 -06:00
Mustafa Sencer Özcan ebf3a8d205 fix: make data syncer run configurable on mode (2->3) change (#104401) 2025-04-25 13:43:35 +02:00
Stephanie Hingtgen 43d0053c80 K8s: Dashboards: Fix transformation between v1 and v2 (#104502) 2025-04-25 05:06:49 -06:00
Stephanie Hingtgen 40799d1f57 Docs: Add dashboard and folder apis docs (#101754) 2025-04-25 05:06:12 -06:00
Andreas Christou 3b036f0e78 Graphite: Fix Graphite series interpolation (#104471)
* Fix graphite series interpolation

* Trigger build
2025-04-25 10:51:18 +01:00
Ryan McKinley 73c018b298 Bootdata: Expose grafanaBootData under /bootdata URL (#104258) 2025-04-25 10:50:03 +01:00
Michael Anderson eed048fc09 Navigation: Moving Machine-Learning out of IRM and into the top-level of the Navigation (#103822)
* adding ml items to main navigation if plugin is installed

* undoing testing change

* updating based on feedback and fixing role to be specific to access to ml plugin

* cleanup unneeded constants

* cleanup diff

* updateing GetOrgID call

* adding greyscale ml logo and using that for consistency

* use currentColor

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-04-25 10:33:03 +01:00
Ryan McKinley 7b492d7e16 FEMT: Add feature toggle and expose the service in regular grafana (#104428) 2025-04-25 12:24:25 +03:00
Matthew Thorning 29b3738bc8 Navigation: Remove the "New" badge from the IRM menu item (#104512)
remove the "New" badge from the IRM menu item
2025-04-25 09:49:32 +01:00
grafana-pr-automation[bot] 72ebf1789e I18n: Download translations from Crowdin (#104506)
* New Crowdin translations by GitHub Action

* kick CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-04-25 09:45:47 +01:00
Ashley Harrison ee93dbd2bd Chore: Run fronted unit tests + linting/typecheck against enterprise (#104479)
* run unit tests + linting/typecheck against enterprise

* update permissions

* kick CI

* keep job names the same
2025-04-25 09:22:02 +01:00
Alex Khomenko 618ffd0275 API clients: Add generator (#104093)
* Add API client generator

* Extract config entry template

* Fix index file

* Fix message and file pattern

* Fix generate-rtk template

* Match generated-api

* Format

* Split helpers

* Cleanup

* Remove unused helpers

* Simplify group name handling

* Run generate-apis

* Prettier

* Format + lint

* improve lint/format

* Optional filterEndpoints

* Format

* Update readme

* More updates

* Move the helpers out

* Switch to TS

* Cleanup types

* Add support for Enterprise

* Add comments

* Refactor endpoint handling and update README

* Simplify checks

* Do not register reducers and middleware for enterprise

* More docs updates

* Remove redundant sections

* Format gitignored files

* Add limitations

* Simplify types

* Simplify path logic

* Do not format OSS paths for enterprise

* dedupe

* format

* Simplify instructions

* Update lockfile

* Add comments

* Remove custom types
2025-04-25 09:42:37 +03:00
Scott Lepper 7ed17cacbf Scenes: validate time zone (#104481)
* Scenes: validate time zone
2025-04-24 17:35:35 -04:00
Yuri Tseretyan 14f4620835 Alerting: Optimize clean up rule versions (#102561)
* improve removal of old versions

Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>

* Apply suggestions from code review

Co-authored-by: Alexander Akhmetov <me@alx.cx>

---------

Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Alexander Akhmetov <me@alx.cx>
2025-04-24 15:59:50 -04:00
Yuri Tseretyan 1f707d16ed Apply security patch 357-202503311017.patch (#104490)
* Sanitize paths before evaluating access to route

* use util.CleanRelativePath

---------

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2025-04-24 20:15:17 +01:00
Leon Sorokin a6735721bf XYChart: Coerce threshold steps to numbers (#104485) 2025-04-24 20:01:00 +01:00
Ashley Harrison 5a10e3b43e Select: Fix minor layout shift when opening/closing the menu (#104476)
fix width of magnifying glass causing layout shift
2025-04-24 17:36:12 +01:00
Alexander Akhmetov 040a82c815 Alerting: Add an internal label to rules converted from Prometheus (#104475) 2025-04-24 18:33:09 +02:00
Gilles De Mey 109267ab03 Alerting: Remove feature toggle for custom recovery threshold (#104455) 2025-04-24 11:58:17 -04:00
Sonia Aguilar 674fdd1d32 Alerting: Add alertingBulkActionsInUI feature toggle (#104470)
Add alertingBulkActionsInUI feature toggle
2025-04-24 15:49:59 +01:00
Kevin Minehart f7216db6bc Chore: bump version to 12.1.0-pre (#104468)
bump version to 12.1.0-pre
2025-04-24 15:47:14 +01:00
Juan Cabanas 20b50e5f16 Grafana UI: Make DashboardPicker focusable (#104242) 2025-04-24 11:27:04 -03:00
Peter Štibraný 08205d64d1 libraryelements: Spanner compability (#103881)
* libraryelements: fix compatibility with Spanner

* Log errors leading to status code 500.

* Rename tests to make them integration tests.
2025-04-24 14:10:03 +00:00
Agnès Toulet e7b800f35a Rendering: Add support for rate limiter (#103987)
* Rendering: Add support for rate limiter

* remove unnecessary golint exception

* add lint exception back
2025-04-24 15:31:19 +02:00
Andres Martinez Gotor f0c841b9bc Advisor: Allow to disable backend (#104445) 2025-04-24 15:27:13 +02:00
Ryan McKinley 2e51096eb4 Provisioning: Export dashboards with conversion errors (#104369) 2025-04-24 14:16:25 +01:00
Ieva e385237daf Access control: Make sure that user permission cache is cleared after new dashboard and folder creation (#104193)
* make sure that user permission cache is cleared after new dashboard and folder creation

* more test fixes

* Update pkg/services/dashboards/service/dashboard_service.go

* check identity type in SetDefaultPermissionsAfterCreate, set default permissions for service accounts

* set SA permissions for folders as well

* fix tests
2025-04-24 16:02:39 +03:00
Torkel Ödegaard 4fc112f927 RowsLayout: Fixes min height issue (#104444) 2025-04-24 14:43:44 +02:00
Ryan McKinley 7fd4c1b41d StateTimeline: Auto-migrate from natel-discrete-panel (#104191) 2025-04-24 15:42:32 +03:00
Eric Leijonmarck 15bddb3712 IAM: Add datasources:query support for using the authlib/authzservice (#104107)
* feat(add): datasources:query support for using the authlib/authzservice

* added test for datasources

* refactor to create the translation right away

* Update pkg/services/authz/rbac/mapper.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix tests

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2025-04-24 13:39:31 +01:00
Andreas Christou 35145801a2 Data Sources: Add gauge for response size (#104394) 2025-04-24 13:26:28 +01:00
Josh Hunt a8aa6b74a8 FEMT: Basic frontend-service implementation (#104229)
* create the most basic frontend-server module

* expose prom metrics??

* add todo list

* move frontend-service to its own folder in services

* check error from writer.Write

* reword comment, add launch config
2025-04-24 13:14:21 +01:00
Oscar Kilhed 8e6b8fad01 SchemaV2: Fix saving of transparent setting of vizPanel (#104443)
* save transparent setting

* make sure we test both transparent and non transparent
2025-04-24 14:13:18 +02:00
Gilles De Mey 1ffd64ff79 Alerting: Package 📦 (#102899) 2025-04-24 13:47:24 +02:00
Tom Ratcliffe b487096460 Alerting: Fix empty state for mute timings (#104453) 2025-04-24 13:42:52 +02:00
Fayzal Ghantiwala d94a59cd08 Alerting: Fix flaky test (#104450)
Fix flaky test
2025-04-24 12:28:28 +01:00
Andres Martinez Gotor edeff68645 Advisor: Allow to retry checks for a single element (#104279) 2025-04-24 12:00:32 +02:00
Laura Fernández 10df5d6f23 i18n: unify locale codes to match language structure (#104415) 2025-04-24 11:08:57 +02:00
Alexander Zobnin 1584349b99 Zanzana: Use authz client (#104037)
* Zanzana: use client from authzlib

* update go.sum

* use user UID for debugging

* Remove unused function
2025-04-24 10:57:24 +02:00
Tom Ratcliffe 356c979328 Chore: Enable no-constant-condition eslint rule (#104298) 2025-04-24 09:50:29 +01:00
Gábor Farkas 067d7b4146 feature-toggles: change ownership (#104440) 2025-04-24 09:42:11 +01:00
grafana-pr-automation[bot] 496eafdc6f I18n: Download translations from Crowdin (#104430)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-24 09:26:05 +01:00
Ryan McKinley bfcb0af93a UnifiedStorage: enable unifiedStorageHistoryPruner by default (#104437) 2025-04-24 11:14:57 +03:00
Victor Marin faa33e30a9 Schema: Add origin property to AdHocFilterWithLabels (#104320)
* add origin to AdHocFilterWithLabels

* typo

* fix

* use singular for FilterOrigin

* run ./hack/update-codegen.sh

* add canary scenes to verify typechecks

* update dashboard schema json snapshot

* fix

* fix

* update canaries

* fix

* bump scenes version
2025-04-24 11:13:17 +03:00
Ryan McKinley e6414a6690 Provisioning: Fix the save version in dashboard scenes (#104433)
fix save (correct v1beta1)
2025-04-24 10:29:49 +03:00
Alex Khomenko 82c291675b Provisioning: Fix requires migration condition (#104434)
* Provisioning: Fix requires migration condition

* Better error messaging
2025-04-24 09:29:41 +03:00
Alex Khomenko 8a5b77432c Grafana-icons: Remove package (#104290)
* Remove grafana-icons package

* Cleanup
2025-04-24 09:06:16 +03:00
Moustafa Baiou 9f07e49cdd Alerting: Add extended definition to prometheus alert rules api (#103320)
* Alerting: Add extended definition to prometheus alert rules api

This adds `isPaused` and `notificationSettings` to the paginated rules api to enable the paginated view of GMA rules.

refactor: make alert rule status and state retrieval extensible

This lets us get status from other sources than the local ruler.

* update swagger spec

* add safety checks in test
2025-04-23 21:14:09 +01:00
Ryan McKinley b09d79b21c K8s/Dashboard: Promote from alpha1 to beta1 (#104009) 2025-04-23 20:54:35 +03:00