Open tetrode opened 1 year ago
I created the following from the example code:
$h = rand(0, 10); $histogram = $registry->getOrRegisterHistogram( 'example', 'the_histogram', 'A histogram puts your observations in predefined buckets (+Inf is registered when no bucket found)', ['type'], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9,] ); $histogram->observe($h, ['blue']);
When I repeatedly call this code and $h is e.g. 6, the buckets for 6, 7, 8 and 9 are increased
Is this the expected behaviour?
That's cumulative behaviour and... it is expected...
I created the following from the example code:
When I repeatedly call this code and $h is e.g. 6, the buckets for 6, 7, 8 and 9 are increased
Is this the expected behaviour?