Module Hub Beta

TDIGEST.DEBUG

key

Prints debug information about the t-digest.

The reply is of the form:

1) TDIGEST (, , )
2) CENTROID (, )
3) CENTROID (, )
4) CENTROID (, )
5) ...

Centroids are printed in sorted order with respect to their mean.

Return Value

Array: bulk string array.

Examples

redis> TDIGEST.ADD myuniform 1 1 2 1 3 1 4 1 5 1
(integer) 5
redis> TDIGEST.DEBUG myuniform
1) TDIGEST (400, 5, 160)
2) CENTROID (1.000000, 1)
3) CENTROID (2.000000, 1)
4) CENTROID (3.000000, 1)
5) CENTROID (4.000000, 1)
6) CENTROID (5.000000, 1)

© 2017 Redis Labs, Inc. All rights reserved.