Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 200BA200CD7 for ; Tue, 1 Aug 2017 18:56:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E84C167885; Tue, 1 Aug 2017 16:56:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 650FE167884 for ; Tue, 1 Aug 2017 18:56:56 +0200 (CEST) Received: (qmail 62756 invoked by uid 500); 1 Aug 2017 16:56:55 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 62746 invoked by uid 99); 1 Aug 2017 16:56:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2017 16:56:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AE06D1A231C for ; Tue, 1 Aug 2017 16:56:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=altitudedigital-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id K3ixMAjMvS-5 for ; Tue, 1 Aug 2017 16:56:52 +0000 (UTC) Received: from mail-qt0-f175.google.com (mail-qt0-f175.google.com [209.85.216.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F1C675F5B3 for ; Tue, 1 Aug 2017 16:56:51 +0000 (UTC) Received: by mail-qt0-f175.google.com with SMTP id 16so12641050qtz.4 for ; Tue, 01 Aug 2017 09:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altitudedigital-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=/L1o9N6cWE6uW4Uim6Zb1zvihuYDVNMMJvaXEwsULhI=; b=OvRwtagrQE3puWftf02U4EaJ59GJnGmVyYW3DiVeAvFok+5ZJXVpxvAEQDKVoktJ9d lU56G3Q1LAmGnzzTgUZqamgcIyYWy7ymeA8tVnR+LwjtulMf1qQrHjq1dOdj1/THKuLl bIJSqqeq8KFNMBRt/ij9HDPSxwkE1BCFzBVaTieufbsKQ/kfMxMlgaFpUgPR80PFXv7g x9Xiz/2isR9uai8Xb3t5Rdjew0g4RgXUHe9FuKtI0gRXRPwxFifMQJLWdntt5nrzqf9n G/ljKIselmJOb6CFZTUHIXxOONONmulfC8A63YRR6QFmiY6XtjqKp9m9+4lsOFq4pyCV wWYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=/L1o9N6cWE6uW4Uim6Zb1zvihuYDVNMMJvaXEwsULhI=; b=f4ZZGweslVBM/YJXXt1VtU79MymNuNL+4jP2pNJSgtvQ7pBffJgLUrQ9JFKH60QNHO AxqNZVVM5r5aXb6Ki2rLQJ213I3j1xOA5gITTfr2uvSXY6lMQKOfoSrh9pInZroZiE5p IM5lyY08KSKi1ZA09Vzg6q7bjrXe2plj6esKYz0dHKv2b4ylGZgoFZ9aHStep71MxPJp 2UQyJn1MGlxQxAcdX68CsXiqdYHwEiotFFf/CGLYFr4kb4AHcenbLHhpq+IUO+/kNtCc kYf4IHpGGIj7jekMbQEz1XuQ5ODYQyoxC99N1jyty9nUmbTcImTXwvIad5sPQ7egPNcQ ygJA== X-Gm-Message-State: AIVw112R9BloN3pRRlF2bZ/PKolh2m61tY1GtJ5HYNzcnGXWiDj03xzl XH5qZqy/lcxhB8LoNM8wc7oapslohWTKUnnyww== X-Received: by 10.200.0.65 with SMTP id i1mr29208492qtg.193.1501606610731; Tue, 01 Aug 2017 09:56:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.92.17 with HTTP; Tue, 1 Aug 2017 09:56:50 -0700 (PDT) From: Robert Rapplean Date: Tue, 1 Aug 2017 10:56:50 -0600 Message-ID: Subject: Proper way to establish bucket counts To: user@flink.apache.org Cc: Carlton Hanna Content-Type: multipart/alternative; boundary="f403045ee68ea01c9d0555b40887" archived-at: Tue, 01 Aug 2017 16:56:57 -0000 --f403045ee68ea01c9d0555b40887 Content-Type: text/plain; charset="UTF-8" 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 --f403045ee68ea01c9d0555b40887 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 buc= ket via the metrics? If metrics counters is the easy way, what do I do to m= ake sure that I don't have a memory leak from expired counters?<= div style=3D"font-size:12.8px">
Th= anks,

Robert
--f403045ee68ea01c9d0555b40887--