Commit 0e0666c1 authored by beorn7's avatar beorn7

Use stronger wording for the text format order

The Python parser already depends on it, and the Go parser will soon
(once it supports streaming parsing). So the order is a "must", not a
"should".
parent ec5658e0
......@@ -82,7 +82,7 @@ syntax (EBNF):
`metric_name` and `label_name` have the usual Prometheus expression language restrictions. `label_value` can be any sequence of UTF-8 characters, but the backslash, the double-quote, and the line-feed characters have to be escaped as `\\`, `\"`, and `\n`, respectively.
`value` is a float, and timestamp an `int64` (milliseconds since epoch, i.e. 1970-01-01 00:00:00 UTC, excluding leap seconds), represented as required by the [Go strconv package](http://golang.org/pkg/strconv/) (see functions `ParseInt` and `ParseFloat`). In particular, `Nan`, `+Inf`, and `-Inf` are valid values.
All lines for a given metric should be provided as one uninterrupted group, with
All lines for a given metric must be provided as one uninterrupted group, with
the optional `HELP` and `TYPE` lines first.
The `histogram` and `summary` types are difficult to represent in the text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment