You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2015/07/30 17:55:04 UTC
[jira] [Assigned] (AMBARI-12584) Metrics Collector REST API always
lowercases appId
[ https://issues.apache.org/jira/browse/AMBARI-12584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Sen reassigned AMBARI-12584:
-----------------------------------
Assignee: Dmytro Sen
> Metrics Collector REST API always lowercases appId
> --------------------------------------------------
>
> Key: AMBARI-12584
> URL: https://issues.apache.org/jira/browse/AMBARI-12584
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 0.1.0
> Reporter: Bryan Bende
> Assignee: Dmytro Sen
> Priority: Minor
>
> While trying to add a new service to Ambari and get metrics displayed in the UI, querying the metrics API at ws/v1/timeline/metrics appears to always convert the appId parameter to lowercase, where as the appId sent in the metrics may or may not be lowercased.
> Example:
> Send a metric with APP_ID=NIFI then query:
> http://localhost:6188/ws/v1/timeline/metrics?metricNames=FlowFiles_Received_Last_5_mins&appId=NIFI&hostname=localhost&startTime=1438193080000&endTime=1438193082000
> Gets 0 results.
> Send a metric with APP_ID=nifi then query:
> http://localhost:6188/ws/v1/timeline/metrics?metricNames=FlowFiles_Received_Last_5_mins&appId=NIFI&hostname=localhost&startTime=1438193080000&endTime=1438193082000
> Gets results, even though appId=NIFI in the query.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)