aboutsummaryrefslogtreecommitdiff
path: root/node_exporter.go
diff options
context:
space:
mode:
authorKen Herner <ken@modulus.io>2015-09-04 15:34:10 -0400
committerKen Herner <chosenken@gmail.com>2015-09-09 10:48:17 -0400
commit356e1bb866f8f4288cfd101eb7e4f1e73801e494 (patch)
treebd963e28888c5853b533e1ba898484da53345046 /node_exporter.go
parent38e6e6b672821ecb6780e014e15fec24f8db297d (diff)
downloadprometheus_node_collector-356e1bb866f8f4288cfd101eb7e4f1e73801e494.tar.bz2
prometheus_node_collector-356e1bb866f8f4288cfd101eb7e4f1e73801e494.tar.xz
prometheus_node_collector-356e1bb866f8f4288cfd101eb7e4f1e73801e494.zip
Added sockstat test file
initial work on sockstat work Fixed package name Finished implementation of the sockstat plugin missed a return value Added sockstat to default plugins to start Fixed scanner read on sockstat fixed sockstat linux test for TCP alloc update sockstat test case Updated sockstat to return TCP and UDP memory in bytes instead of page count
Diffstat (limited to 'node_exporter.go')
-rw-r--r--node_exporter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_exporter.go b/node_exporter.go
index c15b464..56f2d2d 100644
--- a/node_exporter.go
+++ b/node_exporter.go
@@ -28,7 +28,7 @@ var (
28 memProfile = flag.String("debug.memprofile-file", "", "Write memory profile to this file upon receipt of SIGUSR1.") 28 memProfile = flag.String("debug.memprofile-file", "", "Write memory profile to this file upon receipt of SIGUSR1.")
29 listenAddress = flag.String("web.listen-address", ":9100", "Address on which to expose metrics and web interface.") 29 listenAddress = flag.String("web.listen-address", ":9100", "Address on which to expose metrics and web interface.")
30 metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.") 30 metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.")
31 enabledCollectors = flag.String("collectors.enabled", "diskstats,filesystem,loadavg,meminfo,stat,textfile,time,netdev,netstat", "Comma-separated list of collectors to use.") 31 enabledCollectors = flag.String("collectors.enabled", "diskstats,filesystem,loadavg,meminfo,stat,textfile,time,netdev,netstat,sockstat", "Comma-separated list of collectors to use.")
32 printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.") 32 printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.")
33 authUser = flag.String("auth.user", "", "Username for basic auth.") 33 authUser = flag.String("auth.user", "", "Username for basic auth.")
34 authPass = flag.String("auth.pass", "", "Password for basic auth.") 34 authPass = flag.String("auth.pass", "", "Password for basic auth.")