You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[ENHANCEMENT]Tenant deletion endpoints now support deletion of ruler groups. This only works when using rule store that supports deletion.#3750
75
+
*[ENHANCEMENT]Ruler now has new API endpoint `/ruler/delete_tenant_config` that can be used to delete all ruler groups for tenant. It is intended to be used by administrators who wish to clean up state after removed user. Note that this endpoint is enabled regardless of `-experimental.ruler.enable-api`.#3750#3899
76
76
*[ENHANCEMENT] Query-frontend, query-scheduler: cleanup metrics for inactive tenants. #3826
77
77
*[ENHANCEMENT] Distributor: Prevent failed ingestion from affecting rate limiting. #3825
78
78
*[ENHANCEMENT] Blocks storage: added `-blocks-storage.s3.region` support to S3 client configuration. #3811
@@ -636,6 +637,18 @@ _This experimental endpoint is disabled by default and can be enabled via the `-
636
637
637
638
_Requires [authentication](#authentication)._
638
639
640
+
### Delete tenant configuration
641
+
642
+
```
643
+
POST /ruler/delete_tenant_config
644
+
```
645
+
646
+
This deletes all rule groups for tenant, and returns `200` on success. Calling endpoint when no rule groups exist for user returns `200`. Authentication is only to identify the tenant.
647
+
648
+
This is intended as internal API, and not to be exposed to users. This endpoint is enabled regardless of whether `-experimental.ruler.enable-api` is enabled or not.
level.Info(util_log.Logger).Log("msg", "Ruler storage is not configured. If you want to use tenant deletion API and delete rule groups, please configure ruler storage.")
0 commit comments