// Copyright (c) Ultraviolet // SPDX-License-Identifier: Apache-2.0 syntax = "proto3"; package log; option go_package = "./log"; import "google/protobuf/timestamp.proto"; import "google/protobuf/empty.proto"; service LogCollector { rpc SendLog(LogEntry) returns (google.protobuf.Empty); rpc SendEvent(EventEntry) returns (google.protobuf.Empty); } message LogEntry { string message = 1; string computation_id = 2; string level = 3; google.protobuf.Timestamp timestamp = 4; } message EventEntry { string event_type = 1; google.protobuf.Timestamp timestamp = 2; string computation_id = 3; bytes details = 4; // JSON payload string originator = 5; string status = 6; }