Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message DDSketch

DDSketch.proto:17

A DDSketch is essentially a histogram that partitions the range of positive values into an infinite number of indexed bins whose size grows exponentially. It keeps track of the number of values (or possibly floating-point weights) added to each bin. Negative values are partitioned like positive values, symmetrically to zero. The value zero as well as its close neighborhood that would be mapped to extreme bin indexes is mapped to a specific counter.

message IndexMapping

DDSketch.proto:32

How to map positive values to the bins they belong to.

Used in: DDSketch

enum IndexMapping.Interpolation

DDSketch.proto:46

Used in: IndexMapping

message Store

DDSketch.proto:61

A Store maps bin indexes to their respective counts. Counts can be encoded sparsely using binCounts, but also in a contiguous way using contiguousBinCounts and contiguousBinIndexOffset. Given that non-empty bins are in practice usually contiguous or close to one another, the latter contiguous encoding method is usually more efficient than the sparse one. Both encoding methods can be used conjointly. If a bin appears in both the sparse and the contiguous encodings, its count value is the sum of the counts in each encodings.

Used in: DDSketch