summaryrefslogtreecommitdiff
path: root/event.proto
diff options
context:
space:
mode:
Diffstat (limited to 'event.proto')
-rw-r--r--event.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.proto b/event.proto
index 49a8543..8e098b5 100644
--- a/event.proto
+++ b/event.proto
@@ -4,7 +4,7 @@ package virtbuf;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
import "google/protobuf/any.proto"; // Import the well-known type for Timestamp
-message Events {
+message Events { // `autogenpb:marshal`
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
@@ -17,7 +17,7 @@ message Events {
// homelab clouds normally don't have many events.
// we are talking less than 1 a minute. even 1 an hour is often a lot
message Event {
- int32 id = 1;
+ int32 id = 1; // `autogenpb:unique` // should be unique across the cluster
EventType etype = 2;
string droplet = 3; // name of the droplet
string droplet_uuid = 4; // uuid of the droplet