prometheus/docs
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
..
configuration template: adding formatTime function to TemplateExpander (#10993) 2022-07-14 23:45:32 +02:00
images Add 2.0 storage docs (#3423) 2017-11-07 22:00:38 +01:00
querying Add /api/v1/format_query API endpoint for formatting queries (#11036) 2022-07-20 14:55:09 +02:00
feature_flags.md no-default-scrape-port feature flag (#9523) 2022-07-20 13:35:47 +02:00
federation.md Fix typo (#5796) 2019-07-24 10:41:14 +01:00
getting_started.md Update getting started guide with the new UI 2022-01-14 23:14:55 +02:00
http_sd.md Added a failure counter to the HTTP service discovery (#10372) 2022-03-08 14:10:45 +01:00
index.md Update prometheus.io's URL to the latest version (#5270) 2019-02-27 10:39:50 +00:00
installation.md docs: minor corrections to the docker documentation (#6869) 2020-08-31 15:44:08 +01:00
management_api.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
migration.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
stability.md Merge release-2.28 back into main (#8975) 2021-06-22 00:59:31 +02:00
storage.md Clarify units of --storage.tsdb.retention.size (#10154) 2022-01-13 00:55:57 +01:00