Commit Graph

58335 Commits

Author SHA1 Message Date
Peter Štibraný 413378dd3a Retry aborted transactions on Spanner. (#103289)
* Retry aborted transactions on Spanner.
2025-04-03 16:26:09 +02:00
Torkel Ödegaard f5beba1036 PanelEdit: Options pane design tweaks (#103331)
* PanelEdit: Options pane design tweaks

* Added translations

* Fixed

* Update
2025-04-03 16:21:26 +02:00
Levente Balogh 83dc1250bb Extensions: Fix a bug with the observable APIs (#103367)
tests(getPluginExtensions): add more tests for the observable apis
2025-04-03 17:13:32 +03:00
Kyle Brandt 4a0ec27e5d SQL Expressions: Query Service Support (#101955)
---------

Co-authored-by: Adam Simpson <adam@adamsimpson.net>
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com>
2025-04-03 09:36:02 -04:00
Oscar Kilhed 370f4c2bcd Dynamic dashboards: Use addNewRow and addNewTab when duplicating rows and tabs (#103362)
Use addNewRow and addNewTab when duplicating rows and tabs
2025-04-03 16:28:45 +03:00
Dominik Prokop ae700e7632 Schema V2: Handle v2 custom home dashboard (#103332)
* Schema V2: Handle v2 custom home dashboard

* Clean interface

* Fix old arch
2025-04-03 15:24:19 +02:00
Ryan McKinley 3ce4025db6 Chore: Update lerna, NX, and @babel/runtime-corejs3 (#103344) 2025-04-03 16:05:21 +03:00
Sonia Aguilar 9b91dc7855 Alerting: Migration UI (#102010)
* add feature toggle alertingMigrationUI

* wip

* wip

* wip2

* add button to export in alert list and add target folder in the form

* update namings

* protext migration route with alertingMigrationUI feature toggle

* remove unused error style

* add namspace and group filter

* fix translations and prettier

* fix duplication

* use the new endpoint

* update right roles for the FE route

* refactor

* notify success

* address feedback

* fix translations

* Simplify migration UI for alert rules to GMA format

Extracts migration button component and reuses it in banner for better
code organization and consistency.

* Fix root folder check in import alert rules UI

Replace hardcoded empty string check with lodash isEmpty for folder UID
validation

* Add collapsible section for import rule options

* address feedback

* Split useAlertRuleSuggestions, one for labels, and other for namespaces

* refactor splited hooks

* Alerting: (PR review) Redesign slightly + use combobox (#102614)

Redesign slightly + use combobox

* udpate naming

* remove eslint-disable-next-line @grafana/no-untranslated-strings and add hasDataSourcesConfigured as a condition to render the banner

* use button instead of banner

* fix routes

* use new api

* update api

* remove query params

* update translations

* update ff files

* skip subpath when redirecting to the alert list view with filters

* prettier

* disable provenance

* prettier

* Don't send target forlder uid in the payload as undefined if it's not selected

* prettier

* add confirmation modal with a preview

* remove unnecessary export

* Add target datasource UID for recording rules

* Use skipToken

* Add recording rule datasource and update designs

* Use different hook to fetch rulerRules

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-04-03 14:04:11 +01:00
Joey 9111a2839c Revert "Tempo: fix streaming with TLS without BasicAuth (#100546)" (#103358)
This reverts commit fa8dafec77.
2025-04-03 15:48:26 +03:00
Torkel Ödegaard 72a76721e1 ButtonGroup: Fixes button group for solid buttons (#103255)
* ButtonGroup: Fixes button group for solid buttons

* Update

* Fix
2025-04-03 14:47:15 +02:00
Bogdan Matei 80df736e27 Dynamic Dashboards: UI fixes (#103352) 2025-04-03 15:14:42 +03:00
Torkel Ödegaard 25508c620e Row: Fixes issue with row content going outside it's bounds (#103350)
* Row: Fixes issue with row grid going outside it's bounds

* updated fix
2025-04-03 14:56:28 +03:00
Roberto Jiménez Sánchez 800aa7827d Provisioning: Ensure path to file exists in Files endpoints (#103343)
* Create ensure folder path exists

* Fix issue with folder names generated in 2 different ways
2025-04-03 13:50:41 +02:00
Oscar Kilhed 17d075d81d Dynamic dashboards: Warn if row or tab title not unique (#103346)
* warn if row or tab title not unique

* Make i18n-extract

* minor copy

* minor copy update again
2025-04-03 13:31:07 +02:00
Sonia Aguilar 3450d243b9 Alerting: Delete permanently deleted alert rules. (#102960)
* add alertingDeletePermanently ff

* add delete permanently button in Recently deleted page

* use ff to protect delete permanent button column

* update transations and prettier

* invalidate tag and update transalations keys

* add test

* prettier

* refactor test

* restore wrong change in deleteRulerRuleGroupHandler

* update test

* linter

* Alerting: Permanent delete rules code review (#103288)

* Update feature toggle name and description

* Rename mutation endpoint

* Fix typo and update text to be "permanently delete"

* Update feature toggle and test

* Move delete button into actions column

* generate ff

* address feedback

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-04-03 14:18:25 +03:00
Alex Spencer 50825a8299 TableNG [Bug Bash]: Add onCellFilterAdded buttons back (#103160)
chore: bring back onCellFilterAdded controls
2025-04-03 12:41:17 +02:00
Konrad Lalik 8855256638 Alerting: Fix days of month description and validation (#103341)
Improve days_of_month validator, fix misleading field description
2025-04-03 12:39:30 +02:00
Torkel Ödegaard e0b15bb72d Dashboard: Hide canvas actions in old grid if dashboardNewLayouts is disabled (#103338) 2025-04-03 12:32:47 +02:00
Sven Grossmann f277902682 Sidebar: Create a sidebar that can render an extension (#102626)
* Extension Sidebar: Add missing `web-section` icon

* Extension Sidebar: Add core extension sidebar components

* Extension Sidebar: Integrate extension sidebar into Grafana

* Extension Sidebar: Change extension point to alpha

* Extension Sidebar: Fix saved state of docked extensions

* Extension Sidebar: Delete from local storage if undocked

* Extension Sidebar: Move main scrollbar from body to pane

* Extension Sidebar: Expose `ExtensionInfo`

* Extension Sidebar: Move `useComponents` into ExtensionSidebar

* Extension Sidebar: Store selection in `localStorage`

* Extension Sidebar: Simplify return of extension point meta

* Extension Sidebar: Ensure `body` is scrollable when sidebar is closed

* Extension Sidebar: Add missing `GlobalStyles` change

* Extension Sidebar: Don't render `ExtensionSidebar` unless it should be open

* Extension Sidebar: Better toggle handling

* Extension Sidebar: Fix wrong header height

* Extension Sidebar: Change `getExtensionPointPluginMeta` to use `addedComponents` and add documentation

* Extension Sidebar: Add tests for `getExtensionPointPluginMeta`

* Extension Sidebar: Add tests for `ExtensionSidebarProvider`

* Extension Sidebar: Fix tests `ExtensionSidebarProvider`

* Extension Sidebar: Add tests `ExtensionToolbarItem`

* Extension Sidebar: Add `extensionSidebar` feature toggle

* Extension Sidebar: Put implementation behind `extensionSidebar` feature toggle

* update feature toggles

* fix lint

* Extension Sidebar: Only toggle if clicking the same button

* Extension Sidebar: Hide sidebar if chromeless

* Update feature toggles doc

* Sidebar: Add `isEnabled` to ExtensionSidebarProvider

* Extension Sidebar: Use conditional CSS classes

* Extension Sidebar: Move header height to GrafanaContext

* Sidebar: Adapt to feature toggle change

* Sidebar: Remove unused import

* Sidebar: Keep featuretoggles in ExtensionSidebar tests

* ProviderConfig: Keep `config` import in tests

* FeatureToggles: adapt to docs review

* fix typo
2025-04-03 12:16:35 +02:00
Stephanie Hingtgen b97b1cc730 K8s: Revert change around full path (#103334) 2025-04-03 04:57:26 -05:00
Jean-Philippe Quéméner f4ae8516bd chore(folders): add extended tracing to the folders service (#103007) 2025-04-03 11:54:47 +02:00
Torkel Ödegaard 4fffc3adaf OpionsPane: Minor padding fix (#103337) 2025-04-03 12:45:40 +03:00
Alex Khomenko 1ef4a1a4ab Provisioning: Centralise app notifications (#103290)
* Provisioning: Centralise app event notifications

* Remove test started notification

* Remove unused import
2025-04-03 12:34:38 +03:00
Leonor Oliveira feed071815 Codeql: enable PR check (#101392)
* Enable running a CodeQL check whenever someone opens a PR (for Go code)

* Fetch main in the GHA so CodeQL can properly compare code changes

* Try to fetch more of main to see if CodeQL can compare changes

* Also trigger on push

* Rename GHA

* Use only one workflow for all languages that runs on each puch hook

* Rename GHA

* Removing owner from deleted GHA

* Temporarily mark this GHA as not required for a PR to get merged

* Always run the workflow

* Mark action as non blocking
2025-04-03 11:19:58 +02:00
Oscar Kilhed d7771f7d21 Dynamic dashboards: Deduplicate titles of new rows and tabs (#103330)
Deduplicate titles of new rows and tabs
2025-04-03 10:44:09 +02:00
Alexander Akhmetov b49c532999 Alerting: Fix state transition from Recovering back to Alerting (#103286)
What is this feature?

This PR fixes a state transition issue where alerts transitioning from the Recovering state back to the Alerting state incorrectly entered the Pending state first if the rule had a For duration configured.

Why do we need this feature?

When an alert goes from Alerting to Recovering (when using the Keep firing for) and then back to Alerting, the existing logic would incorrectly put the alert into Pending state while it should be alerting and still sending notifications to the Alertmanager.
2025-04-03 11:40:45 +03:00
Torkel Ödegaard 5bc053730b Dashboard: Scroll to panel for custom grid (#103270) 2025-04-03 10:35:34 +02:00
Matheus Macabu 7165bc553a CloudMigrations: Add Cypress happy path test case scenarios (#103250) 2025-04-03 10:34:32 +02:00
Ashley Harrison 0fbb51ab08 Internationalisation: More automatic markup (#103260)
* easy markup

* final tweaks, betterer + translations

* fix unit test
2025-04-03 09:26:24 +01:00
Torkel Ödegaard a96f80312f DashboardOutline: Sync row collapse state with outline node collapse state (#103283)
DashboardOutline: Sync row expanded state with outline
2025-04-03 10:13:43 +02:00
Stephanie Hingtgen 4918d8720c Dashboard Restore: Remove experimental functionality under feature flag dashboardRestore for now - this will be reworked (#103204) 2025-04-03 02:52:54 -05:00
Will Assis db1f1c5df9 search: add manager kind to bleve (#103305) 2025-04-03 10:02:02 +03:00
Ryan McKinley 5dad2b6c0f Provisioning: Write finished job to history before delete (#103328) 2025-04-03 10:00:44 +03:00
grafana-pr-automation[bot] b41c38efe2 I18n: Download translations from Crowdin (#103324)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-03 03:33:16 +03:00
Drew Slobodnjak 240227c073 Table: Footer field selection fix (#103303) 2025-04-02 13:58:59 -07:00
Isabella Siu 6a699b69ba AWS: Add flag for multitenant temp credentials (#103307) 2025-04-02 16:25:50 -04:00
Yuri Tseretyan dc0083d879 Alerting: Sequential evaluation of rules in group (#98829)
* introduce RulesGroupComparer

* extract runJob method

* implement sequential evaluation

* Make sequence building testable & add comments

* Also run callback in recording rules + add tests

* Improve tests

* Address PR comments

---------

Co-authored-by: William Wernert <william.wernert@grafana.com>
2025-04-02 23:10:32 +03:00
Todd Treece ba5c38b078 K8s: Remove new context from client (#103069) 2025-04-02 14:59:54 -04:00
Alex Khomenko 147ae64136 Provisioning: Always show list page (#103246) 2025-04-02 21:51:14 +03:00
Kevin Minehart 88d54892bd CI: Move e2e test pipeline from Drone to GitHub Actions (#103134)
* Add e2e dagger pipeline

* various-suite not various suite

* upload videos dir

* produce e2e videos even on failure

* nil ref

* sync doesn't return container

* fix quotes

* try without flags first?

* try without quoting?

* use two dashes in flags

* update CODEOWNERS

* make update-workspace

* go work sync

* make update-workspace

* add newline
2025-04-02 13:31:47 -05:00
Bogdan Matei 0e1cb44ad9 Dynamic Dashboard: Redesign conditional rendering [2] (#103112) 2025-04-02 20:50:36 +03:00
Bogdan Matei c372012abc Dynamic Dashboards: Replace add pane with add dropdown (#103301) 2025-04-02 19:18:16 +02:00
Leon Sorokin c5264e3bfc LogsPanel: Speed up labels processing by 50x (#103296) 2025-04-02 12:15:27 -05:00
Andreas Christou 47ec51fda7 Influx: Support PDC for Influx SQL (#103032)
* Support PDC for Influx SQL

* Correctly set the gRPC transport creds dial option

* Logging and refactor

* Allow URLs with no scheme

* Use passthrough resolver for socks proxy

* Update comment

* Extract url parsing and add test

* Check err
2025-04-02 16:21:59 +01:00
renovate[bot] 4f19995bef Update scenes to v6.6.2 (#103280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 18:02:45 +03:00
Joey 15330c3e66 NodeGraph: Add node graph algorithm layout option (#102760)
* Add layout buttons

* Add config for node graph panel

* Tests

* Update test

* Updates

* Move grid button and cache nodes

* Remove limit and add warning

* Update default
2025-04-02 15:56:22 +01:00
Vardan Torosyan 6901e21700 Docs: Grafana SCIM provisioning overview (#102183)
* Docs: Create a landing page for SCIM provisioning

* Fix docs warnings

* Update docs/sources/setup-grafana/configure-security/configure-scim-provisioning/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/setup-grafana/configure-security/configure-scim-provisioning/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Apply suggestions from code review

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Address some of the feedback and simplify few parts

* Remove repetitive wording

* Don't use possessive form, again

* Address the feedback from PR

* Docs: Manage users and teams via SCIM (#102478)

* Docs: Manage users and teams via SCIM

* Docs: Manage users and teams via SCIM

* Refactor managing users parts

* Add team sync docs

* Update _index.md

* Apply suggestions from code review

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

* Clarify how user identity linking is working

* Fix formatting

* Docs: Configure SCIM with Azure and Okta (#102582)

* Docs: Configure SCIM with Azure and Okta

* Apply suggestions from code review

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

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

* Add a warning about migration from team sync

* Remove the SAML setup instructions from SCIM docs

* Update _index.md

* Update _index.md

* Apply suggestions from code review

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Sarah Constant <sarahleejane@users.noreply.github.com>

* Address PR feedback

* Stop using possessive form

* Add a note mentioning that users/teams can not be manually deleted

* Update _index.md

* Docs: SCIM configuration options (#103085)

* Add a section to clarify how SCIM works with other IdPs

* Update _index.md

* Update _index.md

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Sarah Constant <sarahleejane@users.noreply.github.com>
2025-04-02 16:55:54 +02:00
Ryan McKinley 0a1dcfc1ce Chore: Update yarn.lock deps (#103277) 2025-04-02 17:51:11 +03:00
Piotr Jamróz 3fa60bd5a4 Tempo: Update lezer-traceql with new functions (#103282) 2025-04-02 14:26:53 +00:00
a3exodus 9d1c94eab5 docs: Add missing RBAC Action Definition Contact Point Receiver Test (#103273)
Update index.md
2025-04-02 17:23:57 +03:00