diff options
author | Ken Herner <chosenken@gmail.com> | 2015-09-08 10:14:18 -0400 |
---|---|---|
committer | Ken Herner <chosenken@gmail.com> | 2015-09-10 10:27:58 -0400 |
commit | 7569c6ce23af643dea396626f2b1015a46c79f76 (patch) | |
tree | ca5161b08cc3d57f95adf64564443fcf91fd72e9 /node_exporter.go | |
parent | 6f17231e44466cf2059e0705628c9e5a95bbb8fd (diff) | |
download | prometheus_node_collector-7569c6ce23af643dea396626f2b1015a46c79f76.tar.bz2 prometheus_node_collector-7569c6ce23af643dea396626f2b1015a46c79f76.tar.xz prometheus_node_collector-7569c6ce23af643dea396626f2b1015a46c79f76.zip |
Initial implementation of file-nr
Fixed file-nr update function
Fixed file-nr test case
Fixed file-nr test case again
Fixed file-nr separator to tab
Updated file-nr to filenr.
Updated file-nr to filenr.
Fixed file-nr test cases, added comments
Remove reporting the second value from file-nr as it will alwasy be zero in linux 2.6 and greator
Renaming file-nr to filefd
Updated build constraint
Updates and code cleanup for filefd.
Updated enabledCollectors with the correct name for filefd
Fixed filefd test wording
Diffstat (limited to 'node_exporter.go')
-rw-r--r-- | node_exporter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_exporter.go b/node_exporter.go index 56f2d2d..890e527 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,sockstat", "Comma-separated list of collectors to use.") | 31 | enabledCollectors = flag.String("collectors.enabled", "diskstats,filesystem,loadavg,meminfo,stat,textfile,time,netdev,netstat,sockstat,filefd", "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.") |