diff --git a/CHANGELOG.md b/CHANGELOG.md index e80b786ed..16b3c0718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ * [CHANGE] Allow overlapping compactions by default in Prometheus when the Thanos sidecar is configured with uploads. #6906 * [FEATURE] Add `dnsConfig` and `dnsPolicy` fields to `Alertmanager`, `Prometheus`, `PrometheusAgent` and `ThanosRuler` CRDs. #3889 * [FEATURE] Add `ruleQueryOffset` field to `Prometheus` CRD and `query_offset` field to `PrometheusRule` CRD. #6957 +* [FEATURE] Add support for Remote Write v2.0 to `Prometheus` and `PrometheusAgent` CRDs. #7033 * [ENHANCEMENT] Add `goGC` field to `Prometheus` and `PrometheusAgent` CRDs. #6667 * [BUGFIX] Fix label name validation in `ScrapeConfig` CRD. #6892 diff --git a/Documentation/api.md b/Documentation/api.md index 84a6ac044..e969130ed 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -1991,6 +1991,22 @@ For more information see +[]RemoteWriteMessageVersion + + + +
List of the protobuf message versions to accept when receiving the +remote writes.
+It requires Prometheus >= v2.54.0.
+enableFeatures
List of the protobuf message versions to accept when receiving the +remote writes.
+It requires Prometheus >= v2.54.0.
+enableFeatures
List of the protobuf message versions to accept when receiving the +remote writes.
+It requires Prometheus >= v2.54.0.
+enableFeatures
string
alias)+(Appears on:CommonPrometheusFields, RemoteWriteSpec) +
+Value | +Description | +
---|---|
"V1.0" |
+Remote Write message’s version 1.0. + |
+
"V2.0" |
+Remote Write message’s version 2.0. + |
+
@@ -13937,6 +14007,7 @@ string
The name of the remote write queue, it must be unique if specified. The name is used in metrics and logging in order to differentiate queues.
It requires Prometheus >= v2.15.0.
@@ -13944,6 +14015,27 @@ name is used in metrics and logging in order to differentiate queues.messageVersion
The Remote Write message’s version to use when writing to the endpoint.
+Version1.0
corresponds to the prometheus.WriteRequest
protobuf message introduced in Remote Write 1.0.
+Version2.0
corresponds to the io.prometheus.write.v2.Request
protobuf message introduced in Remote Write 2.0.
When Version2.0
is selected, Prometheus will automatically be
+configured to append the metadata of scraped metrics to the WAL.
Before setting this field, consult with your remote storage provider +what message version it supports.
+It requires Prometheus >= v2.54.0.
+sendExemplars
List of the protobuf message versions to accept when receiving the +remote writes.
+It requires Prometheus >= v2.54.0.
+enableFeatures
List of the protobuf message versions to accept when receiving the +remote writes.
+It requires Prometheus >= v2.54.0.
+enableFeatures