| Input | Output | Alias |
|---|---|---|
| ✗ | ✔ |
Description
Exposes metrics in the Prometheus text-based exposition format. For this format, it is a requirement for the output table to be structured correctly, by the following rules:- Columns
name(String) andvalue(number) are required. - Rows may optionally contain
help(String) andtimestamp(number). - Column
type(String) should be one ofcounter,gauge,histogram,summary,untypedor empty. - Each metric value may also have some
labels(Map(String, String)). - Several consequent rows may refer to the one metric with different labels. The table should be sorted by metric name (e.g., with
ORDER BY name).
histogram and summary labels - see Prometheus doc for the details.
Special rules are applied to rows with labels {'count':''} and {'sum':''}, which are converted to <metric_name>_count and <metric_name>_sum respectively.