summaryrefslogtreecommitdiff
path: root/events.proto
diff options
context:
space:
mode:
Diffstat (limited to 'events.proto')
-rw-r--r--events.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/events.proto b/events.proto
index 69e6d46..0cb3fea 100644
--- a/events.proto
+++ b/events.proto
@@ -9,6 +9,9 @@ message Events {
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
+
+ // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ?
+ StorageInfo humantest = 5;
}
@@ -40,3 +43,7 @@ enum EventType {
CRASH = 11; // droplet hard crashed
CHANGE = 12; // droplet or hypervisor config change
}
+
+message StorageInfo {
+ int64 capacity = 1; // Stores the storage capacity in bytes.
+}