Open simon-fu opened 1 year ago
For example, there are two histogram variables named h1 and h2 as :
# TYPE h1 histogram h1_bucket{le="0"} 3 h1_bucket{le="1"} 5 h1_bucket{le="2"} 8 h1_bucket{le="+Inf"} 8 h1_sum 8 h1_count 8 # HELP h2 The second h2 # TYPE h2 histogram h2_bucket{le="0"} 1 h2_bucket{le="1"} 3 h2_bucket{le="2"} 6 h2_bucket{le="+Inf"} 6 h2_sum 8 h2_count 6
After merge h1 and h2 into h3, we got:
# TYPE h3 histogram h3_bucket{le="0"} 4 h3_bucket{le="1"} 8 h3_bucket{le="2"} 14 h3_bucket{le="+Inf"} 14 h3_sum 16 h3_count 14
For example, there are two histogram variables named h1 and h2 as :
After merge h1 and h2 into h3, we got: