summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2021-03-02 11:45:37 +0100
committerOndrej Fabry <ofabry@cisco.com>2021-03-03 12:37:18 +0000
commit4e16c7100cc7f8dddca051ff393460d7a1a77c98 (patch)
treedd8ab474f96025a0ec7f7f6fc7507a5663d9b6c6 /api
parent4459b648e9fb53c34abbf52a00e63ad384fb9ee2 (diff)
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 <vlavor@cisco.com>
Diffstat (limited to 'api')
-rw-r--r--api/stats.go2
1 files changed, 1 insertions, 1 deletions
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.