Commit Graph

46205 Commits

Author SHA1 Message Date
Isabel
ff67b03dc8 Added panel actions menu content (#77162)
* Added panel actions menu content

* Formatted text as heading

* Added links, formatted bullet list items, and general copy edits

* Fixed Vale and Prettier warnings

* Remove the word "actions"

* Fixed explanation

* Updated description of Extensions

* Apply suggestion from review

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

* Updated intro text for panel menu

* Apply suggestions from code review

* Fixed linting issues

---------

Co-authored-by: David Harris <david.harris@grafana.com>
2023-10-27 10:28:47 -04:00
Ihor Yeromin
8effa165dd Tooltip: New styles (#76964) 2023-10-27 09:22:48 -05:00
Ashley Harrison
dba846fe54 Chore: Some renovate config tidy up (#77275)
* update some comments, remove some things from the ignore list

* remove @mdx-js/react since storybook now directly depends on it

* add issue link to comment

* exclude @locker from grouped patch updates

* ignore grafana-e2e from renovate
2023-10-27 15:09:23 +01:00
Ryan McKinley
9b472b3726 K8s: Use client-go to test legacy playlist changes (#77245) 2023-10-27 06:59:49 -07:00
Giordano Ricci
bf554d121c Explore: Avoid reinitializing graph on every query run (#77281) 2023-10-27 14:37:23 +01:00
Agnès Toulet
f750c3194e Chore: Fix bingo variables for Windows (#73830)
* Chore: Fix bingo variables for Windows

* make the change for Windows-only
2023-10-27 15:28:41 +02:00
Haris Rozajac
09e496acfd Explore TraceView: Remove 'Scroll to top' button (#77158)
* Remove button from Explore but keep in plugins

* Remove topOfViewRef from trace view container
2023-10-27 07:19:43 -06:00
Gabriel MABILLE
83e9088314 AuthN: Set oauth client grant_types based on plugin state (#77248)
* Disable plugin service account

* Fix bug seen by linoman 💯

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>

* Account for PR feedback

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>

* Fix test data

* Enable datasource plugins by default

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

* Update pkg/services/extsvcauth/oauthserver/oasimpl/service.go

* Handle error differently

* Fix service reg

---------

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2023-10-27 14:45:04 +02:00
Konrad Lalik
214535c1a9 Alerting: Memoize labels suggestions calculation (#76972) 2023-10-27 14:38:52 +02:00
Gabriel MABILLE
25b30aeb6d Plugin: Enable service account based on plugin settings on init (#77193)
* Disable plugin service account

* Revert extsvc injection

* handle plugin state changes

* Use isProxyEnabled

* Remove plugininteg changes

* Change update function to also work for mysql 😩

* Plugin: enable service account based on plugin settings on
initialization

* Remove misleading comment

* Fix tests

* test message

* Clean up tests

* Simplify tests

* Re-order imports

* Remove unecessary comment

* Enable datasource plugins by default

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

---------

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
2023-10-27 14:27:06 +02:00
Gabriel MABILLE
2727f41474 AuthN: Change the external service account state on plugin state change (#77157)
* Disable plugin service account

* Revert extsvc injection

* handle plugin state changes

* Use isProxyEnabled

* Remove plugininteg changes

* Change update function to also work for mysql 😩

* Change test to also check no collateral update

* Update pkg/services/serviceaccounts/database/store_test.go

* Update pkg/services/serviceaccounts/database/store_test.go
2023-10-27 13:46:25 +02:00
Eric Leijonmarck
57335cb173 Team LBAC: Add validation/regex of teamheaders (#76905)
* add validation of team header values w. regex

* apply valid headers

* refactor testcases to account for badly formatted json

* refactoring to move validation code close to the validation itself

* removed tes

* Update pkg/api/datasources_test.go

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Update pkg/api/datasources.go

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* review comments

* review during pairing

---------

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2023-10-27 12:37:37 +01:00
Andres Martinez Gotor
b537bb12f1 Chore: Add GH workflow to release core plugins (#77204) 2023-10-27 13:07:32 +02:00
Matias Chomicki
46f331e284 Logs: remove toggleLabelsInLogsUI (#77264)
* toggleLabelsInLogsUI: remove flag

* Remove unused imports

* isFilterLabelActive: refId is not optional

* Revert "isFilterLabelActive: refId is not optional"

This reverts commit 008931b7e9.

* Revert method signature change

* Update tests

* Update tests
2023-10-27 13:00:49 +02:00
Jack Westbrook
8e8731edc5 Chore: Bump Lerna to v7 (again) (#77190)
* chore(lerna): update to latest version 7.4.1 and run lerna repair to update configs

* Wip

* chore(lerna): remove lerna specific packages field which prevents versioning packages

* chore: remove nx from dependencies

* chore(yarn): refresh lock file
2023-10-27 12:57:09 +02:00
renovate[bot]
bd6dae63be Update dependency eslint-plugin-jest to v27.6.0 (#77267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 11:56:51 +01:00
Daniel Benjamin
8ba6dc866d chore: remove LegacyForms from MetricSelect component (#76490) 2023-10-27 12:41:04 +02:00
renovate[bot]
9ad26e4f39 Update dependency @grafana/scenes to v1.20.0 (#77261)
* Update dependency @grafana/scenes to v1.20.0

* update e2e test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-27 11:33:13 +01:00
Torkel Ödegaard
5d706705ea RadioButtonGroup: Fixes icon alignment (#77196) 2023-10-27 11:35:06 +02:00
Shabeeb Khalid
df41378472 CloudWatch: Use context in aws ListSinks and ListAttachedLinks (#77083)
* Use context in aws ListSinks and ListAttachedLinks

In the current way, ListSinks and ListAttachedLinks is used which doesn't
allow cancelling the request if the context changes.
Using ListSinksWithContext and ListAttachedLinksWithContext is the
preferred way. Adding context for GetAccountsForCurrentUserOrRole
is required to pass it to ListSinks method.
2023-10-27 11:49:37 +03:00
renovate[bot]
edd0e80ba0 Update dependency rc-cascader to v3.20.0 (#77210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 09:42:23 +01:00
Ashley Harrison
49f8838b62 Navigation: Improve docked auto scroll behaviour (#77117)
ensure expand works on any location change, only scroll when docked
2023-10-27 09:26:38 +01:00
Karl Persson
bc9fab6f30 IDForwarding: Update settings name (#77257)
Update settings name
2023-10-27 10:20:49 +02:00
Giuseppe Guerra
45bcbff115 Plugins: Fix plugin alias ID being used in PluginContext.ID (#77206)
* Fix PluginID being populated with alias in plugincontext Get and GetWithDataSource

* Add tests

* pr review suggestion

* pr review suggestion
2023-10-27 11:14:07 +03:00
Horst Gutmann
aa9fc3be72 CI: Fix release-npm-packages action (#77127)
* Remove dependency of NpmReleaseAction to the git binary

* Switch to using the node image for the release-npm-packages step
2023-10-27 10:20:20 +03:00
Karl Persson
1b6d39f823 IDForwarding: Require that id forwarding is enabled for data source (#77131)
* Require that id forwarding is enabled for data source

* Address feedback
2023-10-27 08:30:33 +02:00
Darren Janeczek
7d2bfea777 Pyroscope: Added app integration for datasource (#75789)
* feat: integrate pyroscope query editor with link extensions

- allows plugin app extensions to register links based on
  the query and selected datasource

* fix: remove not-as-designed busy wait mechanism

* Apply suggestions from code review

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* fix: implement feedback

* fix: lint

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-27 08:09:05 +02:00
Leon Sorokin
45aa58c4a8 Histogram: Render heatmap-cells and heatmap-rows frames (#77111) 2023-10-26 23:23:01 -05:00
Isabella Siu
72a085ea20 Cloudwatch: Add DB_PERF_INSIGHTS to Metric Math (#77241) 2023-10-26 16:08:52 -04:00
Jev Forsberg
d3fce96571 docs: What’s new addition (#77233)
* baldm0mma/whats_new_msi/ add content and screenshot

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* baldm0mma/whats_new_msi/ update directions

* baldm0mma/whats_new_msi

* baldm0mma/whats_new_msi/ update image and max-width

* Small wording fix to put things in present tense

* baldm0mma/whats_new_msi/ update with suggestions

* baldm0mma/whats_new_msi/ update figure

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* baldm0mma/whats_new_msi/ update image

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

* Update docs/sources/whatsnew/whats-new-in-v10-2.md

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

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-26 15:31:09 -04:00
Ezequiel Victorero
b2ef9a81f2 PublicDashboards: Chore refactor api test (#77091) 2023-10-26 14:52:27 -03:00
Ryan McKinley
7d619199d0 K8s/Authorizer: Move allow from fallback to org_role (#77235) 2023-10-26 20:46:45 +03:00
Galen Kistler
05376a950c Logs Panel: Column selection for experimental table visualization in explore (#76983)
* New experimental table customization for logs in explore
* Logs Panel: Explore url sync for table visualization (#76980)
* Sync explore URL state with logs panel state in explore
2023-10-26 12:06:41 -05:00
Ryan McKinley
c122ffc72b K8s: Add integration test infra, and fix authz patterns (#77218) 2023-10-26 20:02:33 +03:00
Niki Manoledaki
9a0af13dbc Remove pr-swagger-gen dependency on clone-enterprise (#77217)
clone-enterprise step can fail in swagger-gen pipeline
2023-10-26 12:55:56 -04:00
Ieva
744f4defcf Bug: fix a typo in dashboard permission logic (#77231)
fix an error handling typo
2023-10-26 19:39:27 +03:00
Ieva
f6e2a775d3 Bug fix: Correctly set permissions on provisioned dashboards (#77155)
* set default basic role permissions for dashboards even if dash creator permissions can't be set

* temporarily increase the test threshold until we can tweak the page
2023-10-26 17:21:50 +01:00
Ryan Crutchfield
a652eed287 Update configure-team-sync.md (#76721)
Team Sync is a feature not available to Grafana Cloud Pro customers.
2023-10-26 11:10:21 -05:00
Ryan McKinley
ba1575322b K8s: Share legacy storage configs with etcd based configs (#77181) 2023-10-26 09:05:51 -07:00
Christopher Moyer
4e782e04cf Docs: copy edit (#76652)
* copy edit

* Update docs/sources/setup-grafana/configure-grafana/configure-custom-branding/index.md

* Update docs/sources/setup-grafana/configure-grafana/configure-custom-branding/index.md

* Apply suggestions from code review
2023-10-26 10:50:31 -05:00
Isabel
8d17e60a6b Docs: remove enablement section (#77214)
Removed enablement section
2023-10-26 11:34:54 -04:00
Isabel
dc0ff5a0aa Docs: remove contact support note (#77212)
Removed contact support note
2023-10-26 14:47:51 +01:00
Kristin Laemmert
15c1d5f636 chore: add basic tracing to playlist service (#77165) 2023-10-26 09:25:31 -04:00
Kristina
2c92e370dd Explore: Fix broken interpolation for mixed datasources coming from dashboards (#76904)
* Fix broken interpolation for mixed datasources in explore

* Add interpolation tests

* Use Promise.all and be better about dealing with invalid empty ds in query scenario

* condense logic

* Remove type declarations

* Fix tests
2023-10-26 08:16:22 -05:00
dependabot[bot]
5ff550ae19 Bump google.golang.org/api from 0.126.0 to 0.148.0 (#77188)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.126.0 to 0.148.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.126.0...v0.148.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 08:53:57 -04:00
Joao Silva
f183e68b1c GrafanaUI: Move Box out of unstable and into GrafanaUI (#77080) 2023-10-26 13:46:11 +01:00
Josh Hunt
db40c90eed Icon: Restore default fa-spin to spinner in icon (#77205)
Restore default fa-spin to spinner in icon
2023-10-26 12:17:39 +00:00
Sonia Aguilar
61f056fe15 Alerting: Show receiver in groups view to avoid duplication in the list (#77109) 2023-10-26 13:04:26 +02:00
João Calisto
7869ca1932 Feature Management: UI improvements (#76866)
* Feature Management: UI improvements

* update UI logic

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-10-26 10:42:00 +01:00
Torkel Ödegaard
c4bf32fa2d EmbeddedDashboard: Removes no longer used components (#77195) 2023-10-26 11:40:15 +02:00