Add an exporter for /proc/net/netstat, enabled by default.
This catches things like listen overflows, retransmits and other things that are very useful for retroactive debugging thus I think it's justified to have it on by default.
This commit is contained in:
parent
1c17481a42
commit
96eaff8c7e
3 changed files with 122 additions and 20 deletions
|
|
@ -26,7 +26,7 @@ var (
|
|||
configFile = flag.String("config", "node_exporter.conf", "config file.")
|
||||
memProfile = flag.String("memprofile", "", "write memory profile to this file")
|
||||
listeningAddress = flag.String("listen", ":8080", "address to listen on")
|
||||
enabledCollectors = flag.String("enabledCollectors", "attributes,diskstats,filesystem,loadavg,meminfo,stat,time,netdev", "comma-seperated list of collectors to use")
|
||||
enabledCollectors = flag.String("enabledCollectors", "attributes,diskstats,filesystem,loadavg,meminfo,stat,time,netdev,netstat", "comma-seperated list of collectors to use")
|
||||
printCollectors = flag.Bool("printCollectors", false, "If true, print available collectors and exit")
|
||||
|
||||
collectorLabelNames = []string{"collector", "result"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue