about summary refs log tree commit diff
path: root/uname.c
diff options
context:
space:
mode:
authorHeikki Kallasjoki <fis@zem.fi>2018-12-23 00:06:59 +0000
committerHeikki Kallasjoki <fis+github@zem.fi>2018-12-23 21:50:27 +0000
commit6d65b7fb9242eb827d5d4036f0fa8816430eb364 (patch)
treecfc35c119a14ecb89d7d35980fe7191cc6b3230f /uname.c
parent5c50e58b1af19e4cd54e272e143091b80e127d8c (diff)
downloadnano-exporter-6d65b7fb9242eb827d5d4036f0fa8816430eb364.tar.gz
nano-exporter-6d65b7fb9242eb827d5d4036f0fa8816430eb364.tar.xz
nano-exporter-6d65b7fb9242eb827d5d4036f0fa8816430eb364.zip
Move the collector loop into scrape server code.
This paves the way for supporting parallel scrapes (#19); the
implementation for that is going to need to track the state of the
current scrape.
Diffstat (limited to 'uname.c')
-rw-r--r--uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uname.c b/uname.c
index a9e4ade..f1d49bb 100644
--- a/uname.c
+++ b/uname.c
@@ -18,7 +18,7 @@
 #include <stdlib.h>
 #include <sys/utsname.h>
 
-#include "collector.h"
+#include "scrape.h"
 #include "util.h"
 
 static void *uname_init(int argc, char *argv[]);