[feature request] Serialization & Weighted Values
Closed this issue · 1 comments
okayzed commented
Two useful features for histograms are adding weighted values and the ability to serialize the sketch to and from bytes. Please consider adding these to DDSketch. I will attempt to add them in my own local fork of ddsketch as well.
The signature for adding weighted values is: addWeightedValue(val, count)
jeerim commented
Thanks for the suggestions. The sketches can now be serialized with protobuf, and weighted values can be added via AddWithCount(value, count)
.