50319 Commits

Author SHA1 Message Date
63d63ea9fb Update dependency @testing-library/react to v15.0.1 2024-04-12 10:27:38 +00:00
068bcfbdb0 Frontend Testing: Replace deprecated toBeCalledWith Jest matcher. (#85929) 2024-04-12 11:26:01 +01:00
73fecc8d80 Authn: Identity resolvers (#85930)
* AuthN: Add NamespaceID struct. We should replace the usage of encoded namespaceID with this one

* AuthN: Add optional interface that clients can implement to be able to resolve identity for a namespace

* Authn: Implement IdentityResolverClient for api keys

* AuthN: use idenity resolvers

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2024-04-12 11:38:20 +02:00
c837d95677 Update dependency @swc/helpers to v0.5.9 (#86024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 10:34:53 +01:00
40c148ba48 EmptyState: Provide custom messages for existing empty states (#86021)
provide custom messages for existing empty states
2024-04-12 11:08:14 +02:00
505bdf5a8d Chore: add @types/history to renovate ignore list (#86011)
add @types/history to renovate ignore list
2024-04-12 10:00:27 +01:00
a1086836f3 Docs: add mysql data source Play link (#85982) 2024-04-12 09:47:59 +01:00
bf9df1a8d6 Docs: add graphite data source Play link (#85981) 2024-04-12 09:47:51 +01:00
ce5fc59d54 Use ActiveTab type for custom hook 2024-04-12 09:13:29 +01:00
ccaf850c09 Refactor to useTabQueryParam 2024-04-12 09:13:29 +01:00
d91e1a4e3a Refactor tab query param logic and add tests 2024-04-12 09:13:29 +01:00
800a2e0228 Fix tests being stateful due to locationService 2024-04-12 09:13:29 +01:00
94ad66998f Send tab query param through when returning from template save 2024-04-12 09:13:29 +01:00
933cc3f075 Tweak ContactPoints to use query param for tab selection 2024-04-12 09:13:29 +01:00
e6ead667b3 Unified Storage: added pkg/util/ring package to handle queueing of notifications (#84657)
* added pkg/util/rinq package to handle queueing of notifications

* fix linters

* Fix typo in comment

Co-authored-by: Dan Cech <dcech@grafana.com>

* improve allocation strategy for Enqueue; remove unnecessary clearing of slice

* Update pkg/util/ringq/dyn_chan_bench_test.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/util/ringq/ringq.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* refactor to move stats and shrinking into Ring

* add missing error assertions in tests

* add missing error assertions in tests and linting issues

* simplify controller closed check

* improve encapsulation of internal state in Ring

* use (*Ring).Len for clarity instead of stats

---------

Co-authored-by: Dan Cech <dcech@grafana.com>
2024-04-11 19:32:31 -03:00
eb86fd867f Canvas: Update new element type with rotation (#85690) 2024-04-11 15:36:33 -05:00
5cfca8dbf6 chore: bump Go to 1.21.9 (#85964)
* chore: bump Go to 1.21.9

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* regen .drone.yml

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-04-11 15:37:07 -04:00
a39fe593c2 K8s: remove standalone authenticator in favor of providing one through the factory (#85901) 2024-04-11 21:30:23 +02:00
1031c2f1d2 Changelog: Updated changelog for 10.4.2 (#85997)
Co-authored-by: grafanabot <bot@grafana.com>
2024-04-11 18:49:19 +00:00
a25b59c6d8 Prometheus: Change feature toggle usePrometheusFrontendPackage to general availability (#85951)
change feature toggle to GA after testing
2024-04-11 14:13:30 -04:00
58059da10b RBAC: Fix global role deletion in hosted Grafana (#85980)
take into account the value of RBACSingleOrganization setting when determining org
2024-04-11 18:50:23 +01:00
623d4d580e Docs: add bar/pie visualization Play link (#85898)
* Update index.md

* pie chart equivalent commit

* Updated titles to match dashboard title

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-11 13:27:38 -04:00
17a8de68e6 Docs: add gague visualization Play link (#85897)
* Docs: add gague visualization Play link

* Fixed typo

* Updated title to match dashboard title

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-11 13:27:07 -04:00
765f20c555 Docs: add time series visualization Play link (#85885)
* docs/play shortcode: time series visualization

* Ran prettier

* Updated title to match title of dashboard in Grafana Play

---------

Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-04-11 13:17:16 -04:00
e42d8f0bd0 Plugins: Removed feature toggle enablePluginsTracingByDefault (#85953) 2024-04-11 18:40:47 +02:00
83438bd231 Docs: add Table visualization Play link (#85896)
Docs: add stat visualization Play link
2024-04-11 12:13:24 -04:00
2798acd667 Docs: fix duplicate headings (#85903)
Added suffix to one Placement heading
2024-04-11 12:12:47 -04:00
cdfd092d11 Docs: add stat visualization Play link (#85895) 2024-04-11 12:11:48 -04:00
51d5a4c8f2 Update dependency @testing-library/dom to v10 (#85958)
* Update dependency @testing-library/dom to v10

* update @testing-library/react as well

* fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 17:29:35 +02:00
92d659527d Release: Update drone-pipeline.md (#85950)
Update drone-pipeline.md
2024-04-11 09:00:29 -06:00
ab5a065256 Revamp plugin loading error management (#85939) 2024-04-11 16:18:04 +02:00
bb56f4a605 Update dependency @grafana/e2e to v10 (#85952)
* Update dependency @grafana/e2e to v10

* remove @grafana/e2e dependency from @grafana/prometheus

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 16:16:12 +02:00
34875344ed datatrails: fix: clear undefined query params on history step change (#85607)
* fix: clear undefined query params on history step change

* Minor tweak

* fix: resolve CodeQL check: Client-side cross-site scripting

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-04-11 09:52:33 -04:00
b4b0a80e86 Update dependency sass to v1.74.1 (#85947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 14:32:37 +01:00
78f460c4de Tracing: Allow otel service name and attributes to be overridden from env (#85937)
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-04-11 15:18:46 +02:00
0d42e025f0 Update dependency webpack-bundle-analyzer to v4.10.2 2024-04-11 12:53:27 +00:00
cf640717ba Chore: Upgrade uglify-js to fix vulnerability (#85889) 2024-04-11 13:51:51 +01:00
61e2a5354e Revert "Docs: Clarify open source documentation (#77077)" (#85879) 2024-04-11 13:51:24 +01:00
69a92a7a2f CloudMigrations: include stack id in access policy and token names (#85868)
* CloudMigrations: include stack id in access policy and token names

* CloudMigrations: include slug in the display name

* formatting
2024-04-11 09:43:46 -03:00
050105e70a plugins: update to latest go plugin sdk version (v0.222.0) (#85943)
plugins: update to latest go plugink sdk (v0.222.0)
2024-04-11 14:41:37 +02:00
6d35fb307f Chore: Run PR checks when enabling auto-merge (#85857) 2024-04-11 14:11:21 +02:00
af115c1d93 Update dependency jest-fail-on-console to v3.2.0 (#85936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 13:51:45 +02:00
4e532b00e1 Storage: Add mode-specific List implementations (#85814)
* Add List methods to mode 1 and 4
* Refactor errors
2024-04-11 13:41:05 +02:00
4af239af39 Update dependency i18next to v23.11.1 (#85935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 12:33:50 +01:00
3e385763c5 Tracing: Improve HTTP request/middleware spans and standalone apiserver (#85715)
Fixes so that auth middleware trace/span doesn't wrap the next handlers.
Allow tracing service name to be overridden in standalone apiserver.
Change k8s api tracing operation name to KubernetesAPI from 
grafana-apiserver (which is the service name)
2024-04-11 13:28:23 +02:00
877aaf87d2 Update dependency dompurify to v3.1.0 (#85932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 13:14:32 +02:00
6a4ef71c4e Update dependency @types/eslint to v8.56.8 2024-04-11 10:55:18 +00:00
5a471420d0 Update dependency centrifuge to v5.1.1 (#85923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:29:15 +01:00
116088c722 Chore: Making versioncheck url rely on config instead of being hardcoded (#85855)
* Making versioncheck url rely on config instead of being hardcoded

* Update pkg/services/updatechecker/plugins.go

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* making the names a bit more generic and using url.url library

* fixing tests

* fixing linting

---------

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-04-11 12:04:53 +02:00
0ec8ccbf66 Google Cloud Monitor: Fix interface conversion for incorrect type in cloudMonitoringProm.run (#85811) 2024-04-11 11:59:34 +02:00