prometheus/docs
Sam Jewell f88a0a7d83
Update example rules file to be valid with the default scrape config (#11692)
* Update docs example rules for default config

The prometheus download includes a default config to scrape itself.
This self-scraping prometheus doesn't include any metric named as
`http_inprogress_requests`, but does include one named
`prometheus_http_requests_total`.
Updating this example rule in the docs to one which can be used
out-of-the-box with the default download would be a nice improvement.

Signed-off-by: Sam Jewell <sam.jewell@grafana.com>

* Update syntax as per @LeviHarrison's review

Co-authored-by: Levi Harrison <levisamuelharrison@gmail.com>
Signed-off-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>

Signed-off-by: Sam Jewell <sam.jewell@grafana.com>
Signed-off-by: Sam Jewell <2903904+samjewell@users.noreply.github.com>
Co-authored-by: Levi Harrison <levisamuelharrison@gmail.com>
2023-01-09 19:36:07 -05:00
..
configuration Update example rules file to be valid with the default scrape config (#11692) 2023-01-09 19:36:07 -05:00
images Add 2.0 storage docs (#3423) 2017-11-07 22:00:38 +01:00
querying Show individual scrape pools on /targets page (#11142) 2022-12-23 11:55:08 +01:00
feature_flags.md Document the native histogram feature flag and PromQL (#11446) 2022-10-14 18:16:12 +05:30
federation.md doc: Add notes about feature not yet supported for native histograms (#11453) 2022-10-14 16:35:27 +05:30
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 /-/{healthy,ready}/ respond to HEAD (#11160) 2022-08-16 21:06:26 +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 Allow overlapping blocks by default (#11331) 2022-09-28 19:17:54 +05:30