From 4e16c7100cc7f8dddca051ff393460d7a1a77c98 Mon Sep 17 00:00:00 2001 From: Vladimir Lavor Date: Tue, 2 Mar 2021 11:45:37 +0100 Subject: Provide error counters per worker for statsclient Instead of a single value, the ErrorCounter now contains an array representing couter values per workers. Change-Id: I2b869e5b228bcb3e155b1fef08a4cd00e7d2e16a Signed-off-by: Vladimir Lavor --- api/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/stats.go b/api/stats.go index 9e1ba75..3a72c6c 100644 --- a/api/stats.go +++ b/api/stats.go @@ -98,7 +98,7 @@ type ErrorStats struct { type ErrorCounter struct { CounterName string - Value uint64 + Values []uint64 } // BufferStats represents statistics per buffer pool. -- cgit 1.2.3-korg