aboutsummaryrefslogtreecommitdiff
path: root/node_exporter.go
diff options
context:
space:
mode:
authorDaniel Bechler <SQiShER@users.noreply.github.com>2015-12-17 16:06:58 +0100
committerDaniel Bechler <SQiShER@users.noreply.github.com>2016-01-06 23:54:33 +0100
commitfc3931c924511531fe252342489af9468394f2f1 (patch)
tree2bdb9b77254ac6a1e161c7c320d16d17c151ce72 /node_exporter.go
parenta59c71b505736ca160a466f4637b156ac5d04ebd (diff)
downloadprometheus_node_collector-fc3931c924511531fe252342489af9468394f2f1.tar.bz2
prometheus_node_collector-fc3931c924511531fe252342489af9468394f2f1.tar.xz
prometheus_node_collector-fc3931c924511531fe252342489af9468394f2f1.zip
Add build_info metric similar to the one of Prometheus itself
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 b1e2549..f1569a1 100644
--- a/node_exporter.go
+++ b/node_exporter.go
@@ -42,7 +42,7 @@ var (
42 listenAddress = flag.String("web.listen-address", ":9100", "Address on which to expose metrics and web interface.") 42 listenAddress = flag.String("web.listen-address", ":9100", "Address on which to expose metrics and web interface.")
43 metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.") 43 metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.")
44 enabledCollectors = flag.String("collectors.enabled", 44 enabledCollectors = flag.String("collectors.enabled",
45 filterAvailableCollectors("conntrack,diskstats,filefd,filesystem,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname"), 45 filterAvailableCollectors("conntrack,diskstats,filefd,filesystem,loadavg,mdadm,meminfo,netdev,netstat,sockstat,stat,textfile,time,uname,version"),
46 "Comma-separated list of collectors to use.") 46 "Comma-separated list of collectors to use.")
47 printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.") 47 printCollectors = flag.Bool("collectors.print", false, "If true, print available collectors and exit.")
48 48