Fix comments in mon.js

allow-etcd-address-option
Vitaliy Filippov 2021-06-20 00:23:56 +03:00
parent aad7792d3f
commit dfdf5c1f9c
1 changed files with 8 additions and 6 deletions

View File

@ -42,7 +42,7 @@ const etcd_tree = {
config: { config: {
/* global: { /* global: {
// WARNING: NOT ALL OF THESE ARE ACTUALLY CONFIGURABLE HERE // WARNING: NOT ALL OF THESE ARE ACTUALLY CONFIGURABLE HERE
// THIS IS JUST A POOR'S MAN CONFIG DOCUMENTATION // THIS IS JUST A POOR MAN'S CONFIG DOCUMENTATION
// etcd connection // etcd connection
config_path: "/etc/vitastor/vitastor.conf", config_path: "/etc/vitastor/vitastor.conf",
etcd_address: "10.0.115.10:2379/v3", etcd_address: "10.0.115.10:2379/v3",
@ -257,11 +257,13 @@ const etcd_tree = {
}, },
inode: { inode: {
stats: { stats: {
/* <inode_t>: { /* <pool_id>: {
raw_used: uint64_t, // raw used bytes on OSDs <inode_t>: {
read: { count: uint64_t, usec: uint64_t, bytes: uint64_t }, raw_used: uint64_t, // raw used bytes on OSDs
write: { count: uint64_t, usec: uint64_t, bytes: uint64_t }, read: { count: uint64_t, usec: uint64_t, bytes: uint64_t },
delete: { count: uint64_t, usec: uint64_t, bytes: uint64_t }, write: { count: uint64_t, usec: uint64_t, bytes: uint64_t },
delete: { count: uint64_t, usec: uint64_t, bytes: uint64_t },
},
}, */ }, */
}, },
}, },