mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 01:47:17 +08:00
Fix numbering
This commit is contained in:
parent
5e51c3daef
commit
42b2dc07a6
1 changed files with 2 additions and 1 deletions
3
rules.md
3
rules.md
|
|
@ -31,6 +31,7 @@
|
||||||
<li>
|
<li>
|
||||||
{% assign serviceId = service.name | replace: " ", "-" | downcase %}
|
{% assign serviceId = service.name | replace: " ", "-" | downcase %}
|
||||||
<h2 id="{{ serviceId }}">
|
<h2 id="{{ serviceId }}">
|
||||||
|
{{ groupIndex }}.
|
||||||
{{ serviceIndex }}.
|
{{ serviceIndex }}.
|
||||||
{{ service.name }}
|
{{ service.name }}
|
||||||
{% if exporter.name %}:
|
{% if exporter.name %}:
|
||||||
|
|
@ -63,7 +64,7 @@
|
||||||
{% assign comments = rule.comments | strip | newline_to_br | split: '<br />' %}
|
{% assign comments = rule.comments | strip | newline_to_br | split: '<br />' %}
|
||||||
<li>
|
<li>
|
||||||
<h4>
|
<h4>
|
||||||
{{ serviceIndex }}.{{ ruleIndex }}.
|
{{ groupIndex}}.{{ serviceIndex }}.{{ ruleIndex }}.
|
||||||
{{ rule.name }}
|
{{ rule.name }}
|
||||||
</h4>
|
</h4>
|
||||||
<details id="group-{{ groupIndex }}-service-{{ serviceIndex }}-rule-{{ ruleIndex }}" {% if true || (serviceIndex == 1 && ruleIndex == 1) %} open {% endif %}>
|
<details id="group-{{ groupIndex }}-service-{{ serviceIndex }}-rule-{{ ruleIndex }}" {% if true || (serviceIndex == 1 && ruleIndex == 1) %} open {% endif %}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue