Metrics
- Prometheus collects and stores its metrics as
time series data, i.e. metrics information is stored with thetimestampat which it was recorded, alongside optional key-value pairs calledlabels
Attributes
- Each metric has
typeandhelpattributes Help: description of what the metrics isType: there are three types- Counter: How many times happened
- Gauge: The current value now
- Histogram: how long or how big
Examples
ALERTS{alertname=~"service_is_down.*", service=~".*"}