{
"cases": [
{
"name": "histogram_large_counts",
"encoding": "histogram",
"bytes_hex": "000300ff3f50624dd2f1a9fc8ca48c63178fa3fc400000000000000e67ff0000000000001fd00000000000001fc00020000000001f82000011f1f461e384dfff8374800400",
"int_samples": [
{
"t": 1000,
"st": 0,
"count": 1152921504606846979,
"zero_count": 3,
"sum_bits": 4609434218613702656,
"schema": 1,
"zero_threshold": 0.001,
"pos_spans": [
{
"offset": 0,
"length": 2
},
{
"offset": 1,
"length": 1
}
],
"neg_spans": [
{
"offset": 0,
"length": 1
}
],
"pos_deltas": [
36028797018963968,
1099511627776,
1048576
],
"neg_deltas": [
1
],
"pos_counts": [
36028797018963968,
36029896530591744,
36029896531640320
],
"neg_counts": [
1
],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
},
{
"t": 2000,
"st": 0,
"count": 1152921504606846986,
"zero_count": 4,
"sum_bits": 4612811918334230528,
"schema": 1,
"zero_threshold": 0.001,
"pos_spans": [
{
"offset": 0,
"length": 2
},
{
"offset": 1,
"length": 1
}
],
"neg_spans": [
{
"offset": 0,
"length": 1
}
],
"pos_deltas": [
36028797018963968,
1099511627776,
1048576
],
"neg_deltas": [
1
],
"pos_counts": [
36028797018963968,
36029896530591744,
36029896531640320
],
"neg_counts": [
1
],
"chunk_reset_hint": 0,
"counter_reset_hint": 2
},
{
"t": 3000,
"st": 0,
"count": 1152921504606846987,
"zero_count": 5,
"sum_bits": 4615063718147915776,
"schema": 1,
"zero_threshold": 0.001,
"pos_spans": [
{
"offset": 0,
"length": 2
},
{
"offset": 1,
"length": 1
}
],
"neg_spans": [
{
"offset": 0,
"length": 1
}
],
"pos_deltas": [
36028797018963968,
1099511627776,
1048576
],
"neg_deltas": [
1
],
"pos_counts": [
36028797018963968,
36029896530591744,
36029896531640320
],
"neg_counts": [
1
],
"chunk_reset_hint": 0,
"counter_reset_hint": 2
}
],
"float_samples": []
},
{
"name": "histogram_stale",
"encoding": "histogram",
"bytes_hex": "00020000946478fa2e40110000000000009d3c7d062f7fe1000000000002",
"int_samples": [
{
"t": 1000,
"st": 0,
"count": 7,
"zero_count": 0,
"sum_bits": 4616471093031469056,
"schema": 2,
"zero_threshold": 0,
"pos_spans": [
{
"offset": 0,
"length": 2
}
],
"neg_spans": [],
"pos_deltas": [
3,
4
],
"neg_deltas": [],
"pos_counts": [
3,
7
],
"neg_counts": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
},
{
"t": 2000,
"st": 0,
"count": 0,
"zero_count": 0,
"sum_bits": 9218868437227405314,
"schema": 0,
"zero_threshold": 0,
"pos_spans": [],
"neg_spans": [],
"pos_deltas": [],
"neg_deltas": [],
"pos_counts": [],
"neg_counts": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
}
],
"float_samples": []
},
{
"name": "floathistogram_stale",
"encoding": "floathistogram",
"bytes_hex": "000200009c6678fa10088000000000001000000000000000100a4000000000000ffe000000000000100100000000000010020000000000003cfa184e8047083c5effb2000000000004",
"int_samples": [],
"float_samples": [
{
"t": 1000,
"st": 0,
"count": 9,
"zero_count": 2,
"sum_bits": 4623226492472524800,
"schema": 3,
"zero_threshold": 0,
"pos_spans": [
{
"offset": 0,
"length": 3
}
],
"neg_spans": [],
"pos_buckets": [
1.5,
2.5,
3
],
"neg_buckets": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
},
{
"t": 3000,
"st": 0,
"count": 0,
"zero_count": 0,
"sum_bits": 9218868437227405314,
"schema": 0,
"zero_threshold": 0,
"pos_spans": [],
"neg_spans": [],
"pos_buckets": [],
"neg_buckets": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
}
]
},
{
"name": "floathistogram_values",
"encoding": "floathistogram",
"bytes_hex": "000300f3bc647c09c420120000000000000000000000000000202c90000000000020000000000000002006000000000000787d3703c457ffc41ec07ac4f6c0fe12ffff00bd617100",
"int_samples": [],
"float_samples": [
{
"t": 5000,
"st": 0,
"count": 10,
"zero_count": 0,
"sum_bits": 4636772475726725120,
"schema": -1,
"zero_threshold": 0.5,
"pos_spans": [
{
"offset": 0,
"length": 2
}
],
"neg_spans": [],
"pos_buckets": [
2,
3.5
],
"neg_buckets": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 0
},
{
"t": 5500,
"st": 0,
"count": 11,
"zero_count": 1,
"sum_bits": 4636842844470902784,
"schema": -1,
"zero_threshold": 0.5,
"pos_spans": [
{
"offset": 0,
"length": 2
}
],
"neg_spans": [],
"pos_buckets": [
3,
4.5
],
"neg_buckets": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 2
},
{
"t": 6000,
"st": 0,
"count": 12,
"zero_count": 2,
"sum_bits": 4636913213215080448,
"schema": -1,
"zero_threshold": 0.5,
"pos_spans": [
{
"offset": 0,
"length": 2
}
],
"neg_spans": [],
"pos_buckets": [
4,
5.5
],
"neg_buckets": [],
"chunk_reset_hint": 0,
"counter_reset_hint": 2
}
]
}
]
}