Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 977 Bytes

index.md

File metadata and controls

50 lines (41 loc) · 977 Bytes
<style> .center-image { margin: 0 auto; display: block; } </style>

Prometheus logo{: .center-image }

AlertManager configuration

See here

Out of the box prometheus alerting rules

    {% for group in site.data.rules.groups %}
  • {% assign nbrRules = 0 %} {% for service in group.services %} {% for exporter in service.exporters %} {% for rule in exporter.rules %} {% assign nbrRules = nbrRules | plus: 1 %} {% endfor %} {% endfor %} {% endfor %}
    <h3>{{ group.name }} <small style="margin-left: 20px;">({{ nbrRules }} rules)</small></h3>
    <ul>
      {% for service in group.services %}
      <li>
        <a href="/rules#{{ service.name | replace: " ", "-" | downcase }}">
          {{ service.name }}
        </a>
      </li>
      {% endfor %}
    </ul>
    
  • {% endfor %}