containers / prometheus-podman-exporter

Prometheus exporter for podman environments exposing containers, pods, images, volumes and networks information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exclude infra containers?

nivekuil opened this issue · comments

Is your feature request related to a problem? Please describe.
More of a question, but is it ever useful to monitor infra containers? It's easy enough to filter those but if they never do anything useful then it could be nice to prune them here.

Hi @rhatdan

I'll appreciate your input on this one, do you think it's better to exclude infra containers from the exposed list ?
Not sure but I think the state will be useful.

Just two cents why not use !~ to exclude containers matching *infra*. I think there can be still be bugs which can be caught by monitoring infra containers but not my strict opinion.

See: https://prometheus.io/docs/prometheus/latest/querying/basics/

I think the questions was answered therefore closing this.