You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "bhuvnesh chaudhary (JIRA)" <ji...@apache.org> on 2016/01/14 08:59:39 UTC
[jira] [Updated] (AMBARI-14658) Ambari Metrics service does not
show data for swap_total memory metric
[ https://issues.apache.org/jira/browse/AMBARI-14658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bhuvnesh chaudhary updated AMBARI-14658:
----------------------------------------
Description:
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_free
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}
was:
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_free
http://c6403.ambari.apache.org:6188/ws/v1/timeline/metrics?metricNames=swap_total
{noformat}
{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}
> 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
>
> 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_free
> 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)