diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2025-09-02 16:13:22 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2025-09-02 16:13:22 +0100 |
commit | ca9be55a98c094e8026a4003a099573dd4137050 (patch) | |
tree | 1d58e13a84fc6bba25242877859027bdfe8f461e /src/ingestor.hpp | |
parent | 07a98c0ba7d2fdd79cab1884f81bb041741fc18c (diff) | |
download | webstat-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.hpp | 3 |
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); |