From 076db62de427791dbad0aeaa651f4371844e0f18 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 5 Dec 2022 00:13:22 +0100 Subject: [PATCH] layout: add wget script --- rules.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rules.md b/rules.md index 71b15f2..f786f81 100644 --- a/rules.md +++ b/rules.md @@ -58,9 +58,13 @@ {% if nbrRules == 0 %} - {% highlight javascript %} - // @TODO: Please contribute => https://github.com/samber/awesome-prometheus-alerts 👋 - {% endhighlight %} +{% highlight javascript %} +// @TODO: Please contribute => https://github.com/samber/awesome-prometheus-alerts 👋 +{% endhighlight %} + {% else %} +{% highlight bash %} +$ wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/master/dist/rules/{{ service.name | replace: " ", "-" | downcase }}/{{ exporter.slug }}.yml +{% endhighlight %} {% endif %}