summaryrefslogtreecommitdiff
path: root/src/ingestor.hpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2025-09-02 16:13:22 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2025-09-02 16:13:22 +0100
commitca9be55a98c094e8026a4003a099573dd4137050 (patch)
tree1d58e13a84fc6bba25242877859027bdfe8f461e /src/ingestor.hpp
parent07a98c0ba7d2fdd79cab1884f81bb041741fc18c (diff)
downloadwebstat-ca9be55a98c094e8026a4003a099573dd4137050.tar.bz2
webstat-ca9be55a98c094e8026a4003a099573dd4137050.tar.xz
webstat-ca9be55a98c094e8026a4003a099573dd4137050.zip
Store utsname details in the host's detail field
Diffstat (limited to 'src/ingestor.hpp')
-rw-r--r--src/ingestor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ingestor.hpp b/src/ingestor.hpp
index ef3ba19..b2a0803 100644
--- a/src/ingestor.hpp
+++ b/src/ingestor.hpp
@@ -8,11 +8,12 @@
#include <flat_set>
#include <scn/scan.h>
#include <span>
+#include <sys/utsname.h>
namespace WebStat {
class Ingestor {
public:
- Ingestor(std::string_view hostname, DB::ConnectionPoolPtr);
+ Ingestor(const utsname &, DB::ConnectionPoolPtr);
virtual ~Ingestor() = default;
SPECIAL_MEMBERS_DELETE(Ingestor);