prometheus/docs/querying
Julius Volz b57deb6eb0
Add /api/v1/format_query API endpoint for formatting queries (#11036)
* Add /api/v1/format_query API endpoint for formatting queries

This uses the formatting functionality introduced in
https://github.com/prometheus/prometheus/pull/10544.

I've chosen "query" instead of "expr" in both the endpoint and parameter
names to stay consistent with the existing API endpoints. Otherwise, I
would have preferred to use the term "expr".

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Add docs for /api/v1/format_query endpoint

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Add note that formatting expressions removes comments

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-07-20 14:55:09 +02:00
..
api.md Add /api/v1/format_query API endpoint for formatting queries (#11036) 2022-07-20 14:55:09 +02:00
basics.md Make regex-matching docs more obvious 2022-01-14 23:18:31 +01:00
examples.md Examples: explain what the duration in brackets means (#10589) 2022-04-27 11:31:01 +02:00
functions.md Remove "This function was added in Prometheus 2.0" (#10719) 2022-05-20 21:43:58 +02:00
index.md Import querying documentation from prometheus/docs 2017-10-26 22:36:47 +02:00
operators.md docs: Add subsections for vector matching 2022-05-17 18:42:39 +02:00