Johan B.W. de Vries 5e1c5679e5 prelude.log_bytes is now on the right thread
Before, all messages would be logged on the prelude
container / thread.

routing log improvements
2023-04-14 19:09:20 +02:00

28 lines
442 B
SQL

CREATE DATABASE IF NOT EXISTS phasm_platform;
USE phasm_platform;
CREATE TABLE routing_logs
(
timestamp DateTime64(6, 'UTC'),
thread_id String,
from_container String,
to_service String,
to_container String,
to_method String,
result String,
)
ENGINE = MergeTree
ORDER BY timestamp;
CREATE TABLE container_logs
(
timestamp DateTime64(6, 'UTC'),
name String,
thread_id String,
msg String,
)
ENGINE = MergeTree
ORDER BY timestamp;