about summary refs log tree commit diff
path: root/textfile.c
diff options
context:
space:
mode:
authorHeikki Kallasjoki <kallasjoki@google.com>2018-11-30 17:48:06 +0000
committerHeikki Kallasjoki <kallasjoki@google.com>2018-11-30 17:48:06 +0000
commit25aae24d4b13d08fa2e47634e00d53469dafe787 (patch)
tree7691486940b22fb58b926863eef53bde9d658ecb /textfile.c
parentce7346aefb35d07425e23f454e334d7c2f6baf4e (diff)
downloadnano-exporter-25aae24d4b13d08fa2e47634e00d53469dafe787.tar.gz
nano-exporter-25aae24d4b13d08fa2e47634e00d53469dafe787.tar.xz
nano-exporter-25aae24d4b13d08fa2e47634e00d53469dafe787.zip
Fix the textfile collector default directory path.
Diffstat (limited to 'textfile.c')
-rw-r--r--textfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/textfile.c b/textfile.c
index 2ef877b..a2c777d 100644
--- a/textfile.c
+++ b/textfile.c
@@ -7,8 +7,7 @@
 #include "collector.h"
 #include "util.h"
 
-// TODO: check default
-#define DEFAULT_DIR "/var/lib/prometheus-node-exporter"
+#define DEFAULT_DIR "/var/lib/prometheus/node-exporter"
 
 void *textfile_init(int argc, char *argv[]);
 void textfile_collect(scrape_req *req, void *ctx);