/
t3
/
cli
Обзор
Документация
Войти
/
t3
/
cli
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
master
proto/log.proto
34 строки
892 B
Ivan
kilo fix controller log format
02 июл 2026, 20:07
02 июл 2026, 20:07
d80bd22
Код
Авторство
О чём код?
syntax = "proto3"; package agent; option go_package = "gitverse.ru/t3/cli/pkg/pb"; // Wrapper message to allow maps inside the LogValue oneof // Represents a single key-value pair, preserving insertion order message LogArgument { string key = 1; LogValue value = 2; } // Wrapper for nested groups, now using an array instead of a map message LogMap { repeated LogArgument items = 1; } message LogValue { oneof value { string string_value = 1; int64 int_value = 2; double double_value = 3; bool bool_value = 4; LogMap map_value = 5; } } message LogEvent { string severity = 1; // ERROR, WARNING, INFO, DEBUG string message = 2; repeated LogArgument args = 3; // Array preserves exact insertion order string hostname = 4; // agent hostname for identification int64 timestamp_ms = 5; // unix millisecond timestamp }