From f5da60e4275ca1172128c3994298691e12d5e1f8 Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Fri, 20 Feb 2026 16:17:39 +0100 Subject: fix: changed the syntex to slowly get rid of the Config class --- opendc-common/src/main/resources/schema.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 opendc-common/src/main/resources/schema.proto (limited to 'opendc-common/src/main/resources/schema.proto') 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 -- cgit v1.2.3