summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShreyas Siravara <sshreyas@fb.com>2017-09-07 15:54:22 -0700
committerShreyas Siravara <sshreyas@fb.com>2017-09-07 23:42:44 +0000
commite698fd3e3a0ff8f54e31e810706a011cdf938dca (patch)
treedb90148121d8a2404d4ffd8f29b71f67e2b17ed7 /tests
parent9aca3f636b0fbf3122e6893c9771c08d7eb5c9f6 (diff)
io-stats: Error count and rate collection
Summary: - This diff adds error counts and rates to the regular io-stats dump. - It outputs keys that look like this: "storage.gluster.nfsd.groot.aggr.errors.<error_name>.count": "6", "storage.gluster.nfsd.groot.inter.errors.<error_name>.per_sec": "0.00" - <error_name> is the lowercase representation of errno values (e.g., ENOENT -> enoent, etc.) - This is a port of D4691581 to 3.8 Reviewers: dph, kvigor Reviewed By: kvigor Change-Id: I96857d4283c47f9d330ae1978f113013e7c78a87 Reviewed-on: https://review.gluster.org/18230 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shreyas Siravara <sshreyas@fb.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/ios-dump.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/ios-dump.t b/tests/basic/ios-dump.t
index ddeb19d01ac..8e16c036934 100644
--- a/tests/basic/ios-dump.t
+++ b/tests/basic/ios-dump.t
@@ -39,5 +39,6 @@ for i in {1..10}; do
done
EXPECT_WITHIN 30 "Y" check_brick_inter_stats fop.weighted_latency_ave_usec
+EXPECT_WITHIN 30 "Y" check_brick_inter_stats errors.eio.per_sec
cleanup