Commit Graph

57756 Commits

Author SHA1 Message Date
Josh Hunt
bf172dfd29 GrafanaUI: Add noBackdropBlur feature toggle (#102128)
* Create new noBackdropBlur feature toggle

* Disable backdrop blur with feature toggle
2025-03-14 15:21:35 +00:00
Syerikjan Kh
b3452ae720 feat: datasourceconnectionsTab to private preview (#102200) 2025-03-14 11:05:27 -04:00
Ashley Harrison
38d94b86ec Api clients: fix import to point to new centralised client (#102208)
fix import to point to new centralised client
2025-03-14 17:03:45 +02:00
Ashley Harrison
dd07d3dbbe API client generation: centralise api clients (#102186)
* centralise iam api

* centralise folder api client

* rename to baseAPI

* centralise provisioning api

* remove iam feature folder from CODEOWNERS

* fix type name

* Update public/app/features/provisioning/utils/selectors.ts

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-03-14 14:34:36 +00:00
Alex Khomenko
24da64cd34 Provisioning: Load dashboard in state manager (#102194)
MergeProvisioning: Load dashboard in state manager
2025-03-14 16:03:51 +02:00
Laura Fernández
b9d798e9c9 API Client Generation: Add documentation (#102056) 2025-03-14 14:56:52 +01:00
Eric Leijonmarck
56c896fa72 Revert "Config: Removes setting viewers_can_edit (#101767)" (#102191)
This reverts commit d3a9c04562.
2025-03-14 13:39:59 +00:00
Ashley Harrison
75156324f4 Chore: fix some codeql violations (#101958)
* fix some codeql violations

* just check at start
2025-03-14 13:27:25 +00:00
ismail simsek
399df82f0b Prometheus: Read feature toggles once when creating plugin instance (#102131)
* initialize an instance with feature toggles

* read grafana config only once

* use feature toggles directly
2025-03-14 13:54:19 +01:00
ismail simsek
d72b664981 Feature toggle: Introduce infinityRunQueriesInParallel feature toggle (#102129)
introduce infinityRunQueriesInParallel feature toggle
2025-03-14 13:54:04 +01:00
Alex Khomenko
49324a9ee2 Provisioning: Load dashboard (#102050)
* Provisioning: Load dashboard

* Add v2 loader
2025-03-14 14:50:34 +02:00
Will Assis
2456eeb69b fix(unified-storage): Improve test coverage on legacy searcher and parse result helper (#102147)
* include TotalHits when searching for provisioning information and improve tests

* return err when parsing search results with mismatch number of columns and cells and add tests for it
2025-03-14 08:25:59 -04:00
Laura Fernández
38151b1ae4 Combobox: add grouping functionality (#100603)
* Use useOptions in Combobox

* Clean code

* Betterer results

* Add grouping to Combobox

* Fix code after mergin main

* Manage ids

* wip - first pass at improved dom structure for a11y

* improve styling, remove old implementation

* more style!!!!

* more tidy up

* deprecated comment

* another comment!

* tests

* remember the index of each group

---------

Co-authored-by: joshhunt <josh.hunt@grafana.com>
2025-03-14 13:05:25 +02:00
Andres Martinez Gotor
da53b3fb5e Advisor: Avoid Watcher (#102120) 2025-03-14 11:14:00 +01:00
Andrej Ocenas
a6c16c52e6 Scopes: Refactor services and the api client (#102042)
* Externalize api and remove dependency cycles

* fix tests

* Update comment

* Split the state observable creation in ScopesService

* Make the feature flag guard more explicit

* Change reduce to map
2025-03-14 10:48:12 +01:00
Peter Štibraný
9330ca5b54 Remove unused SigningKey struct. (#102041) 2025-03-14 10:41:10 +01:00
Matheus Macabu
0abf0bb0e9 Secrets: make the secrets package a go work module (#102167)
* Secrets: make the decrypt package a go work module

* Chore: add Operator Experience as codeowner for secrets apis

* Chore: move module up two folders
2025-03-14 10:38:19 +01:00
Karl Persson
f1e4706f79 Authn: Concurrent updates to last seen at (#102122)
* Use singleflight for last seen update

* Run last seen update in a signelflight
2025-03-14 10:17:42 +01:00
Peter Štibraný
8625a6c131 Export SpannerConnectorConfigToClientOptions function (used by grafana-enterprise). (#102106)
* Export SpannerConnectorConfigToClientOptions function (used by grafana-enterprise).
2025-03-14 10:07:24 +01:00
Ivan Ortega Alba
0e5c436288 Dashboard: Do not run backend migrations if schemaVersion < min_version migration implemented in the backend (#102088) 2025-03-14 08:55:40 +00:00
Eric Leijonmarck
d3a9c04562 Config: Removes setting viewers_can_edit (#101767)
Reapply "Authz: Removes setting `viewers_can_edit`" (#101528)

This reverts commit 5f6b00a72f.
2025-03-14 08:38:48 +00:00
Alex Khomenko
14e2784e69 Chore: Add .cursor to .gitignore (#102166) 2025-03-14 09:19:11 +02:00
Alexander Akhmetov
ef5cc12b33 Alerting: Add HMAC signature config to the webhook integration (#100960)
Adds HMAC-SHA256 signature support to webhook notifications, providing a way to verify the authenticity and integrity of webhook requests. The implementation allows to specify the header in which the signature will be sent. The signature is calculated from the request body.

An optional timestamp header name can be provided. If set, the HMAC signature will be generated by concatenating the timestamp, a ":" and the request body: {timestamp}:{body}. The timestamp will also be sent in the provided header name.
2025-03-14 07:22:41 +01:00
grafana-pr-automation[bot]
1ee0473db6 I18n: Download translations from Crowdin (#102164)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-14 02:30:10 +02:00
Michael Mandrus
4420ff9202 SecretsManager: Merge codegen portion so that we can use the dependency elsewhere (#102152)
* copy changes over from feature branch

* update codegen
2025-03-13 18:10:46 -04:00
Nick Richmond
ae7cba3268 MetricsDrilldown: Advance exploreMetricsUseExternalAppPlugin feature toggle stage (#102137)
* chore: advance `exploreMetricsUseExternalAppPlugin` feature toggle stage

* fix: do not hide from docs
2025-03-13 17:50:37 -04:00
Jev Forsberg
a3ada25579 Chore: Migrate pr-docs pipeline to GHAs (#101982)
* baldmomma/ add pr-lint-build-docs.yml

* baldm0mma/ update codeowners

* baldm0mma/ remove superfluous command

* baldm0mma/ trigger

* baldm0mma/ update with heredoc format

* baldm0mma/ update content stash

* baldm0mma/ explore container for prod target

* baldm0mma/ update to use hugo directly

* baldm0mma/ clone the websote dir

* baldm0mma/ rebuild with docker

* baldm0mma/ docker run

* baldm0mma/ remove build trigger

* baldm0mma/ remove cue gen step that is covered elsewhere
2025-03-13 13:34:35 -06:00
Johnny Kartheiser
42958497ff alerting docs: add alert rule history image (#101980)
* alerting docs: add alert rule history image

add image for alert rule history to docs

* Update view-alert-rules.md

* lint/prettier
2025-03-13 14:01:56 -05:00
Pepe Cano
9452069745 docs(alerting): timing options minor enhancements (#101965)
* docs(alerting): timing options minor enhancements

* minor addition

* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md

Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>

---------

Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
2025-03-13 18:08:31 +01:00
Peter Štibraný
1068568814 Spanner: Fix query for limiting query history. (#102132) 2025-03-13 18:39:49 +02:00
Peter Štibraný
4d5fd2cfb7 Spanner: Fix queries for deleting query history. (#102125) 2025-03-13 17:13:43 +01:00
Pepe Cano
65d047dd43 docs(alerting): add notification screenshots details in Create and link alert rules to panels (#102103)
* format admonition

* include mention to display panel screenshots in notifications
2025-03-13 17:12:57 +01:00
Gilles De Mey
456fc0b1be Alerting: Move summary position above paused rule indicator (#102124)
Move summary position above paused rule indicator
2025-03-13 18:02:40 +02:00
Alex Khomenko
441e72b07f API Client: Add client-level error handler (#102091)
* API Client: Add client-level error handler

* Return fetch error

* Simplify error object
2025-03-13 17:40:52 +02:00
Peter Štibraný
6f12712ad6 Add Spanner dialect to pkg/storage/unified/sql/sqltemplate package. (#102121) 2025-03-13 16:38:05 +01:00
Kevin Minehart
20b91cfa04 CI: Add integration tests GitHub Actions workflow (#101732)
* Add integration tests workflow
---------

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
2025-03-13 10:27:19 -05:00
Ieva
9264431c81 RBAC: Remove action set feature toggle (#101959)
* remove action set feature toggle

* don't pass feature toggles to action set service instantiation

* linting

* test fixes and frontend clean-up

* fix test
2025-03-13 15:18:23 +00:00
Sergej-Vlasov
6d61196e55 ConditionalRendering: Restore variable conditional rendering logic (#102115)
restore variable conditional rendering logic
2025-03-13 16:37:16 +02:00
Will Assis
31a371e385 fix(unified-storage): remove bleve index metric from global scope (#101825)
* refactor grafana_index_server_index_size to calculate in a goroutine instead of at scrape time and remove grafana_index_server_indexed_docs metric

* use wire to inject bleve index metrics

* remove sprinkles metrics from bleve index metrics

* log error when trying to calculate file index size and bump interval to 1m instead of 5s
2025-03-13 10:09:38 -04:00
Andres Martinez Gotor
a9634f9b12 Advisor: Skip plugin check for provisioned plugins (#101782) 2025-03-13 15:04:08 +01:00
Ivan Ortega Alba
772432e025 Dashboards: Changes are not detected from worker (#102105) 2025-03-13 15:02:03 +01:00
Karl Persson
5d94293305 Authz: Fix namespace authorization when calling a cluster resource (#102110) 2025-03-13 14:54:35 +01:00
Kristina
2bbd5faf6d Transformations: Include other counts as numbers when assessing field types (#102109)
Distinct count and change count should also always be numbers
2025-03-13 15:39:17 +02:00
Torkel Ödegaard
ec94e5b7ad Dashboard: Switch between tabs and rows and rows to tabs (#102083) 2025-03-13 14:21:10 +01:00
Tom Ratcliffe
85a3ae2d07 Chore: Add heuristic approach to fixing untranslated text with eslint rule (#101561)
* Add heuristic approach to fixing untranslated text with eslint rule

* Update logic of how we track and report untranslated strings so we can prevent autofixes

* Update betterer to reflect different reporting of untranslated text

* Move logic for rule to utils and change to suggest instead of fix

* Update tests to cope with suggest instead of fix

* Remove commented out `only`

* Add config to allow force fixing

* Fix type errors and improve shouldFix logic
2025-03-13 13:17:05 +00:00
Josh Hunt
d6c97bd6c9 I18n: Add useT/useTranslate PR feedback that got missed (#102098)
I18n: Add PR feedback that got missed
2025-03-13 12:49:49 +00:00
Tom Ratcliffe
2c1bc1bb7c Alerting: Fix DataQuery and DataSourceRef deprecated imports in alerting code (#102095)
Fix DataQuery and DataSourceRef deprecated imports in alerting code
2025-03-13 12:48:06 +00:00
Josh Hunt
50ff1ae69b I18n: Add useT hook for plugin translation API (#102033)
* Create placeholder useT function

* expose useT() in @grafana/runtime

* fix setting useT correctly

* example usage of useT

* rename hook to useTranslate

* fix rename

* remove comment
2025-03-13 13:54:57 +02:00
Jack Baldry
f4d43d3ef5 Lint provisioning file (#102005)
* Remove reference to deprecated feature flag

* Lint provisioning file

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove regression

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2025-03-13 13:35:16 +02:00
Matthew Thorning
2c10b35b33 GrafanaUI: Use safePolygon close handler for interactive tooltips instead of a delay (#101871)
* feat: allow configuration of interactive tooltip delay

* add comment explaining interactiveDelay prop

* switch approach to using `safePolygon` close handler instead

* remove unnecessary object spread from Tooltip component
2025-03-13 11:14:29 +00:00