Implement built-in Prometheus exporter in monitor

This commit is contained in:
Vitaliy Filippov
2024-07-08 02:20:12 +03:00
parent 79f1d1969b
commit 976290e6a9
7 changed files with 417 additions and 1 deletions
+4 -1
View File
@@ -245,6 +245,9 @@ const etcd_tree = {
stats: {
/* <osd_num_t>: {
time: number, // unix time
data_block_size: uint64_t, // bytes
bitmap_granularity: uint64_t, // bytes
immediate_commit: "all"|"small"|"none",
blockstore_ready: boolean,
size: uint64_t, // bytes
free: uint64_t, // bytes
@@ -282,7 +285,7 @@ const etcd_tree = {
master: {
/* ip: [ string ], id: uint64_t */
},
standby: {
member: {
/* <uint64_t>: { ip: [ string ] }, */
},
},