docs icon indicating copy to clipboard operation
docs copied to clipboard

alert rules example not working

Open Grummfy opened this issue 7 years ago • 8 comments

Hello, the alert rules example https://prometheus.io/docs/prometheus/latest/querying/examples/ seems not up to date. It could be cool to have copy/paste working example.

thanks

Grummfy avatar Apr 06 '18 14:04 Grummfy

Can you indicate which one isn't parsing for you?

brian-brazil avatar Apr 06 '18 14:04 brian-brazil

@brian-brazil In addition to this, the "alerting rules" link in docs/content/docs/alerting/overview.md is broken again.

ryancabrera avatar May 03 '18 00:05 ryancabrera

A lot of them are not working directly, perhaps you should put a warning saying this or this exporter must be activated. The parsing is working (if I remember it well), but without results

Grummfy avatar May 04 '18 17:05 Grummfy

They're made up examples, I'm not sure even when they were first written.

brian-brazil avatar May 05 '18 07:05 brian-brazil

There are specific app names etc which can not be expected to work.

But the main brunt should probably point towards things disable within Prometheus.

Sent by mobile; please excuse my brevity.

On Sat, May 5, 2018, 09:16 Brian Brazil [email protected] wrote:

They're made up examples, I'm not sure even when they were first written.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prometheus/docs/issues/999#issuecomment-386785878, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuEI3ekfVnJ-jkvcE_Een_CQWOEyhZYks5tvVHUgaJpZM4TKIwN .

RichiH avatar May 05 '18 07:05 RichiH

Will pr over the weekend.

Sent by mobile; please excuse my brevity.

On Sat, May 5, 2018, 09:18 Richard Hartmann [email protected] wrote:

There are specific app names etc which can not be expected to work.

But the main brunt should probably point towards things disable within Prometheus.

Sent by mobile; please excuse my brevity.

On Sat, May 5, 2018, 09:16 Brian Brazil [email protected] wrote:

They're made up examples, I'm not sure even when they were first written.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prometheus/docs/issues/999#issuecomment-386785878, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAuEI3ekfVnJ-jkvcE_Een_CQWOEyhZYks5tvVHUgaJpZM4TKIwN

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prometheus/docs/issues/999#issuecomment-386786003, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuEIxUoHifhZ7zyub5RPUbBVyUw0Auyks5tvVJegaJpZM4TKIwN .

RichiH avatar May 05 '18 07:05 RichiH

https://github.com/prometheus/prometheus/pull/4143

RichiH avatar May 06 '18 10:05 RichiH

Could resurrect the PR shown above after some rebasing.

hdost avatar Jun 14 '22 13:06 hdost