ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.72k stars 270 forks source link

How to get Network related metrics #262

Open real747-david opened 1 year ago

real747-david commented 1 year ago

May I know how process-exporter get network metrics, for example: process listening port, established connection. pid - local IP:Port - remote IP:Port, latency, send/receive data Byte, etc.

Many thanks.

real747-david commented 1 year ago

searching in new bing AI, show there should be a metric call "namedprocess_namegroup_net_bytes_total", but I could not see it in exporter web page, v0.7.10, could show me how to generate it. many thanks.