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 0AAA0200BF1 for ; Tue, 3 Jan 2017 23:27:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0944E160B43; Tue, 3 Jan 2017 22:27:18 +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 59782160B20 for ; Tue, 3 Jan 2017 23:27:17 +0100 (CET) Received: (qmail 92167 invoked by uid 500); 3 Jan 2017 22:27:16 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 92153 invoked by uid 99); 3 Jan 2017 22:27:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2017 22:27:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9A524C1275 for ; Tue, 3 Jan 2017 22:27:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.679 X-Spam-Level: ** X-Spam-Status: No, score=2.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, 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: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mDDD0ukuaCj4 for ; Tue, 3 Jan 2017 22:27:14 +0000 (UTC) Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C67905F295 for ; Tue, 3 Jan 2017 22:27:13 +0000 (UTC) Received: by mail-qk0-f179.google.com with SMTP id t184so390238489qkd.0 for ; Tue, 03 Jan 2017 14:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Wv24bcDQfdC2sU/lYm/lLuxfXg8ZZT6acuq97rV3ek4=; b=MuWh/V/s1E4oyMmT6wXb1pTwf+gvXZ0mGFsL7+zdCDZuketPZPISH2Ah4DkF3XbQEZ hHfbqEB2Poty3hekXGDSWkB7Ktpwi88eRWe+3qEAiALjgnAykJgmrMqiGfeIsYbug6qI ZrGm+8tq84397fuBG21J8fBYJuODZOL9CGqAKXQX6dLidNu/XJ83ZWb/3nhjXBt2MNqq Jjl6TgAcsv2kc3upVM1jt1pvc+iys8zL3YULF66crAklLWtBgh3afjMAQoz9m72ekuCP iAvcGFHPrapk3WZjo1YW6CeaGZNMRFyrfa//HLikTuAVMYFzuHStcYQywqqLYgvaA3SS ro4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Wv24bcDQfdC2sU/lYm/lLuxfXg8ZZT6acuq97rV3ek4=; b=KgDtvwYvDqKp8QyZsTpTiKAAEEcHQSuaSw6LZvm7GZf7tnczjuqEl4bB6yA2OfuBbM /zu+EfNZQtPJFXH5rv9mHIx2GZdnM6RTcG9oURXhHWzze2IZMUdVcIbgP4x8wq1/9P3G F2U3wUgJNXT05gVBXQF7nSC1Zu6fEy40JcsHq8Q2Slho1W552ULel/OF2bhMDzIL7evF ooV3BIBgdp3XDxIg/NEbBQpixO+PSknWCY5HaZVgtpsN0J4X9ePRxfNXo67CfIfmmQT8 vwY5b+7m1viOXOEDHGGvH9CheRnVwuKQ5PU6Vi6uf2v1NX0X/qsRrE5ee+w0kUHegJKC /ljQ== X-Gm-Message-State: AIkVDXIE7zKplYqbKulwx6nHDdMs5ANjoFC4MWm4WsTh3EoAX+M5wGQzlXbIjIqbdnFZja1DTcVbHMYsN2Hlyw== X-Received: by 10.55.86.70 with SMTP id k67mr69719543qkb.280.1483482423671; Tue, 03 Jan 2017 14:27:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.97.119 with HTTP; Tue, 3 Jan 2017 14:27:03 -0800 (PST) In-Reply-To: References: From: Guozhang Wang Date: Tue, 3 Jan 2017 14:27:03 -0800 Message-ID: Subject: Re: [DISCUSS] KIP-105: Addition of Record Level for Sensors To: "dev@kafka.apache.org" Content-Type: multipart/alternative; boundary=001a114e718ee4c40d0545382a0b archived-at: Tue, 03 Jan 2017 22:27:18 -0000 --001a114e718ee4c40d0545382a0b Content-Type: text/plain; charset=UTF-8 LGTM overall. A few comments below: 1. "METRICS_RECORD_LEVEL_CONFIG" is the internal code's variable name, but not the real config string, I think it is `metrics.record.level` instead? 2. In the Motivation section, as in "This associates each sensor with a record level ... only if the metric config of the client requires these metrics to be recorded." Could you elaborate this a bit more, for example, will the sensor ever be registered in the reporter if its level is not allowed in the client config? Or it will be registered but never polled? Or it will be registered and polled, but recorded? From PR 1446 it seems to be the last case, i.e. the sensor will have the default value based on its type, and it will still be polled by the reporter but not recorded. To an end-user's experience it will mean that for example the monitoring UI that displays all polled metrics will still show the metrics graph, with the value consistently shown as the default value, instead of not showing the graphs at all. 3. Could you elaborate on the "shouldRecord()" function, e.g. which class it will be added to? Does it contain any parameters? Guozhang On Sun, Jan 1, 2017 at 5:31 AM, Eno Thereska wrote: > Thanks for starting the discussion on these KIPs Aarti. > > Eno > > On Sunday, January 1, 2017, Aarti Gupta wrote: > > > Thanks Radai, > > > > Yes that is the correct link, my bad > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > > 105%3A+Addition+of+Record+Level+for+Sensors > > > > > > > > Aarti > > > > On Sat, Dec 31, 2016 at 9:32 PM radai > > wrote: > > > > > link leads to 104. i think this is the correct one - > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > > 105%3A+Addition+of+Record+Level+for+Sensors > > > > > > ? > > > > > > > > > > > > On Fri, Dec 30, 2016 at 8:31 PM, Aarti Gupta > > > > > wrote: > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > I would like to start the discussion on KIP-105: Addition of Record > > Level > > > > > > > for Sensors > > > > > > > *https://cwiki.apache.org/confluence/pages/viewpage.action? > > > > > > > < > > > https://cwiki.apache.org/confluence/pages/viewpage. > > action?pageId=67636480 > > > > > > > >* > > > > > > > *pageId=67636483* > > > > > > > > > > > > > > Looking forward to your feedback. > > > > > > > > > > > > > > Thanks, > > > > > > > Aarti and Eno > > > > > > > > > > > > > > > > -- -- Guozhang --001a114e718ee4c40d0545382a0b--