summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShreyas Siravara <sshreyas@fb.com>2016-12-15 17:31:37 -0800
committerShreyas Siravara <sshreyas@fb.com>2016-12-17 06:32:26 -0800
commitf97b4e6fba382345687d08020e541e8b1f38ef4f (patch)
tree63abd382fecc20faea5aee7cfc55ac3bcb451014
parent2c6abb9d9781fa5dda216e78d78d0b9a9ab17d35 (diff)
debug/io-stats: [FB-Only] Update JSON key name to 'storage.gluster'
Summary: - Our keys are prefixed by storage.gluster, not gluster. - This is a cherry-pick of D1184318. Signed-off-by: Shreyas Siravara <sshreyas@fb.com> Change-Id: Iaf3d3b4ccd285853c7750759db20404607941c0e Reviewed-on: http://review.gluster.org/16151 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kevin Vigor <kvigor@fb.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
-rw-r--r--xlators/debug/io-stats/src/io-stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index a7ceb1dd7e4..8879894e506 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -770,7 +770,7 @@ ios_dump_throughput_stats (struct ios_stat_head *list_head, xlator_t *this,
int
_io_stats_get_key_prefix (xlator_t *this, char **key_prefix) {
- char *key_root = "gluster";
+ char *key_root = "storage.gluster";
char *xlator_name = NULL;
char *instance_name = NULL;
size_t key_len = 0;
@@ -795,7 +795,7 @@ _io_stats_get_key_prefix (xlator_t *this, char **key_prefix) {
}
if (strcmp (__progname, "glusterfsd") == 0)
- key_root = "gluster.brick";
+ key_root = "storage.gluster.brick";
if (instance_name) {
/* +3 for 2 x "." + NULL */