Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
+++ /dev/null
-#include "exporter/DaemonMetricCollector.h"
-#include "exporter/http_server.h"
-#include <iostream>
-#include <map>
-#include <iostream>
-#include <string>
-#include <boost/thread/thread.hpp>
-
-
-int main(int argc, char** argv) {
- boost::thread server_thread(http_server_thread_entrypoint);
- DaemonMetricCollector &collector = collector_instance();
- collector.main();
- server_thread.join();
-}
set(exporter_srcs
- ${CMAKE_SOURCE_DIR}/src/ceph_exporter.cc
+ ceph_exporter.cc
DaemonMetricCollector.cc
http_server.cc
)
--- /dev/null
+#include "exporter/DaemonMetricCollector.h"
+#include "exporter/http_server.h"
+#include <iostream>
+#include <map>
+#include <iostream>
+#include <string>
+#include <boost/thread/thread.hpp>
+
+
+int main(int argc, char** argv) {
+ boost::thread server_thread(http_server_thread_entrypoint);
+ DaemonMetricCollector &collector = collector_instance();
+ collector.main();
+ server_thread.join();
+}