Browse Source

Merge pull request #14499 from prometheus/rw1.0-clarify-deprecation

clarify that 1.0 will eventually be deprecated, it is not yet deprecated
pull/14584/head
Bryan Boreham 4 months ago committed by GitHub
parent
commit
3ee42e197a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      config/config.go
  2. 2
      documentation/examples/remote_storage/example_write_adapter/README.md

5
config/config.go

@ -1085,8 +1085,9 @@ func (m RemoteWriteProtoMsgs) String() string {
}
var (
// RemoteWriteProtoMsgV1 represents the deprecated `prometheus.WriteRequest` protobuf
// message introduced in the https://prometheus.io/docs/specs/remote_write_spec/.
// RemoteWriteProtoMsgV1 represents the `prometheus.WriteRequest` protobuf
// 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
// this reference.

2
documentation/examples/remote_storage/example_write_adapter/README.md

@ -19,7 +19,7 @@ remote_write:
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
remote_write:

Loading…
Cancel
Save