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

Pod names are not displayed in all metrics

kossioni opened this issue · comments

Hello,

We need to have the pod name appear in all metrics. Currently only one metric contain the name of the pod and this is the 'podman_container_info'.

It is vital to have the podname in all other metrics so as to display the podname in the chart ledgent in grafana!

That will avoid unnecessary joins of type:

join(podman_container_mem_limit_bytes{id=~"$id"}, 1s, podman_container_info{id=~"$id"})

Thank you!
Georgios

A friendly reminder that this issue had no activity for 30 days.

any chance?

Hi @kossioni
Sorry for late reply, I will look into it.

Thank you so much!

Hi @navidys ! This feature would be super helpful for netdata users running podman exporter as there is no option to make joins for alerts. Hope you will find some time to fix it.

Hi @user357831

Sure, will look into it.

Hi @kossioni , @user357831
#181 is adding pod_id and pod_name to containers metrics.