prometheus/docs/configuration
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
..
alerting_rules.md Update alerting_rules.md (#7252) 2020-09-07 17:30:01 +01:00
configuration.md docs: 📝 Changed occurences of proxy_connect_headers to proxy_connect_header 2023-01-09 14:11:00 +01:00
https.md docs: correct the accepted value for X-XSS-Protection header (#11015) 2022-07-14 00:50:02 +02:00
index.md
recording_rules.md Update example rules file to be valid with the default scrape config (#11692) 2023-01-09 19:36:07 -05:00
template_examples.md format markdown code block (#5594) 2019-05-25 11:28:50 +01:00
template_reference.md template: adding formatTime function to TemplateExpander (#10993) 2022-07-14 23:45:32 +02:00
unit_testing_rules.md Terminology amendment 2022-12-15 16:22:40 +00:00