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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
*[CHANGE] StoreGateway/Alertmanager: Add default 5s connection timeout on client. #6603
5
5
*[CHANGE] Ingester: Remove EnableNativeHistograms config flag and instead gate keep through new per-tenant limit at ingestion. #6718
6
6
*[CHANGE] Validate a tenantID when to use a single tenant resolver. #6727
7
+
*[FEATURE] Add new Overrides API module. Rename old overrides module to overrides-configs.
7
8
*[FEATURE] Distributor: Add an experimental `-distributor.otlp.allow-delta-temporality` flag to ingest delta temporality otlp metrics. #6934
8
9
*[FEATURE] Query Frontend: Add dynamic interval size for query splitting. This is enabled by configuring experimental flags `querier.max-shards-per-query` and/or `querier.max-fetched-data-duration-per-query`. The split interval size is dynamically increased to maintain a number of shards and total duration fetched below the configured values. #6458
9
10
*[FEATURE] Querier/Ruler: Add `query_partial_data` and `rules_partial_data` limits to allow queries/rules to be evaluated with data from a single zone, if other zones are not available. #6526
|[Get user overrides](#get-user-overrides)| Overrides ||`GET /api/v1/user-overrides`|
70
+
|[Set user overrides](#set-user-overrides)| Overrides ||`PUT /api/v1/user-overrides`|
71
+
|[Delete user overrides](#delete-user-overrides)| Overrides ||`DELETE /api/v1/user-overrides`|
69
72
|[Store-gateway ring status](#store-gateway-ring-status)| Store-gateway ||`GET /store-gateway/ring`|
70
73
|[Compactor ring status](#compactor-ring-status)| Compactor ||`GET /compactor/ring`|
71
74
|[Get rule files](#get-rule-files)| Configs API (deprecated) ||`GET /api/prom/configs/rules`|
@@ -872,6 +875,64 @@ Returns status of tenant deletion. Output format to be defined. Experimental.
872
875
873
876
_Requires [authentication](#authentication)._
874
877
878
+
## Overrides
879
+
880
+
The Overrides service provides an API for managing user overrides.
881
+
882
+
### Get user overrides
883
+
884
+
```
885
+
GET /api/v1/user-overrides
886
+
```
887
+
888
+
Get the current overrides for the authenticated tenant. Returns the overrides in JSON format.
889
+
890
+
_Requires [authentication](#authentication)._
891
+
892
+
### Set user overrides
893
+
894
+
```
895
+
PUT /api/v1/user-overrides
896
+
```
897
+
898
+
Set or update overrides for the authenticated tenant. The request body should contain a JSON object with the override values.
899
+
900
+
_Requires [authentication](#authentication)._
901
+
902
+
### Delete user overrides
903
+
904
+
```
905
+
DELETE /api/v1/user-overrides
906
+
```
907
+
908
+
Delete all overrides for the authenticated tenant. This will revert the tenant to using default values.
909
+
910
+
_Requires [authentication](#authentication)._
911
+
912
+
#### Example request body for PUT
913
+
914
+
```json
915
+
{
916
+
"ingestion_rate": 50000,
917
+
"max_global_series_per_user": 1000000,
918
+
"ruler_max_rules_per_rule_group": 100
919
+
}
920
+
```
921
+
922
+
#### Supported limits
923
+
924
+
The following limits can be modified via the API:
925
+
-`max_global_series_per_user`
926
+
-`max_global_series_per_metric`
927
+
-`ingestion_rate`
928
+
-`ingestion_burst_size`
929
+
-`ruler_max_rules_per_rule_group`
930
+
-`ruler_max_rule_groups_per_tenant`
931
+
932
+
#### Hard limits
933
+
934
+
Overrides are validated against hard limits defined in the runtime configuration file. If a requested override exceeds the hard limit for the tenant, the request will be rejected with a 400 status code.
0 commit comments