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 /libglusterfs/src/glusterfs.h | |
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 'libglusterfs/src/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index aa28b80222e..4dee7f00ce6 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -553,6 +553,11 @@ struct _glusterfs_ctx { gf_lock_t volfile_lock; + /* configuration related elements, which gets changed + from global xlator */ + struct { + char *metrics_dumppath; + } config; struct { gf_atomic_t max_dict_pairs; |