Commit Graph
62534 Commits
Author SHA1 Message Date
Alyssa (Bull) Joyner 3b73ebb210 Azure Monitor: Add logs query builder (#99055) 2025-04-02 08:15:25 -06:00
Andrej Ocenas 44ca402116 Update codeowners for locale files (#103268)
Update codeowners
2025-04-02 16:03:33 +02:00
Bogdan Matei b1c6121e78 Dynamic Dashboards: Add drag and drop for tabs and rows (#103216) 2025-04-02 16:52:53 +03:00
Sven Grossmann a67cb174c7 Investigations: add fieldConfig and queries (#103276)
* Investigations: add `fieldConfig` and `queries`

* fix openAPI
2025-04-02 15:42:32 +02:00
Torkel Ödegaard e725f865dc DashboardScene: Add library panel via canvas add panel action (#103254)
* Update

* It works now for auto grid as well
2025-04-02 15:42:11 +02:00
c6e52c4766 SQL Expressions: Make SQL Expressions work with Alerting (#101820)
Initial support for alerting with SQL expressions

- When `format` is set to `alerting`, SQL expressions output in a format suitable for alerting evaluation.
- Outstanding TODOs:
  - Deduplicate output rows
  - Add more tests
  - Fix broken alerting UI rendering (likely due to shape change to undocumented full-long format)
- Basic usage:
  - SQL must return one numeric column and one or more string columns.
  - Each row may become an alert.
  - The alert fires if the numeric value is non-zero.
  - String columns are treated as labels.

---------

Co-authored-by: Konrad Lalik <konradlalik@gmail.com>
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Sam Jewell <sam.jewell@grafana.com>
2025-04-02 09:39:36 -04:00
mohammad-hamid 192d3783d5 Zanzana/enable TLS for client side gRPC (#103000)
* zanzana - add tls to the client

* remove todo

* gofmt

* adjust comment
2025-04-02 09:12:58 -04:00
beejeebus 360c57b3d7 InfluxDB: capture more downstream errors (#103274)
This adds more checks on the type of errors returned from InfluxDB fsql
datasource queries. Grpc errors with code `InvalidArgument`, `PermissionDenied`
and `NotFound` are mapped to downstream errors.
2025-04-02 08:47:47 -04:00
Ryan McKinley c54496a3f9 Search: Avoid panic with missing title (#103257) 2025-04-02 15:43:08 +03:00
Alex Khomenko 3c8d6b4119 Provisioning: Fix getting finished job status (#103272)
* Provisioning: Improve finished job handling

* Misc

* Refactor
2025-04-02 15:41:21 +03:00
Oscar Kilhed 6ff3af7e83 Dynamic dashboards: Copy paste rows tabs and auto grid items (#103237)
* copy paste tab row works

* refactor to hook

* add buttons to canvas

* make i18n

* remove paste from add pane and refactor

* pasting auto grid panel works

* add paste for default grid

* set height/width and postion for auto grid items moving to default grid

* clean up
2025-04-02 14:35:51 +02:00
Yulia Shanyrova 332f041c91 Chore: Promote pluginsDetailsRightPanel to general availability (#103269)
Chore: Promote pluginsDetailsRightPanel to general availability and deafult
2025-04-02 14:34:18 +02:00
Will Assis 08042ae827 search: add legacy id for all resources in bleve (#103206)
* add legacy id for all resources in bleve
2025-04-02 08:20:23 -04:00
Oscar Kilhed 2afeebec28 Dynamic dashboards: Detect changes in rows, tabs and autogrid (#103080)
* Detect changes in rows tabs grid

* also add auto grid item

* fix lint issue
2025-04-02 14:19:08 +02:00
Kyle Brandt 856dcfd6fe SQL Expressions: Permit range conditions (between) in queries (#103238) 2025-04-02 15:13:17 +03:00
Ivan Ortega Alba 85ddf648dc Panel JSON inspect for schema v2 (#103191) 2025-04-02 15:00:39 +03:00
Levente Balogh 9ea1c203e6 Plugin Extensions: Move observable extension apis from the unstable entrypoint (#103271)
feat(grafana-runtime): move observable extension apis from /unstable to /
2025-04-02 14:42:28 +03:00
Vardan Torosyan 26eab9981a Return correct disabled status when looking up a user (#103182) 2025-04-02 13:38:10 +02:00
Alex KhomenkoandIgor Suleymanov 1164230df6 Provisioning: Show badge for all manager kinds (#103263)
* Provisioning: Display badge for all manager kinds

* Show the badge for folders

* Fix switch / case syntax to display correct manager kind

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2025-04-02 14:37:29 +03:00
Ivan Ortega Alba cbf25e994a Transform: Minimum scene should not throw transformation errors (#103189)
* Transform: Minimum scene should not throw transformation errors
2025-04-02 13:36:42 +02:00
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 Macabuandleonorfmartins 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]andgithub-actions[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 Almasananddrew08t 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 JewellandTom Ratcliffe 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