Commit Graph

58264 Commits

Author SHA1 Message Date
Roberto Jiménez Sánchez aaa61d0919 Provisioning: Fix push to PR branch (#103262)
* Fix push to PR branch

* Fix original screenshot generation
2025-04-02 14:17:33 +03:00
Matheus Macabu 58a475cb03 CloudMigrations: Refactor and unify resource naming/icon resolution (#103258)
This is more in preparation for the snapshot configuration option,
to avoid having to duplicate the functions that would:
- Find an icon based on resource type
- Find a label based on resource type

Since we use those for other components, I figured we could just
make a helper function to reuse them.
2025-04-02 13:05:02 +02:00
Andres Martinez Gotor f1e214261c Chore: Allow for an applink to set a subtitle (#103205) 2025-04-02 12:43:21 +02:00
Matheus Macabu d5addcc822 Chore: Fix Go Workspace Check workflow and run make update-workspace (#103261)
* Chore: Fix Go Workspace Check workflow

* Chore: Run make update-workspace
2025-04-02 12:26:38 +02:00
Gábor Farkas 135fbf6258 data sources: feature toggle: route explore queries to the new query service (#103192)
* data sources: route explore queries to the new query service

* prettier fix

* easier to read logical statement
2025-04-02 12:00:33 +02:00
Eric Leijonmarck 1c07fd3d4f feat: add ft and add datasource:explore to viewers for viewers_can_edit (#103251)
* feat: add ft and add datasource:explore to viewers for viewers_can_edit

* removed the feature toggle

* remove file
2025-04-02 12:25:42 +03:00
Matheus Macabu 93009a4f5b Dependencies: Fix invalid version for pkg/apis/folder (#103256)
* Chore: Use correct version of pkg/apis/folder

* Chore: Clarify pinning for google/cel-go

* Remove replace directives

---------

Co-authored-by: leonorfmartins <leonorfmartins@gmail.com>
2025-04-02 11:23:59 +02:00
Andres Martinez Gotor 3777b765b9 Advisor: Define error if a datasource doesn't have its plugin installed (#103200) 2025-04-02 11:21:37 +02:00
Nathan Vērzemnieks f2b5b4e0c0 CloudWatch: Import new grafana-aws-sdk with PDC fix (#103249)
CloudWatch: import new grafana-aws-sdk with PDC fix
2025-04-02 11:13:01 +02:00
Ashley Harrison 38aee2dfa2 Internationalisation: More automatic markup (#103203)
* easy changes

* couple of tweaks + translations

* update e2e tests

* kick CI
2025-04-02 10:03:12 +01:00
Sven Grossmann d6b71f171d Loki: Hide __aggregated_metric__ label (#103233) 2025-04-02 11:01:48 +02:00
Ryan McKinley 34192e3ad0 Provisioning: Support migrate to local (#103247) 2025-04-02 11:25:06 +03:00
Ryan McKinley 6781612335 Provisioning: Enable search when provisioning is enabled (#103208) 2025-04-02 11:20:28 +03:00
Torkel Ödegaard aea7f87732 Dashboard: Canvas add buttons to custom grid (#103181)
* Custom grid add actions

* find empty space

* Update

* Update

* Update

* Update
2025-04-02 10:18:28 +02:00
Roberto Jiménez Sánchez 0aeefedb0c Provisioning: Snapshot original dashboard (#103170)
Snapshot original dashboard
2025-04-02 10:12:42 +02:00
Leonor Oliveira f21362ad48 Convert pkg/apis/folder to a module (#102975)
* Convert pkg/apis to a module

* Update apistore module to use apis go module

* Add module to dependabot

* Group go dependencies

* Add guidelines for adding a new gomod

* Prettier

* Only convert apis/folder to a module for now

* Add replace directive

* Add missing go mod
2025-04-02 10:10:04 +02:00
Roberto Jiménez Sánchez 04e152f326 Provisioning: webhook last event timestamp (#103180)
* Record webhook pinged event

* Add TODO for webhook creation updated

* Hack to wire client

* Revert accidental change in controller

* Wire the client

* Use factory method

* Remove omit empty

* Regenerate client

* Fix compilation

* Every 30 seconds if not pinged

* Move lines around

* Use different approach

* Added as part of the controller

* Exponential backoff for waiting for ping

* More stuff

* Revert changes in controller

* Add separate webhook section in overview

* Change order of translations

* Update ping within 1 minute

* Last event update

* Extract translation

* Display last event in frontend

* Refactor the logic around update

* Fix the type to marshal
2025-04-02 10:09:58 +02:00
maicon d8c5c2d3b8 K8s: Folders: Modify GetChildren to return only Folder References (#103072)
* Return FolderReference instead of Folder on GetChildren

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-04-02 01:30:17 -03:00
grafana-pr-automation[bot] 654afbcfa2 I18n: Download translations from Crowdin (#103244)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-02 03:31:46 +03:00
Isabel Matwawana d79f3a8793 Docs: experimental themes (#103024)
* Updated user preferences page

* Updated org preferences'

* Added feature flag name
2025-04-01 14:35:29 -04:00
Adela Almasan 4582a45b93 TableNG: Fix sorting (#103215)
* wip sorted rows

* Move rowIdx calculation to TableNG top level

* Remove old unused props

---------

Co-authored-by: drew08t <drew08@gmail.com>
2025-04-01 11:28:34 -07:00
Alexander Akhmetov 7347083f98 Alerting: Validate target datasource type only when importing recording rules (#103214) 2025-04-01 20:28:10 +02:00
Stephanie Hingtgen 5535447587 Folders: Change query to an inner join on dashboards rather than 2 gets (#103183) 2025-04-01 21:21:58 +03:00
Isabel Matwawana ac39141021 Docs: dashboard list visualization refactor (#103211)
* Added configuration options heading and bumped other heading levels

* Moved dashboard list options into table

* Further restructured dashboard list options and made wording edits

* Added semantic line breaks

* Replaced screenshot with high res image

* Wording edits
2025-04-01 14:00:30 -04:00
Ryan McKinley 9c49c601f1 Unistore: Add generation column (#102222) 2025-04-01 20:38:23 +03:00
Sam Jewell cd30742616 SQL Expressions: Mount front-end component right first time (#103087)
* Call onChange method once on render so we have access to the value on init

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-04-01 11:49:39 -04:00
Gabriel MABILLE 2d89b16d7e Tracing: Add Insecure to NewOTLPTracingConfig (#103174) 2025-04-01 17:34:42 +02:00
Torkel Ödegaard ae73dee220 Dashboard: Fixes open panel edit button (#103169)
* Dashboard: Fixes open panel edit button

* fix imports
2025-04-01 17:11:39 +02:00
Juan Cabanas d04e14cf9e Grafana UI: Hide CollapsableSection children instead of unmounting based on unmountContentWhenClosed prop (#102937) 2025-04-01 12:10:30 -03:00
Isabel Matwawana f85866f869 Docs: Update comments in tooltip-options shared files (#103151)
Updated comments in tooltip-options shared files
2025-04-01 10:50:58 -04:00
Johnny Kartheiser 1220bc7a5f alerting docs: alert rule recovery documentation (#102938)
* alerting docs: alert rule recovery documentation

document the alert rule recovery feature

* shared content edit

* prettiest

* restore content

* Update create-data-source-managed-rule.md
2025-04-01 09:49:37 -05:00
Ryan McKinley f087d5f61b Provisioning: validate files we read (#103197) 2025-04-01 17:49:08 +03:00
Torkel Ödegaard bfc6e07140 PanelChrome: Click inside also selects panel (#103168) 2025-04-01 16:46:21 +02:00
Isabella Siu 1aea65f6d5 X-Ray: Add toggle for application signals (#103054)
X-Ray: add toggle for application signals
2025-04-01 10:42:02 -04:00
Alex Khomenko 991b016d63 Provisioning: Clear dashboard editor state (#103190)
* Provisioning: Clear dashboard editor state

* Clear the changes after save

* Revert some changes

* Add dep

* Fix tests
2025-04-01 17:23:20 +03:00
Isabel Matwawana bb68e21557 Docs: Update comments in data link options shared files (#103153)
Updated comments in data link options shared files
2025-04-01 10:02:02 -04:00
Timur Olzhabayev 5098015467 Chore: Enable external core plugins feature toggle by default (#102209)
* Turning externalCorePlugins on by default

* enable externalCorePlugins feature toggle by default

* fixing generated toggles ts
2025-04-01 17:00:44 +03:00
Torkel Ödegaard c075d6111b GrafanaRoute: Recover from errors (#103166) 2025-04-01 15:44:19 +02:00
Kyle Brandt 9358a557ee Graphite: Add frame type to work with SQL expressions (#103019)
- Add frame type So SQL expressions knows how to convert it
- No FrameType version so how other expressions do not change how they handle it, and continue to catch the special graphite handling in SSE convert
2025-04-01 09:43:36 -04:00
Andres Martinez Gotor 8f0b2d9fd5 Chore: Enable Grafana version check when installing plugins (#103176) 2025-04-01 15:35:09 +02:00
Haris Rozajac cf74aa1c70 Dashboards: Support view panel mode in search layout (#103146)
Support view panel mode in search layout
2025-04-01 07:24:38 -06:00
Timur Olzhabayev 03c894489c Chore: Enabling failWrongDSUID by default in Grafana 12 (#102192)
* enabling failWrongDSUID by default in Grafana 12

* making reviewdog happy

* generating feature toggle files
2025-04-01 14:59:32 +02:00
Alex Hunsaker fa8dafec77 Tempo: fix streaming with TLS without BasicAuth (#100546)
Fixes #100545

Streaming queries/metrics do not work if TLS is enabled and basic auth is not.

"Save & test" while adding/editing a tempo datasource throw `e.data is undefined` in the ui.

Gafana server logs report:

> logger=grafana-apiserver t=2025-02-12T17:55:29.131036665Z level=info msg="[core] [Channel #42 SubChannel #43]grpc:
> addrConn.createTransport failed to connect to {Addr: \"tempo:3200\", ServerName: \"tempo:3200\", }. Err: connection
> error: desc = \"error reading server preface: read tcp 127.0.0.1:55432->127.0.0.1:3200: read: connection reset by
> peer\""

> logger=grafana-apiserver t=2025-02-12T17:55:36.835523455Z level=info msg="[core] [Channel #31 SubChannel #32]grpc:
> addrConn.createTransport failed to connect to {Addr: \"tempo:3200\", ServerName: > \"tempo:3200\", }. Err: connection
> error: desc = \"error reading server preface: EOF\""

Fix by using TLS when enabled regardless of basic auth settings.

Co-authored-by: André Pereira <adrapereira@gmail.com>
2025-04-01 13:41:22 +01:00
Joey 4689b7c0cd TraceView: Add scope attributes to span details (#103173)
* Add scope attributes to span details

* Tests
2025-04-01 13:26:16 +01:00
Collin Fingar feadd37f27 NestedFolderList: Folder Expand & Inf Loader Causing Duplicates (#102944)
* NestedFoldeList: remove nested folder dupe during save

* Change solution for loading/pending check in useFoldersQuery

* moved pending string to constant

* Moved last page loading logic to proper func

* Updated comment to reflect func changes
2025-04-01 08:12:59 -04:00
Sam Jewell af08a9fae2 SQL Expressions: Add JSON support (#103157)
- Support bi-directional mapping of frame JSON fields and GMS (go-mysql-server) columns 
- Permit GMS json functions

Co-authored-by: Kyle Brandt <kyle@grafana.com>
2025-04-01 07:45:01 -04:00
Ryan McKinley 6754781d7b Provisioning: Remove unnecessary flags from tests and instructinos (#103165) 2025-04-01 13:43:00 +03:00
Roberto Jiménez Sánchez 29f395e1dd Provisioning: introduce interface for git clones (#103175)
* Delegate clone to export in migrate from API server

* Clonable interface

* Root from register.go

* Call option push on write

* Fix linting
2025-04-01 13:42:52 +03:00
Roberto Jiménez Sánchez f91f739ee2 Remove unused HACK for testing new configuration (#103172) 2025-04-01 12:37:35 +02:00
Ryan McKinley ca35a89916 Provisioning: Manage repo jobs as single sub-resource (#103090) 2025-04-01 13:22:47 +03:00