Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AC43181C5 for ; Fri, 15 Jan 2016 23:12:40 +0000 (UTC) Received: (qmail 75061 invoked by uid 500); 15 Jan 2016 23:12:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 75020 invoked by uid 500); 15 Jan 2016 23:12:40 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 74997 invoked by uid 99); 15 Jan 2016 23:12:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 23:12:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DC9E52C0453 for ; Fri, 15 Jan 2016 23:12:39 +0000 (UTC) Date: Fri, 15 Jan 2016 23:12:39 +0000 (UTC) From: "jun aoki (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14658) Ambari Metrics service does not show data for swap_total memory metric MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-14658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102659#comment-15102659 ] jun aoki commented on AMBARI-14658: ----------------------------------- Committed to trunk 9ab4b5e6f49005bed3b077d7d12fce08b6445342 > Ambari Metrics service does not show data for swap_total memory metric > ---------------------------------------------------------------------- > > Key: AMBARI-14658 > URL: https://issues.apache.org/jira/browse/AMBARI-14658 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: trunk > Reporter: bhuvnesh chaudhary > Assignee: bhuvnesh chaudhary > Priority: Minor > Fix For: trunk > > Attachments: AMBARI-14658.patch, swap_total_displayed.png > > > swap_total metric is defined in metrics.json for several services, but it appears that the value for this metric is never extracted from the host, thus it is not available for consumption by collector and is not returned by API calls. > Here is the response to the API call for swap_total > http://c6403.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=swap_total > {noformat} > { > "metrics": [] > } > {noformat} > http://c6403.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=swap_free > {noformat} > { > "metrics": [{ > "timestamp": 1452592235626, > "metricname": "swap_free", > "appid": "HOST", > "starttime": 1452592235626, > "metrics": { > "1452592235626": 5766994 > } > }] > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)