Alexander Akhmetov
babe188e31
Alerting: Fix path for cortex-style Prometheus namespaces conversion endpoint ( #103655 )
2025-04-09 10:40:22 +02:00
linoman
eeb4c045d3
SCIM: Add access control for non provisioned users ( #103596 )
...
* Add hook to validate access for users based on provisioning logic
* Wire the hook
* Add tests
* declare new variables for errors
* rework the authorization flow for provisioned users
* Add scim feature to testinfra opts
* Grant access if the identity doesn't have associated a user
* skip external uid check for subsequent calls
* Update tests
2025-04-08 22:50:39 +02:00
Matheus Macabu
3fad6183aa
CloudMigrations: Create resource dependency map to validate snapshot request ( #102594 )
...
* CloudMigrations: Create resource dependency map to validate snapshot request
* CloudMigrations: Validate resource types dependencies in create snapshot request
* CloudMigrations: Update service interface to pass parsed resource types for creation
* CloudMigrations: Conditionally append resource to snapshot if enabled
* CloudMigrations: Add /cloudmigration/resources/dependencies endpoint
* CloudMigrations: Properly filter dashboards and folders from snapshot
2025-04-08 17:46:25 +02:00
Joey
fc37bb4355
Remove nodeGraphDotLayout feature toggle ( #103541 )
2025-04-08 15:37:17 +01:00
Peter Štibraný
4efdef9b9c
Switch to using in-mem sequence generator only when explicitly configured in connection string. Move spanner-related functions to pkg/util/spanner. ( #103363 )
...
* Switch to using in-mem sequence generator only when explicitly configured in connection string.
Move spanner-related functions to pkg/util/spanner.
2025-04-08 16:36:37 +02:00
Cory Forseth
4caa9853cb
Authorization: Add group to role DisplayName to make filtered list more clear ( #102950 )
...
* add group to role DisplayName to make searching easier
* clean up more role names; add filtered display text when fetching
* pass filter state into role menu to decide how to display role name
* prop name better describes what it does
2025-04-08 09:15:03 -05:00
William Wernert
a8f60de620
Alerting: Remove feature toggles relating to Loki Alert State History ( #103540 )
...
* Remove feature toggles relating to Loki Alert State History
2025-04-08 09:50:27 -04:00
Peter Štibraný
04ac3960de
anonstore: Fix more test failures in anonstore package. ( #103459 )
...
Fix more test failures in anonstore package.
2025-04-08 14:57:59 +02:00
Michael Mandrus
0fd7dfeb2a
CloudMigrations: Implement table sorting in the UI ( #103061 )
...
* 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
* implement sorting on the frontend
* remove unused enums
* cleanup
* remove tests that are obe
* fix merge
* change page length based on checked box
* cleanup
* fix test
* i18n-extract
* var name tweaks
* use switch and conditional rendering instead of checkbox
* i18n-extract
* use initial sort
* fix type
* fix layout
* fix bugs
* make betterer happy
* fix var names
2025-04-08 08:14:17 -04:00
Josh Hunt
577ea8f6a9
GrafanaUI: Remove blurred background from overlay backdrops to improve performance ( #103563 )
...
* default noBackdropBlur to enabled
* move blur from hacks to theme.components, tweak backdrop colour
* remove toggle completely
* fix unused import
2025-04-08 11:58:19 +01:00
Arati R.
df537d6f0f
UniStore/Large Objects: Make threshold configurable ( #101774 )
...
* Make blob threshold configurable
* Test condition for deconstructing large objects
* Refactor blob threshold naming
2025-04-08 10:50:35 +02:00
Mihai Doarna
64e005d12f
Teams: Restrict provisioned teams from being updated and deleted ( #103454 )
...
* restrict provisioned teams from being updated and deleted
* check if team is provisioned before update and delete
* add function getTeamDTOByID()
* check if team is provisioned in access control
* fix TestDeleteTeamMembersAPIEndpoint
* add unit tests
* add function for validating a team
2025-04-08 11:27:30 +03:00
Alexander Zobnin
4bc9203cf6
Zanzana: Perform shadow requests ( #103444 )
...
* Zanzana: Execute checks in the background
* add metrics
* collect metrics
* cleanup
* shadow compile checker
* add time metrics for compiler
* run compile in parallel
* prevent deadlock
2025-04-08 10:03:35 +02:00
Alexander Akhmetov
c4a2f99d8b
Alerting: Allow importing Prometheus rules with keep_firing_for ( #103557 )
2025-04-07 22:33:07 +02:00
Alexander Akhmetov
66006928b8
Alerting: Set ExecErrState to Normal for imported Prometheus rules ( #103556 )
2025-04-07 21:55:32 +02:00
Alexander Akhmetov
09a7f9ba1c
Alerting: Update external alert manager notifier ( #103530 )
2025-04-07 17:09:23 +02:00
Ryan McKinley
63af403897
Live: Remove queryOverLive and live-service-web-worker experimental feature flags ( #103518 )
2025-04-07 17:47:35 +03:00
Matias Chomicki
e2a6f9a849
Logs: Add new Controls component to Explore ( #103401 )
...
* ControlledLogRows: create component
* Fix imports
* ControlledLogRows: handle scroll events
* Rename storage key prop
* LogListControls: externally control syntax highlighting
* ControlledLogRows: add support for level filtering
* Logs: implement deduplication from controls
* Fix imports
* Create feature flag
* Use feature flag
* LogListControls: add download button
* LogsMetaRow: extract download function to logs utils
* Filter and download logs
* Update tests with new props
* LogList: pass logs and logs meta to context
* Remove prefix from downloaded file
* Update unit tests
* LogListControl: update unit tests
* Fix type assertion
* Fix imports
* Formatting
* i18n
* Fix test
* LogListControls: adjust scroll to top styles
* LogListContext: control legacy options
* LogListControls: add showUniqueLabels and prettifyJSON options
* LogListControls: test new controls
* Extract translations
* Hide old controls by feature flag
* LogListControls: update prettify json copy
* ControlledLogRows: disable preview
* Prettier
* LogListControls: Fix test
2025-04-07 16:38:55 +02:00
Leonor Oliveira
e9ed7223a6
Use authlib repo. Use otel ( #103178 )
...
* Use authlib repo. Use otel
* Use interceptors on the provider level
* Create a new wire set with otel
* Lint
* Fix test
* make update-workflow
* make update-workspace
* make update-workspace. Try to add authlib as enterprise imports
* make update-workspace
2025-04-07 15:47:40 +02:00
Will Assis
9bc4fbe900
alerting: batch user service calls ( #103403 )
...
* update alerting endpoints to batch requests to the user service via ListByIdOrUID
2025-04-07 07:33:15 -04:00
Alexander Akhmetov
cf5da1d366
Alerting: Fix swagger in pkg/services/ngalert/api/tooling ( #103500 )
2025-04-07 12:38:07 +02:00
Peter Štibraný
68c6e88b00
Support creating temporary Spanner databases for integration tests. ( #103347 )
...
* Support creating temporary Spanner databases for integration tests.
2025-04-07 12:15:16 +02:00
Stephanie Hingtgen
8cd6f837a5
Dashboards: Prevent saving to a non-existent folder ( #103503 )
2025-04-07 09:02:20 +03:00
Marco de Abreu
b2f80d4dca
Dashboards: Add Dashboard API Validation tests and fix underlying issues ( #103502 )
2025-04-07 05:44:28 +03:00
Todd Treece
427715b070
Dashboards: Add k8s fallback client ( #103404 )
2025-04-06 16:38:06 -04:00
Alexander Akhmetov
bdbe94abc8
Alerting: Remove alertingConversionAPI feature flag ( #103380 )
2025-04-05 09:27:02 +01:00
Alex Khomenko
5e02532073
Provisioning: Update onboarding page ( #103436 )
...
* Change feature name
* Update feature list
* Update connect button
* Update enhanced features
* Cleanup
2025-04-04 13:08:58 +03:00
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
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
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
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