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 10E5D200C76 for ; Fri, 28 Apr 2017 13:13:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F988160B8C; Fri, 28 Apr 2017 11:13:09 +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 57D10160BA3 for ; Fri, 28 Apr 2017 13:13:08 +0200 (CEST) Received: (qmail 28542 invoked by uid 500); 28 Apr 2017 11:13:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 28488 invoked by uid 99); 28 Apr 2017 11:13:06 -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; Fri, 28 Apr 2017 11:13:06 +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 9D580C03E0 for ; Fri, 28 Apr 2017 11:13:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled 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 Vy10QMpDqR6D for ; Fri, 28 Apr 2017 11:13:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 67EAA5FAE8 for ; Fri, 28 Apr 2017 11:13:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9AEEFE07DA for ; Fri, 28 Apr 2017 11:13:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 21B0021DE0 for ; Fri, 28 Apr 2017 11:13:04 +0000 (UTC) Date: Fri, 28 Apr 2017 11:13:04 +0000 (UTC) From: "Shinya Yoshida (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17957) Custom metrics of replicate endpoints don't prepend "source." to global metrics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Apr 2017 11:13:09 -0000 [ https://issues.apache.org/jira/browse/HBASE-17957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15988658#comment-15988658 ] Shinya Yoshida commented on HBASE-17957: ---------------------------------------- Some of UTs failed, but it seems to me the failed UTs are not produced by my patch(but I'm not sure). Could someone confirm whether my patch broke tests or not? > Custom metrics of replicate endpoints don't prepend "source." to global metrics > -------------------------------------------------------------------------------- > > Key: HBASE-17957 > URL: https://issues.apache.org/jira/browse/HBASE-17957 > Project: HBase > Issue Type: Bug > Components: Replication > Affects Versions: 2.0.0, 1.4.0, 0.98.22 > Reporter: Shinya Yoshida > Assignee: Shinya Yoshida > Priority: Minor > Attachments: HBASE-17957.master.001.patch, HBASE-17957.master.002.patch > > > Custom metrics for custom replication endpoints is introduced by [HBASE-16448]. > The name of local custom metrics follows the "source.id.metricsName" format, but the name of global custom metrics doesn't follow the "source.metricsName" format. > Ex: > {code} > // default metrics > "source.2.shippedOps" : 1234, // peer local > "source.shippedOps" : 12345, // global > // custom metrics > "source.1.failed.start" : 1, // peer local > "failed.start" : 1, // global > {code} > When we consider that default metrics do so, it should be "source.metricsName" like: > {code} > "source.1.failed.start" : 1, > "source.failed.start" : 1, > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)