mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 02:46:59 +08:00
layout: add wget script
This commit is contained in:
parent
c00dd87733
commit
076db62de4
1 changed files with 7 additions and 3 deletions
10
rules.md
10
rules.md
|
|
@ -58,9 +58,13 @@
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
{% if nbrRules == 0 %}
|
{% if nbrRules == 0 %}
|
||||||
{% highlight javascript %}
|
{% highlight javascript %}
|
||||||
// @TODO: Please contribute => https://github.com/samber/awesome-prometheus-alerts 👋
|
// @TODO: Please contribute => https://github.com/samber/awesome-prometheus-alerts 👋
|
||||||
{% endhighlight %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue