summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/resources/schema.proto
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-02-20 16:17:39 +0100
committermjkwiatkowski <mati.rewa@gmail.com>2026-02-20 16:17:39 +0100
commitf5da60e4275ca1172128c3994298691e12d5e1f8 (patch)
tree189804251bf88bf390e1c9ffb4472b7a798d7f22 /opendc-common/src/main/resources/schema.proto
parent2f16cb0f48eca4453e3e894b3d45a3aa09e6dcc0 (diff)
fix: changed the syntex to slowly get rid of the Config classHEADmaster
Diffstat (limited to 'opendc-common/src/main/resources/schema.proto')
-rw-r--r--opendc-common/src/main/resources/schema.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/opendc-common/src/main/resources/schema.proto b/opendc-common/src/main/resources/schema.proto
new file mode 100644
index 00000000..d0aa18d5
--- /dev/null
+++ b/opendc-common/src/main/resources/schema.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+
+package proto;
+
+option java_package = "org.opendc.common";
+option java_outer_classname = "ProtobufMetrics";
+
+message ProtoExport {
+ string timestamp = 1;
+ string host_id = 2;
+ int32 tasksactive = 3;
+ double cpuutilization = 4;
+ double energyusage = 5;
+} \ No newline at end of file