From 965f0ada9ceebe7a2008f350734278bf8785cb44 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 24 Oct 2024 15:30:51 -0500 Subject: [PATCH] easy updates Signed-off-by: Jeff Carr --- events.proto | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/events.proto b/events.proto index 995de5a..2bebdf9 100644 --- a/events.proto +++ b/events.proto @@ -2,14 +2,19 @@ syntax = "proto3"; package virtbuf; message Events { - repeated Event stuff = 1; + string uuid = 1; // I guess why not just have this on each file + string version = 2; // maybe can be used for protobuf schema change violations + int64 event_size = 3; // max events to store in a single + repeated Event events = 4; // all the events } message Event { int32 id = 1; EventType etype = 2; - string droplet = 3; // uuid of the droplet - string hypervisor = 4; // uuid of the hypervisor + string droplet = 3; // name of the droplet + string droplet_uuid = 4; // uuid of the droplet + string hypervisor = 5; // name of the hypervisor + string hypervisor_uuid = 6; // uuid of the hypervisor } enum EventType { @@ -25,4 +30,5 @@ enum EventType { OK = 9; // everything is ok FAIL = 10; // everything failed CRASH = 11; // droplet hard crashed + CHANGE = 12; // droplet or hypervisor config change }