You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2018/04/19 00:02:00 UTC

[jira] [Created] (AMBARI-23618) Requesting non-existing metric (including wildcard) to AMS gets HTTP 500

Aravindan Vijayan created AMBARI-23618:
------------------------------------------

             Summary: Requesting non-existing metric (including wildcard) to AMS gets HTTP 500
                 Key: AMBARI-23618
                 URL: https://issues.apache.org/jira/browse/AMBARI-23618
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.7.0
            Reporter: Aravindan Vijayan
            Assignee: Aravindan Vijayan
             Fix For: 2.7.0


Below links are throwing HTTP 500:

http://<host>:6188/ws/v1/timeline/metrics?appId=nimbus&hostname=&metricNames=topology.streamline-1-simple-yelp-review.3-SINK.%25.--fail-count.%25&startTime=1522734868701&endTime=1522736668701

http://<host>:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames=topology.streamline-1-simple-yelp-review.%.--fail-count.%._avg&appId=nimbus&startTime=1522715768&endTime=1522737368&seriesAggregateFunction=sum

Please note that such kind of metrics are not in metadata, but I guess we are returning empty map here, not throwing HTTP 500. 




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)