summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/resources
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-06-17 18:08:56 +0200
committermjkwiatkowski <mati.rewa@gmail.com>2026-06-17 18:08:56 +0200
commit4562f52c9b540944200b33d4ffbd60b3cbc5ee79 (patch)
tree82d028faf5a0555cb80ce9602890a3257ef695c2 /opendc-common/src/main/resources
parent78a9d920cc8aca951aff798272b0d5e7a2e356b9 (diff)
feat: managed to retrieve metric-by-metric from Redis in real timeHEADmaster
Diffstat (limited to 'opendc-common/src/main/resources')
-rw-r--r--opendc-common/src/main/resources/schema.proto4
-rw-r--r--opendc-common/src/main/resources/subscriber.toml3
2 files changed, 6 insertions, 1 deletions
diff --git a/opendc-common/src/main/resources/schema.proto b/opendc-common/src/main/resources/schema.proto
index d0aa18d5..ea515a39 100644
--- a/opendc-common/src/main/resources/schema.proto
+++ b/opendc-common/src/main/resources/schema.proto
@@ -11,4 +11,6 @@ message ProtoExport {
int32 tasksactive = 3;
double cpuutilization = 4;
double energyusage = 5;
-} \ No newline at end of file
+ double uptime = 6;
+ double downtime = 7;
+}
diff --git a/opendc-common/src/main/resources/subscriber.toml b/opendc-common/src/main/resources/subscriber.toml
new file mode 100644
index 00000000..75dece02
--- /dev/null
+++ b/opendc-common/src/main/resources/subscriber.toml
@@ -0,0 +1,3 @@
+"table" = "postgres_topic"
+"server" = "localhost"
+"port" = "6379"