node_exporter no good network usage stats?

47 views
Skip to first unread message

Sebas tech

unread,
Dec 23, 2020, 1:20:11 PM12/23/20
to Prometheus Users
(Running default node_exporter in Docker, currently with "--cap-add=ALL" and /, /proc, /sys from the host forwarded.)

There are some stats for eth0 which look useful, however the system has enpXsY as main interface, and other interfaces. No good stats for those.

Looking simply for bytes received and transferred for selected interfaces over time, so to see it just as cpu usage, mem usage, etc.

Anyone with a suggestion?

Ben Kochie

unread,
Dec 24, 2020, 8:25:51 AM12/24/20
to Sebas tech, Prometheus Users
You need to use the Docker settings from the README


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/42322d21-4f06-407f-87dd-7eaeaf71347dn%40googlegroups.com.

Sebas tech

unread,
Dec 24, 2020, 10:00:29 AM12/24/20
to Prometheus Users
Tried. Same outcome. With that Docker command the enpXsY interface and others do not show up at all. Only eth0, which is not the main adapter and also the old naming.

Sebas tech

unread,
Dec 24, 2020, 10:44:46 AM12/24/20
to Prometheus Users
Edit:
My bad, apparently adding an ip to the container revokes the net host mode or so. It captures all interface now.
Reply all
Reply to author
Forward
0 new messages