/
prometheus.rst
30 lines (23 loc) · 1.09 KB
/
prometheus.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Prometheus
==========
In a MetalK8s cluster, the Prometheus service records real-time metrics in a
time series database. Prometheus can query a list of data sources called
"exporters" at a specific polling frequency, and aggregate this data across the
various sources.
Prometheus uses a special language, Prometheus Query Language (PromQL),
to write alerting and recording rules.
Default Alert Rules
-------------------
Alert rules enable a user to specify a condition that must occur before an
external system like Slack is notified. For example, a MetalK8s administrator
might want to raise an alert for any node that is unreachable for more than
one minute.
Out of the box, MetalK8s ships with preconfigured alert rules, which are
written as PromQL queries.
The table below outlines all the preconfigured alert rules exposed from
a newly deployed MetalK8s cluster.
To customize predefined alert rules, refer to
:ref:`csc-prometheus-customization`.
.. csv-table:: Default Prometheus Alerting rules
:file: ../../../tools/rule_extractor/alerting_rules.csv
:header: "Name", "Severity", "Description"