Added db stats in trace metadata

This commit is contained in:
emeric
2024-04-03 00:02:48 +02:00
parent 0acef3bfd4
commit 8438da9fde
6 changed files with 56 additions and 9 deletions
@@ -79,6 +79,7 @@ namespace lms::core::tracing
virtual void write(const CompleteEvent& entry) = 0;
virtual void dumpCurrentBuffer(std::ostream& os) = 0;
virtual void setThreadName(std::thread::id id, std::string_view threadName) = 0;
virtual void setMetadata(std::string_view metadata, std::string_view value) = 0;
virtual ArgHashType registerArg(LiteralString argType, std::string_view argValue) = 0;
};