diff --git a/plugins/memcached/memcached.go b/plugins/memcached/memcached.go index 7fb638be9..7186b1aae 100644 --- a/plugins/memcached/memcached.go +++ b/plugins/memcached/memcached.go @@ -49,7 +49,6 @@ var sendAsIs = []string{ "decr_misses", "cas_hits", "cas_misses", - "cas_badvalue", "evictions", "bytes_read", "bytes_written", diff --git a/plugins/memcached/memcached_test.go b/plugins/memcached/memcached_test.go index fe6620b5c..3e1580d17 100644 --- a/plugins/memcached/memcached_test.go +++ b/plugins/memcached/memcached_test.go @@ -22,7 +22,7 @@ func TestMemcachedGeneratesMetrics(t *testing.T) { err := m.Gather(&acc) require.NoError(t, err) - intMetrics := []string{"get_hits", "get_misses", "evictions", "limit_maxbytes", "bytes", "uptime", "curr_items", "total_items", "curr_connections", "total_connections", "connection_structures", "cmd_get", "cmd_set", "delete_hits", "delete_misses", "incr_hits", "incr_misses", "decr_hits", "decr_misses", "cas_hits", "cas_misses", "cas_badvalue", "evictions", "bytes_read", "bytes_written", "threads", "conn_yields"} + intMetrics := []string{"get_hits", "get_misses", "evictions", "limit_maxbytes", "bytes", "uptime", "curr_items", "total_items", "curr_connections", "total_connections", "connection_structures", "cmd_get", "cmd_set", "delete_hits", "delete_misses", "incr_hits", "incr_misses", "decr_hits", "decr_misses", "cas_hits", "cas_misses", "evictions", "bytes_read", "bytes_written", "threads", "conn_yields"} for _, metric := range intMetrics { assert.True(t, acc.HasIntValue(metric), metric)