clarify that 1.0 will eventually be deprecated, it is not yet deprecated

Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
Callum Styan 2024-07-22 15:07:12 -07:00
parent a60e5ce362
commit a4a5994f69
2 changed files with 4 additions and 3 deletions

View file

@ -1085,8 +1085,9 @@ func (m RemoteWriteProtoMsgs) String() string {
} }
var ( var (
// RemoteWriteProtoMsgV1 represents the deprecated `prometheus.WriteRequest` protobuf // RemoteWriteProtoMsgV1 represents the `prometheus.WriteRequest` protobuf
// message introduced in the https://prometheus.io/docs/specs/remote_write_spec/. // message introduced in the https://prometheus.io/docs/specs/remote_write_spec/,
// which will eventually be deprecated.
// //
// NOTE: This string is used for both HTTP header values and config value, so don't change // NOTE: This string is used for both HTTP header values and config value, so don't change
// this reference. // this reference.

View file

@ -19,7 +19,7 @@ remote_write:
protobuf_message: "io.prometheus.write.v2.Request" protobuf_message: "io.prometheus.write.v2.Request"
``` ```
or for deprecated Remote Write 1.0 message: or for the eventually deprecated Remote Write 1.0 message:
```yaml ```yaml
remote_write: remote_write: