diff --git a/content/docs/specs/remote_write_spec_2_0.md b/content/docs/specs/remote_write_spec_2_0.md index fb7a089b..270a4312 100644 --- a/content/docs/specs/remote_write_spec_2_0.md +++ b/content/docs/specs/remote_write_spec_2_0.md @@ -146,9 +146,11 @@ Upon a successful content negotiation, Receivers process (write) the received ba Each header value MUST be a single 64-bit integer. The header names MUST be as follows: -* `X-Prometheus-Remote-Write-Samples-Written ` -* `X-Prometheus-Remote-Write-Histograms-Written ` -* `X-Prometheus-Remote-Write-Exemplars-Written ` +``` +X-Prometheus-Remote-Write-Samples-Written +X-Prometheus-Remote-Write-Histograms-Written +X-Prometheus-Remote-Write-Exemplars-Written +``` Upon receiving a 2xx or a 4xx status code, Senders CAN assume that any missing `X-Prometheus-Remote-Write-*-Written` response header means no element from this category (e.g. Sample) was written by the Receiver (count of `0`). Senders MUST NOT assume the same when using the deprecated `prometheus.WriteRequest` Protobuf Message due to the risk of hitting 1.0 Receiver without this feature.