Module Hub Beta

CMS.DEBUG

key

Yields the sketch’s data structure properties for debugging purposes.

Return Value

Array reply: A list with the sketch’s total count, width, depth and total size in bytes.

Examples

redis> CMS.INITBYERR counter 0.001 0.001
OK
redis> CMS.INCRBY counter foo 1 bar 10 baz 42
OK
redis> CMS.DEBUG counter
1) “Count: 53”
2) “Width: 2000”
3) “Depth: 10”
4) “Size: 80115”

© 2017 Redis Labs, Inc. All rights reserved.