layout: add wget script

This commit is contained in:
Samuel Berthe 2022-12-05 00:13:22 +01:00
parent c00dd87733
commit 076db62de4
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C

View file

@ -58,9 +58,13 @@
</h2>
{% 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 %}
<ul>