flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Proper way to establish bucket counts
Date Wed, 02 Aug 2017 09:02:13 GMT
Hi Robert,

Flink collects many metrics by default, including the number of records /
events that go into each operator (see [1], System Metrics, IO,
So, you would only need to access that metric.

Best, Fabian


2017-08-01 18:56 GMT+02:00 Robert Rapplean <rrapplean@altitudedigital.com>:

> I want a count of events that are put into a bucketing sink, but can't
> find a ready-made way of doing that. Is there an easier way than to
> implement a counter for each bucket via the metrics? If metrics counters is
> the easy way, what do I do to make sure that I don't have a memory leak
> from expired counters?
> Thanks,
> Robert

View raw message