Will Browne
48877f9187
Alerting: Fix plugin not found error during condition validation ( #102437 )
...
improve error
2025-04-04 10:37:55 +01:00
Jack Westbrook and Hugo Häggmark
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2025-04-04 11:31:35 +02:00
Peter Štibraný
b1198b92c6
authinfoimpl: Fix TestIntegrationAuthInfoStore when running on Spanner. ( #103383 )
...
Fix TestIntegrationAuthInfoStore when running on Spanner.
2025-04-04 11:20:48 +02:00
Mihai Doarna
a0bce1e12f
Team: Fix createTeam API handler ( #103441 )
...
fix createTeam API handler
2025-04-04 12:02:33 +03:00
Peter Štibraný
1c631c17d4
Rename existing tests in pkg/services/serviceaccounts/database package to make them an integration tests. ( #103373 )
...
Rename existing tests in pkg/services/serviceaccounts/database package to make then an integration tests.
2025-04-04 11:12:02 +03:00
Mihai Doarna
10411361e7
Team: Add columns external_uid and is_provisioned to the team table ( #103285 )
...
* add columns external_id and is_provisioned to the team table
* generate openapi specs
* rename column to external_uid
* generate open api specs
* increase limit for external_uid to 256
2025-04-04 11:00:14 +03:00
Ryan McKinley
04fb9f534e
Dashboards: Only expose LibraryPanels and search on v0 (not v1+v2) ( #103335 )
2025-04-03 20:24:12 +03:00
Peter Štibraný
413378dd3a
Retry aborted transactions on Spanner. ( #103289 )
...
* Retry aborted transactions on Spanner.
2025-04-03 16:26:09 +02:00
Sonia Aguilar and Tom Ratcliffe
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
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
Jean-Philippe Quéméner
f4ae8516bd
chore(folders): add extended tracing to the folders service ( #103007 )
2025-04-03 11:54:47 +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
Matheus Macabu
7165bc553a
CloudMigrations: Add Cypress happy path test case scenarios ( #103250 )
2025-04-03 10:34:32 +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
Isabella Siu
6a699b69ba
AWS: Add flag for multitenant temp credentials ( #103307 )
2025-04-02 16:25:50 -04:00
Yuri Tseretyan and William Wernert
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
Alyssa (Bull) Joyner
3b73ebb210
Azure Monitor: Add logs query builder ( #99055 )
2025-04-02 08:15:25 -06: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
Ryan McKinley
c54496a3f9
Search: Avoid panic with missing title ( #103257 )
2025-04-02 15:43:08 +03: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
Andres Martinez Gotor
f1e214261c
Chore: Allow for an applink to set a subtitle ( #103205 )
2025-04-02 12:43:21 +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
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
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
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
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
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
linoman
d82d03a1d3
SCIM: Update authinfoquery ( #103123 )
...
* Rewrite mismatched externalUID error message
* Update AuhtInfo if user exists
2025-03-31 22:42:07 +02:00
Nick Richmond
5ef9533751
MetricsDrilldown: Mark exploreMetricsUseExternalAppPlugin as not frontend-only ( #102942 )
...
* fix: mark `exploreMetricsUseExternalAppPlugin` as not frontend-only
* docs: explicitly show feature toggle in docs
* Revert "docs: explicitly show feature toggle in docs"
This reverts commit 292ce7f7e8 .
2025-03-31 15:16:04 -04:00
Will Assis
15c5b45724
dashboards: remove unused function from dashboard service ( #103104 )
...
remove unused function from dashboard service
2025-03-31 13:54:38 -04:00
Tobias Skarhed and Andrej Ocenas
c321afdeb7
Scopes: Fetch ScopeNavigation and display them ( #102385 )
...
* Initial API client for ScopesNavigation
* Display scopes navigation items and group them
* Remove refactored component
* Fix link highlighting
* Underline on focus
* Set icons based un URL path
* Remove explicit icon names
* Add links to copy
* Map dashboardbinding to scopeNavigation in folder generation
* Consolidate dashboardbindings and scopenavigations to a single way of handling
* Let fetchDashboards handle all fetching
* Move endpoint types to core
* Remove comments
* Fix import
* Rename name to id
* Update translation
* Add feature toggle
* Fix tests
* Fix go.mod for some reason
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2025-03-31 17:20:00 +02:00
Laura Fernández
4ad0492d3d
i18n: Add locale to backend ( #102233 )
2025-03-31 15:59:07 +02:00
Stephanie Hingtgen
19a52ba35e
K8s: Dashboards: Fix multi-org quota ( #103073 )
2025-03-31 14:34:39 +01:00
Peter Štibraný
2439301515
datasources: Use fewer datasources in tests. ( #103091 )
2025-03-31 15:20:03 +02:00
Peter Štibraný
f7f28757f6
Skip noop migrations, instead of executing SELECT 0. ( #103086 )
...
* Skip noop migrations, instead of executing SELECT 0.
2025-03-31 15:19:32 +02:00
Mariell Hoversholm
827d86a985
Provisioning: Show in nav tree without feature enabled ( #102980 )
2025-03-31 15:06:17 +02:00
Leonor Oliveira and maicon
c3b039f3a2
Start using otel in storage/unified/resource ( #102616 )
...
* Start using otel storage/unified/resource
* make update-workspace
* Go mod build owners
* Make workspace-update
* Update pkg/storage/unified/resource/access.go
Co-authored-by: maicon <maiconscosta@gmail.com >
* Add introduced pkg/apis to dependabot file
* Revert "Update pkg/storage/unified/resource/access.go"
This reverts commit f50e29d0394e48d5cd5bfbab154cb83da0b2f8b2.
* Revert "Update pkg/storage/unified/resource/access.go"
This reverts commit f50e29d0394e48d5cd5bfbab154cb83da0b2f8b2.
* Use traceid only
---------
Co-authored-by: maicon <maiconscosta@gmail.com >
2025-03-31 09:58:01 -03:00
Peter Štibraný
f7af15eb33
Add 5 seconds timeout to queries in DashboardPermissionFilter tests. ( #103094 )
2025-03-31 14:45:51 +02:00
Eric Leijonmarck
180f579f18
Revert "Anonymous: Enforce org role Viewer setting ( #102070 )" ( #103043 )
...
This reverts commit e216c2f29d .
2025-03-31 10:31:53 +01:00
Hugo Häggmark and Will Browne
18ae5d7f0c
i18n: wires up translations for plugins ( #102853 )
...
* i18n: consolidate i18n types & runtime services
* Chore: updates after PR feedback
* Chore: updates after feedback
* Chore: updates after feedback
* Chore: adds feature toggle
* Chore: adds locale to backend
* Chore: adds locales to i18n instance
* Chore: fix missing path in CODEOWNERS
* Chore: fix go lint issues
* Chore: fix missing path in CODEOWNERS
* Chore: updates after PR feedback
* Trigger build
* Chore: updates after PR feedback
* Chore: use resolved language for lookup
* Chore: updates after PR feedback
* Update pkg/plugins/plugins.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* Chore: updates after PR feedback
* Chore: updates after PR feedback
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2025-03-31 06:38:38 +02:00
Josh Hunt
7ea0fab606
Prometheus: Enable Combobox metric select by default ( #101045 )
...
* Prometheus: enable prometheusUsesCombobox toggle by default
* bold Combobox
2025-03-30 20:24:53 +03:00
Michael Mandrus
88e51d549c
CloudMigrations: Add sorting and error filtering to Snapshot Results backend ( #102753 )
...
* implement sorting
* swagger gen
* minor fixes
* clean up param reading
* add todo
* add errors only prop
* codegen stuff
* fix copy paste error
* forgot the api gen
* cleanup
* remove tests that are obe
* fix test
2025-03-30 10:42:45 -04:00
Stephanie Hingtgen
f84654d162
Stats: Optimize getting folder stats ( #103033 )
2025-03-28 20:17:50 -05:00
Stephanie Hingtgen
b67b9e3c5e
K8s: Folders: Reduce db calls with /api/folders ( #103058 )
2025-03-28 18:13:08 -05:00
Stephanie Hingtgen
290e5cbe83
Navtree: Add dashboard type to reduce query ( #103057 )
2025-03-29 00:22:24 +02:00
Stephanie Hingtgen
5fa9f2b425
K8s: Folders: Remove unneeded parent calls ( #103036 )
2025-03-28 07:36:47 -04:00
Stephanie Hingtgen
ac30bd432a
Navtree: Fix flaky test ( #103029 )
2025-03-28 00:32:00 +02:00