diff options
author | Heikki Kallasjoki <kallasjoki@google.com> | 2018-11-30 17:48:06 +0000 |
---|---|---|
committer | Heikki Kallasjoki <kallasjoki@google.com> | 2018-11-30 17:48:06 +0000 |
commit | 25aae24d4b13d08fa2e47634e00d53469dafe787 (patch) | |
tree | 7691486940b22fb58b926863eef53bde9d658ecb /textfile.c | |
parent | ce7346aefb35d07425e23f454e334d7c2f6baf4e (diff) | |
download | nano-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.c | 3 |
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); |