...
A prometheus filter consists of one or many metric filters. Each metric filter has a Metric Name Filter and optionally a number of Label Filter(s). A metric that passes at least one of the metric filters will be exposed for scraping.
Example of a prometheus filter with one metric filter that has no label filters.
Enabled | Whether this Prometheus Filter is enabled or not. |
Metric Name Filter | A filter that is applied to the metric name. |
Label Filter(s) | A filter that applies to a label that exists on the metric(s) that passes the corresponding metric name filter. |
...