Commit Graph

45840 Commits

Author SHA1 Message Date
Leanna Shippy
7562607319 [Docs] Annotate visualizations update (#76395)
There is a sentence in the [Built-in query](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/#built-in-query) section of the page that could use a "the" (emphasis added by me 😄) :
> When you copy a dashboard using the Save As feature it will get a new dashboard id, **so annotations created on source dashboard** will no longer be visible on the copy. You can still show them if you add a new Annotation Query and filter by tags. However, this only works if the annotations on the source dashboard had tags to filter by.

This PR adds "the" so the phrase reads "so annotations created on the source dashboard"
2023-10-12 14:57:06 +00:00
Gabriel MABILLE
700e6e3287 AuthN: Add service account token generation to ExtSvcAccountsService (#76327)
* Manage service account secrets

* Wip

* WIP

* WIP

* Revert to keep a light interface

* Implement SaveExternalService

* Remove unecessary functions from the interface

* Remove unused field

* Better log

* Leave ext svc credentials out of the extsvcauth package for now

* Remove todo

* Add tests to SaveExternalService

* Test that secret has been removed from store

* Lint

* Nit.

* Rename commands and structs

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* Account for PR feedback

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>

* Linting

* Add nosec comment G101 - this is not a hardcoded secret

* Lowercase kvStoreType

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2023-10-12 16:15:16 +02:00
grafana-delivery-bot[bot]
cfc33c12d1 Changelog: Updated changelog for 9.4.17 (#76453)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 15:19:05 +02:00
grafana-delivery-bot[bot]
f7ede48d63 Changelog: Updated changelog for 9.5.13 (#76450)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 13:07:40 +00:00
grafana-delivery-bot[bot]
2f6e0c6c19 Changelog: Updated changelog for 10.0.9 (#76444)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 13:00:14 +00:00
Matthew Jacobson
82f3127e23 Alerting: Move legacy alert migration from sqlstore migration to service (#72702) 2023-10-12 13:43:10 +01:00
Jack Baldry
f6d2c11be9 Fix typo in link label (#76443) 2023-10-12 13:37:26 +01:00
Virginia Cepeda
afa64fc218 Alerting: Enable Insights landing page (#76381)
* Enable alerting insights

* Change alertingInsights feature toggle stage

* Commit autogenerated files after enabling feature flag
2023-10-12 13:31:18 +01:00
grafana-delivery-bot[bot]
7d9617e07c Changelog: Updated changelog for 10.1.5 (#76441)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 12:27:27 +00:00
Virginia Cepeda
358b395c2b Alerting: text updates / replace panel (#76407)
* Change text to remove "week" reference

* Add alertsByState for grafana alertmanager
2023-10-12 13:26:05 +01:00
grafana-delivery-bot[bot]
97d54814a3 Changelog: Updated changelog for 10.1.5 (#76436)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 12:18:16 +00:00
Eric Leijonmarck
f10b4bc1da Auth: None basic role update docs (#75955)
* docs: update basic role

* update docs

* Update docs/sources/administration/user-management/manage-org-users/index.md

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Update docs/sources/administration/roles-and-permissions/access-control/plan-rbac-rollout-strategy/index.md

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-10-12 14:52:07 +03:00
Horst Gutmann
625b400faf CI: github-release workflow should forward "latest" input (#75139) 2023-10-12 14:22:43 +03:00
grafana-delivery-bot[bot]
99e2f40438 Changelog: Updated changelog for 10.0.9 (#76425)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 14:18:00 +03:00
Eric Leijonmarck
38cdce526a Auth: Enable None role for 10.2 (#76343)
* remove the feature toggle for noBasicRole

* linting

* remove unused
2023-10-12 13:00:26 +02:00
Domas
87ff5b66ea TraceView/TracesPanel: Allow providing custom span link creator function (#76332)
allow overriding span link creator for TraceView and TracesPanel
2023-10-12 13:48:22 +03:00
Mattia Buccarella
43928d38af RBAC: Allow the basic role None as option of the org role selector (#76335) 2023-10-12 12:46:57 +02:00
grafana-delivery-bot[bot]
790f878eca Changelog: Updated changelog for 9.5.13 (#76418)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 10:21:27 +00:00
grafana-delivery-bot[bot]
a9f7cb00e6 Changelog: Updated changelog for 9.4.17 (#76409)
Co-authored-by: grafanabot <bot@grafana.com>
2023-10-12 09:39:15 +00:00
Krishna Dhakal
334fc6a68a i18n: Markup Explorer Graph for translation (#76099) 2023-10-12 10:25:48 +01:00
ismail simsek
5e918f031c Chore: Update @testing-library/dom to v9.3.3 (#76364)
* Update @testing-library/dom to v9.3.3

* Update @testing-library/dom to v9.3.3 in packages

* Update yarn.lock

* Revert "Update yarn.lock"

This reverts commit 0cc2084273.

* point all @testing-library/dom packages to v9.3.3
2023-10-12 11:14:30 +02:00
Josh Hunt
46b0066644 Chore: Improve EchoSrv logging (#76385)
* Chore: Allow frontend logging to be logged via localStorage

* improve echo srv logging
2023-10-12 09:00:32 +00:00
Ida Štambuk
2771fb9403 FeatureToggle: Add awsDatasourcesNewFormStyling feature toggle (#76110) 2023-10-12 10:59:10 +02:00
Marcus Andersson
f012b75a3a PluginExtensions: Made it possible to control modal size from extension (#76232)
* Added possibility to change modal size from UI extension.

* added tests for openModal.

* fixed typings.

* added test to verify default modal size.
2023-10-12 10:56:08 +02:00
Gabriel MABILLE
420fb56fda RBAC: Fix plugins pages access-control (#76321)
* RBAC: Fix plugins pages access-control

* Better comment

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Add a small comment on connections/datasources routes

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-10-12 10:46:43 +02:00
Fabrizio
6e0825d6e2 Plugins: Fix sorting issue with expandable rows (#75553) 2023-10-12 10:39:23 +02:00
renovate[bot]
df6cc96cdb Update dependency @grafana/scenes to v1.17.0 (#75862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 09:35:59 +01:00
Dominik Prokop
d00410560a Custom variable: Initialize options from query if not present in persisted model (#76403)
* Custom variable: Initialize options from query if not oresent in persisted model

* Test update
2023-10-12 01:30:29 -07:00
Misi
b6dff85127 Chore: Update grafana/saml to the latest (#76363)
* Update go.mod

* add missing squad to dependency
2023-10-12 10:20:00 +02:00
Fabrizio
9bb3d64b1e Minor fixes for TraceQL query editor (#76344) 2023-10-12 10:19:01 +02:00
Jo
466f8a1f5a Teams: Move team API to own service (#76347)
* move team API to its own service

* remove uneeded import

* reshare pref api logic
2023-10-12 10:10:54 +02:00
Esteban Beltran
665dc1fa44 Sandbox: e2e tests for apps running inside the frontend sandbox (#76357)
* Sandbox: Add tests for apps inside the sandbox

* Force type to prevent flawky test
2023-10-12 09:43:59 +02:00
Sonia Aguilar
fbbf9b1a8f Alerting: Use new endpoints in the Modify Export (#75796)
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-10-12 09:04:59 +02:00
Leon Sorokin
94c15e4926 TooltipPlugin2: Raise parent grid item z-index when pinned (#76379) 2023-10-12 01:19:22 -05:00
Victor Marin
4dfffa3c32 Add context to transformation editor (#76317)
* Add context to editor so field calculation does not return undefined variable and shows on next transform

* fix bug where default alias would get interpolated
2023-10-12 08:43:32 +03:00
Leon Sorokin
65a94d9e75 ZoomPlugin: No-op on modifier keys (#76398) 2023-10-12 00:05:21 -05:00
kay delaney
a12cb8cbf3 LibraryPanels: Add RBAC support (#73475) 2023-10-12 00:30:50 +01:00
Dan Cech
d003ffe439 Update origin annotation names (#76301)
* Update origin annotation names

k8s does not support annotation names with multiple slashes in them, so this PR updates the origin annotations to match the format for updated and created annotations.

* fix tests
2023-10-11 18:28:26 -04:00
Virginia Cepeda
ea50695cfe Alerting: add help texts to insights (#76366)
* Change texts and add spacing between sections

* Minor text changes

* Display timeseries with 0 values if result is empty
2023-10-11 23:10:23 +01:00
Alexander Weaver
f6649d7a97 Revert "Alerting: Remove vendored models in migration service" (#76387)
Revert "Alerting: Remove vendored models in migration service (#74503)"

This reverts commit 6a8649d544.
2023-10-11 14:21:21 -05:00
Giordano Ricci
54050be9f6 Explore: Use short units in graphs (#76358) 2023-10-11 19:52:19 +01:00
Matthew Jacobson
6a8649d544 Alerting: Remove vendored models in migration service (#74503)
This PR replaces the vendored models in the migration with their equivalent ngalert models. It also replaces the raw SQL selects and inserts with service calls.

It also fills in some gaps in the testing suite around:

    - Migration of alert rules: verifying that the actual data model (queries, conditions) are correct 9a7cfa9
    - Secure settings migration: verifying that secure fields remain encrypted for all available notifiers and certain fields migrate from plain text to encrypted secure settings correctly e7d3993

Replacing the checks for custom dashboard ACLs will be replaced in a separate targeted PR as it will be complex enough alone.
2023-10-11 17:22:09 +01:00
Drew Slobodnjak
046e9b7672 Canvas: Button API - Block Calls to Grafana (#76309)
* Canvas: Button API - Block Calls to Grafana

* Move origin check inside of api logic

* Change grafana url source from href to origin

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-11 09:21:02 -07:00
Ryan McKinley
6983af3a70 Playlist: Add an api wrapper for playlist requests (#76308) 2023-10-11 19:19:13 +03:00
Torkel Ödegaard
bf7fae4bd3 Tempo: Fix type errors that appeared when removing the "any" type from DataQueryResponseData (#75600)
* Tempo: Improving typing of data types

* last fix

* Fix
2023-10-11 18:04:54 +02:00
Andrej Ocenas
7329e2dc62 Flamegraph: Fix inefficient regex generating error on some function names (#76377) 2023-10-11 17:57:01 +02:00
Dominik Prokop
46dc898a87 Fix container width not being set after latest scenes update (#76372)
* Fix container width after latest scenes update

* typecheck
2023-10-11 17:56:50 +03:00
Aaron Godin
c2cbb0a924 noBasicRole feature: Change RolePickerInput to not show the "None" role (#76300)
Change RolePickerInput to only show the basic role when it's not the None role (no basic role feature)
2023-10-11 09:42:09 -05:00
Kyle Cunningham
2049ffc718 Chore: Add grafana-data transformations to BI squad in CODEOWNERS (#76314)
Add transformations directory to bi-squad
2023-10-11 09:34:19 -05:00
Jo
79b2974215 Teams: Allow Services to register deletes (#76325)
* add team RegisterDelete

* fix-docs
2023-10-11 15:57:03 +02:00