I've been doing some experiments in my own fork of the Dataflow worker
using HdrHistogram [1] to record histograms.  I export them to our own
stats collector, not Stackdriver, but have been having good success with
them.

The problem is that the dataflow worker metrics implementation is totally
different than the beam metrics implementation, but the concept would
translate pretty easily I imagine.

[1] https://github.com/HdrHistogram/HdrHistogram

On Fri, Jul 12, 2019 at 1:33 PM Pablo Estrada <pabl...@google.com> wrote:

> I am not aware of anyone working on this. I do recall a couple things:
>
> - These metrics can be very large in terms of space. Users may cause
> themselves trouble if they define too many of them.
>     - Not enough reason not to do it, but certainly worth considering.
> - There is some code added by Boyuan to develop highly efficient
> histogram-type metrics.
>
> Best
> -P.
>
> On Fri, Jul 12, 2019 at 10:21 AM Alex Amato <ajam...@google.com> wrote:
>
>> Hi,
>>
>> I was wondering if anyone has any plans to introduce bucketed
>> histogram to beam (different from Distribution, which is just min, max, sum
>> and count values)? I have some thoughts about how it could be done so that
>> it integrates with stackdriver.
>>
>> Essentially I am referring to a timeseries of histograms, displaying
>> buckets of values at fixed windows in time.
>>
>

Reply via email to