33 constexpr static const char* schema =
"public";
34 constexpr static const char* tablename =
"ores_compute_node_samples_tbl";
36 sqlgen::PrimaryKey<sqlgen::Timestamp<
"%Y-%m-%d %H:%M:%S">> sampled_at;
37 sqlgen::PrimaryKey<std::string> tenant_id;
38 sqlgen::PrimaryKey<std::string> host_id;
40 int tasks_completed{0};
42 int tasks_since_last{0};
44 std::int64_t avg_task_duration_ms{0};
45 std::int64_t max_task_duration_ms{0};
46 std::int64_t input_bytes_fetched{0};
47 std::int64_t output_bytes_uploaded{0};
49 int seconds_since_hb{0};