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
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
*[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
6
6
*[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
7
7
*[FEATURE] Update prometheus alertmanager version to v0.28.0 and add new integration msteamsv2, jira, and rocketchat. #6590
8
-
*[FEATURE] Ingester: Add a `-ingester.enable-ooo-native-histograms` flag to enable out-of-order native histogram ingestion per tenant. It only takes effect when `-blocks-storage.tsdb.enable-native-histograms=true` and `-ingester.out-of-order-time-window` > 0. It is applied after the restart if it is changed at runtime through the runtime config.#6626
8
+
*[FEATURE] Ingester: Support out-of-order native histogram ingestion. It automatically enabled when `-ingester.out-of-order-time-window > 0` and `-blocks-storage.tsdb.enable-native-histograms=true`.#6626#6663
9
9
*[ENHANCEMENT] Querier: limit label APIs to query only ingesters if `start` param is not been specified. #6618
10
10
*[ENHANCEMENT] Alertmanager: Add new limits `-alertmanager.max-silences-count` and `-alertmanager.max-silences-size-bytes` for limiting silences per tenant. #6605
11
11
*[ENHANCEMENT] Update prometheus version to v3.1.0. #6583
Copy file name to clipboardExpand all lines: docs/guides/native-histograms.md
+6-27Lines changed: 6 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -55,35 +55,14 @@ overrides:
55
55
56
56
## How to enable out-of-order native histograms ingestion
57
57
Like samples out-of-order ingestion, the Cortex allows out-of-order ingestion for the native histogram.
58
-
To enable it, set the flag `-ingester.enable-ooo-native-histograms`.
58
+
It is automatically enabled when `-blocks-storage.tsdb.enable-native-histograms=true` and `-ingester.out-of-order-time-window > 0`.
59
59
60
60
And via yaml:
61
+
61
62
```yaml
63
+
blocks_storage:
64
+
tsdb:
65
+
enable_native_histograms: true
62
66
limits:
63
-
enable_ooo_native_histograms: <bool>
64
-
```
65
-
66
-
Is it only works if when `-blocks-storage.tsdb.enable-native-histograms=true` and `-ingester.out-of-order-time-window > 0`.
67
-
68
-
To enable it per tenant, you can utilize a [runtime config](../configuration/arguments.md#runtime-configuration-file).
69
-
70
-
For example, the following yaml file specifies enabling out-of-order native histogram ingestion for `user-1`, but not for `user-2`.
71
-
72
-
```
73
-
overrides:
74
-
user-1:
75
-
enable_ooo_native_histograms: true
76
-
user-2:
77
-
enable_ooo_native_histograms: false
78
-
```
79
-
80
-
**Caution**: It is applied after the Ingester restart if it is changed at runtime through the runtime config.
81
-
For example, if you have changed the `enable_ooo_native_histograms` value to `false` of the `user-1` via the below yaml file, then the Ingester stops the out-of-order ingestion not until the Ingester restarts.
f.IntVar(&l.MaxGlobalSeriesPerMetric, "ingester.max-global-series-per-metric", 0, "The maximum number of active series per metric name, across the cluster before replication. 0 to disable.")
261
259
f.IntVar(&l.MaxExemplars, "ingester.max-exemplars", 0, "Enables support for exemplars in TSDB and sets the maximum number that will be stored. less than zero means disabled. If the value is set to zero, cortex will fallback to blocks-storage.tsdb.max-exemplars value.")
262
260
f.Var(&l.OutOfOrderTimeWindow, "ingester.out-of-order-time-window", "[Experimental] Configures the allowed time window for ingestion of out-of-order samples. Disabled (0s) by default.")
263
-
f.BoolVar(&l.EnableOOONativeHistograms, "ingester.enable-ooo-native-histograms", false, "[Experimental] Enable out-of-order native histogram ingestion, it only takes effect when -blocks-storage.tsdb.enable-native-histograms=true and -ingester.out-of-order-time-window > 0. It is applied after the restart if it is changed at runtime through the runtime config.")
264
261
265
262
f.IntVar(&l.MaxLocalMetricsWithMetadataPerUser, "ingester.max-metadata-per-user", 8000, "The maximum number of active metrics with metadata per user, per ingester. 0 to disable.")
266
263
f.IntVar(&l.MaxLocalMetadataPerMetric, "ingester.max-metadata-per-metric", 10, "The maximum number of metadata per metric, per ingester. 0 to disable.")
@@ -906,11 +903,6 @@ func (o *Overrides) MaxExemplars(userID string) int {
906
903
returno.GetOverridesForUser(userID).MaxExemplars
907
904
}
908
905
909
-
// EnableOOONativeHistograms returns whether to ingest out-of-order native histogram for a given user.
0 commit comments