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 E2BC3200BD7 for ; Sun, 11 Dec 2016 21:07:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E13A3160B20; Sun, 11 Dec 2016 20:07:20 +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 34CA9160B04 for ; Sun, 11 Dec 2016 21:07:20 +0100 (CET) Received: (qmail 43723 invoked by uid 500); 11 Dec 2016 20:07:14 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 43711 invoked by uid 99); 11 Dec 2016 20:07:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2016 20:07:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7D52D1803A7 for ; Sun, 11 Dec 2016 20:07:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1NJ9ig5iMedd for ; Sun, 11 Dec 2016 20:07:12 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C7C385FC33 for ; Sun, 11 Dec 2016 20:07:11 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id n21so65490434qka.3 for ; Sun, 11 Dec 2016 12:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=FMC3oo38X/qbcHn7p6WGML5kYhilKbF7iNAgBMPaYIw=; b=v6EUUnvSKQBgeGgA5g7e7tzG7LJd5k0Cp4Ueaq2mpl1Hxj3xwvFuVufBwqgfv6N2x4 9SEEm8zPOr43KcON8KKEtpNXQV4COWIMW6mDO0HZnl2Jqf58S9TOHXYvcaJ/rVK+qOra LgEnTrVat5ndcEipJ7wLdWy3PbERf0xVRvmu3D70zeWYO45myd2NGXSPMBpwMd6TQOGL XqPuI2E+98UYuyCyXLolQm2dEnEBs/fG9PXDSYdQfQsOHfyXGsHAuVMWiBvrxtH+inwF omWeZ3ogRXl7O3MNLH+iDbn2TCd0dWLl9PnjOqqcrTyxNgkkHBUVdHRz4UjM8uDwIzLC A6Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=FMC3oo38X/qbcHn7p6WGML5kYhilKbF7iNAgBMPaYIw=; b=B3QT14PRgXs9r2uVAfECbncvGSS0VXi2zVbZlkslYQkcZJIoRdhb6iWoXAICdSoi0F txhHxf32uqa1qRUQrFm1h5QIjDn1ZUshv/mFLzNYdLmYchjW2Y1WHTvLEDEQYKtt2AOV v3lTqBKweGaCG6+s4X3zr/2AUspydZcKOoadOru+Gw5hTCvrAQZidw4ty506N4dg+I9m 6i/pM4bgLQLZH9ra7vyGl31JMF46QawjIKtwkKvJLnySlZOHabRWLYrGpo/x1HFPHp3R p+KYMNYaAff9tkoForvHGvkPzOeYSmo70mjhbLC+lEfgaXyDLdCv1NG505PZA38f1Fkn M8yA== X-Gm-Message-State: AKaTC00zqxG4yguoqyL+OE8QA+tl0fMdqvte+aUWOQ6xOjQOqrS/6Sbnssqc7LOA0Cf/QA== X-Received: by 10.55.174.195 with SMTP id x186mr78710396qke.87.1481486824749; Sun, 11 Dec 2016 12:07:04 -0800 (PST) Received: from hw10447.local (c-73-213-24-128.hsd1.md.comcast.net. [73.213.24.128]) by smtp.googlemail.com with ESMTPSA id 6sm24919916qke.18.2016.12.11.12.07.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 Dec 2016 12:07:04 -0800 (PST) Message-ID: <584DB1E6.5020203@gmail.com> Date: Sun, 11 Dec 2016 15:07:02 -0500 From: Josh Elser User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@hbase.apache.org CC: "dev@phoenix.apache.org" Subject: Re: Coprocessor metrics References: <5829DF26.7080808@apache.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit archived-at: Sun, 11 Dec 2016 20:07:21 -0000 Enis Söztutar wrote: > Bumping this up in case people are interested. > > Also this is not coprocessor-specific, because I think we can incrementally > start using the new hbase-metrics module, and get rid of our complicated > metrics2 based patterns for core metrics as well. We should of course start > enforcing that all new metrics be using the new approach (if there is > consensus). See HBASE-14282. > > I've uploaded a v1 patch for > https://issues.apache.org/jira/browse/HBASE-9774. It is a mix between > approach (2) and (3). The API looks like the DW metrics (with still some > differences), but the implementations mostly come from HBase (except for > Meter). > > @Phoenix devs, feel free to provide feedback if you intend to export > metrics from Phoenix by piggy backing on the RS metrics. Would definitely like to play around with this from the Phoenix side, but I probably won't get any time for a week or two :). I'll try to remember to send a note when I find the time. From the HBase side, the code looks good to me, but I don't want to you to wait for me to merge it in :) > Enis