grafana/pkg/services
Konrad Lalik db42af20ca
Alerting: Prometheus primary mode for the alert list page (#92975)
* Lazy loading of mimir groups

* Refactor rule statuses

* Use prometheus endpoint to populate namespace and group dropdowns

* Add a feature toggle

* Use lazy loading ruler rules if the feature toggle enabled

* Remove unnecessary props form dynamic table

* Remove query from hash calculation

* Conditionally load ns and group autocompletions from Prom or Ruler APIs

* Fix prometheus dto labels property type

* Add a new suggestions hook which provides autocomplete options for the alert rule form

* Improve delete status handling

* Add waiting for Prometheus endpoint consistency after update submission

* Get rule definition from ruler or prometheus endpoint in useCombinedRule

* Add Prometheus consistency check. Fix view page redirects

* Remove rules reload after rule creation, remove statuses from Prom primary mode

* Add waiting for Prometheus consistency on delete rule action

* Add groups list rendering improvements

* Add memo to useAbilities

* Fix GMA consistency check, fix GMA statuses

* defer filered rules rendering

* Update failing tests

* Update locales

* Add rule-id tests

* Remove unused action

* update loading styles

* Fix unrelated test

* Add a new object for reading alerting feature toggles, address minor review issues

* Improve consistency check

* update i18n

* Improve rule form redirects

* Refactor feature toggle handling

* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update public/app/features/alerting/unified/components/rule-viewer/RuleViewer.tsx

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Fix prettier issues

* Fix i18n

* Fix the feature toggle description

* Fix rule updates, fix ruler-based suggestions, wait for deletion for GMA rules

* Fix rename

* Remove unused code, improve copy

* Update i18n

* Fix url redirect when serving from subpath

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-09-27 14:27:16 +02:00
..
accesscontrol ManagedServiceAccounts: Add a config option to disable the feature on-prem (#93571) 2024-09-27 09:11:59 +02:00
annotations Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
anonymous Identity: Remove typed id (#91801) 2024-08-13 10:18:28 +02:00
apikey Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
apiserver K8s: Move standalone apiserver CLI to enterprise (#93799) 2024-09-27 09:04:35 +03:00
auth [authn] use authlib client+interceptors for in-proc mode (#93124) 2024-09-24 09:03:48 +03:00
authn Auth: Use sessionStorage instead of cookie for automatic redirection (#92759) 2024-09-24 18:38:09 +02:00
authz K8s: namespace mapper should use authlib's util (#92332) 2024-08-27 15:01:42 -07:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00
cloudmigration CloudMigrations: Avoid building GMS base path when provided (#93793) 2024-09-27 09:22:38 +02:00
contexthandler Auth: Use sessionStorage instead of cookie for automatic redirection (#92759) 2024-09-24 18:38:09 +02:00
correlations Correlations: Allow correlations to target URLs (#92442) 2024-09-24 09:38:17 -05:00
dashboardimport Identity: remove GetTypedID (#91745) 2024-08-09 18:20:24 +03:00
dashboards Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
dashboardsnapshots Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
dashboardversion Chore: removing (more) redundant transactions (#89373) 2024-06-25 09:19:49 -04:00
datasourceproxy Plugins: Preserve trailing slash in plugin proxy (#86859) 2024-06-05 13:36:14 +02:00
datasources Remove the need for plugins to implement AdmissionHandler for v0alpha1 (#93272) 2024-09-13 09:08:26 +02:00
encryption Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
extsvcauth ManagedServiceAccounts: Add a config option to disable the feature on-prem (#93571) 2024-09-27 09:11:59 +02:00
featuremgmt Alerting: Prometheus primary mode for the alert list page (#92975) 2024-09-27 14:27:16 +02:00
folder Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
gcom Cloud migrations: create route to delete token (#88297) 2024-05-31 10:03:43 -03:00
grpcserver Unified Storage: Propagate traces from the apiserver grpc client (#91226) 2024-08-06 09:52:11 -06:00
guardian Identity: remove GetTypedID (#91745) 2024-08-09 18:20:24 +03:00
hooks Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap LDAP: SSO Configuration page (#91875) 2024-08-20 17:31:13 +02:00
libraryelements LibraryElements: add fake service implementation and replace its usage in Dashboard API (#93783) 2024-09-27 14:22:29 +02:00
librarypanels Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
licensing Navigation: Remove ApplyAdminIA logic (#89113) 2024-06-12 16:45:13 +01:00
live Live: Clean up redis after test run (#93806) 2024-09-26 08:41:47 -04:00
login Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
loginattempt Chore: Add login protection when user is trying different uppercase letters (#87588) 2024-05-10 13:49:59 +02:00
navtree Home: add setup guide tab under home tab (#92947) 2024-09-25 18:20:04 +01:00
ngalert Alerting: Don't suppress translation errors in PointsFromFrames (#93747) 2024-09-26 16:30:50 -05:00
notifications Notifications: Add Message-ID header to outgoing emails (#83752) 2024-09-12 03:58:06 +00:00
oauthtoken Auth: Update oauthtoken service to use remote cache and server lock (#90572) 2024-08-19 18:57:37 +02:00
org Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
playlist Playlists: limit the total number of playlists (#92132) 2024-08-21 14:49:28 +03:00
plugindashboards chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
pluginsintegration ManagedServiceAccounts: Add a config option to disable the feature on-prem (#93571) 2024-09-27 09:11:59 +02:00
preference Bookmarks: Store URLs instead of ids (#91121) 2024-07-31 13:56:39 +01:00
provisioning Correlations: Allow correlations to target URLs (#92442) 2024-09-24 09:38:17 -05:00
publicdashboards Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
query Chore: Bump Go to 1.23.0 (#92105) 2024-08-21 11:40:42 -04:00
queryhistory Explore: Check for RBAC permissions when hitting query history endpoints (#91156) 2024-07-31 12:10:52 -06:00
quota Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
rendering Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
screenshot Chore: Refactor render via http (#84613) 2024-05-14 07:24:18 -03:00
search chore(tracing): add tracing for frontend and db session (#91509) 2024-08-05 17:17:39 -08:00
searchusers Chore: Bump Go to 1.23.0 (#92105) 2024-08-21 11:40:42 -04:00
searchV2 Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
secrets Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
serviceaccounts ManagedServiceAccounts: Add a config option to disable the feature on-prem (#93571) 2024-09-27 09:11:59 +02:00
shorturls Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
signingkeys Signer: Fix typo (#92928) 2024-09-04 15:01:24 +02:00
sqlstore Cloud migrations: store resource name in the cloud_migration_resource table (#93612) 2024-09-26 11:16:52 -03:00
ssosettings LDAP: Remove omitempty flag from json annotation (#91843) 2024-08-13 18:17:52 +03:00
star Identity: remove GetTypedID (#91745) 2024-08-09 18:20:24 +03:00
stats Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
store SearchV2: Fix reading library panels (#92961) 2024-09-05 13:42:15 +02:00
supportbundles Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
tag Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
team Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
temp_user Chore: removing (more) redundant transactions (#89373) 2024-06-25 09:19:49 -04:00
updatechecker Chore: Making versioncheck url rely on config instead of being hardcoded (#85855) 2024-04-11 12:04:53 +02:00
user Revert read replica POC (#93551) 2024-09-25 15:21:39 -08:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00