#pragma once #include #include #include #include namespace DB { struct TraceLogElement { using TimerDataType = DataTypeEnum8; static const TimerDataType::Values timer_values; time_t event_time{}; TimerType timer_type{}; UInt32 thread_number{}; String query_id{}; Array trace{}; static std::string name() { return "TraceLog"; } static Block createBlock(); void appendToBlock(Block & block) const; }; class TraceLog : public SystemLog { using SystemLog::SystemLog; }; }