Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to enable all collectors when running inside podman container #312

Open
thimomulder opened this issue Dec 4, 2024 · 2 comments
Open

Comments

@thimomulder
Copy link

I'm unable to activate all collectors for prometheus-podman-exporter when i run it inside a podman container. What is the proper way to active all collectors?

@navidys
Copy link
Collaborator

navidys commented Dec 14, 2024

Hi @thimomulder
you should be able to enable all the collectors via -a or --collector.enable-all command line option.

Can you let me know the podman version and your podman run command.

@thimomulder
Copy link
Author

thimomulder commented Dec 16, 2024

Hi @navidys,

Thank you for your responce. I'm currently running podman 4.9.3 on Ubuntu 24.04 LTS and start the prometheus-podman-exporter-container with the following command

sudo podman run -e CONTAINER_HOST=unix:///run/podman/podman.sock \
	--restart=always \
	-m 512M \
	-v $VOLUME:/run/podman/podman.sock \
	-u root \
	--name $NAME \
	--ip $IPAddress \
	-p $PORT:@PORT \
	--security-opt label=disable quay.io/navidys/prometheus-podman-exporter:v1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants