diff options
author | Amar Tumballi <amarts@redhat.com> | 2017-10-11 15:08:49 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-12-06 19:59:22 +0000 |
commit | 7f2e67d40d1006e88fda86eb04699c15db3440ee (patch) | |
tree | 15372ef72fd8c4c8f01eac370cac0cb263280568 /rpc/rpc-lib | |
parent | 349a55c5ef5c3a5aaee37b547b545df94fc10faf (diff) |
metrics: provide options to dump metrics from xlators
* Introduce xlator methods to allow dumping of metrics
* Separate options to get the metrics dumped in a path
Updates #168
Change-Id: I7df80df33b71d6f449f03c2332665b4a45f6ddf2
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r-- | rpc/rpc-lib/src/protocol-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index ebfb651c96e..aee34302205 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -239,6 +239,7 @@ enum glusterd_brick_procnum { GLUSTERD_BRICK_BARRIER, GLUSTERD_NODE_BITROT, GLUSTERD_BRICK_ATTACH, + GLUSTERD_DUMP_METRICS, GLUSTERD_BRICK_MAXVALUE, }; |