Skip to content

Commit eaa6099

Browse files
authored
Merge pull request #2492 from prometheus/bwplotka-patch-1
Small typo & formatting fix for remote_write_spec_2_0.md
2 parents 206136b + 52f8c8c commit eaa6099

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/docs/specs/remote_write_spec_2_0.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,11 @@ Upon a successful content negotiation, Receivers process (write) the received ba
146146

147147
Each header value MUST be a single 64-bit integer. The header names MUST be as follows:
148148

149-
* `X-Prometheus-Remote-Write-Samples-Written <integer; count of all successfully written Samples from this request>`
150-
* `X-Prometheus-Remote-Write-Histograms-Written <integer; count of all successfully Histogram samples from this request>`
151-
* `X-Prometheus-Remote-Write-Exemplars-Written <integer; count of all successfully Exemplars from this request>`
149+
```
150+
X-Prometheus-Remote-Write-Samples-Written <count of all successfully written Samples>
151+
X-Prometheus-Remote-Write-Histograms-Written <count of all successfully written Histogram samples>
152+
X-Prometheus-Remote-Write-Exemplars-Written <count of all successfully written Exemplars>
153+
```
152154

153155
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.
154156

0 commit comments

Comments
 (0)