Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.4.0
-
None
Description
topN is available by default on almost all Grafana templatized dashboards.
When viewing any of these dashboards, if only one "host" or templated option is chosen, then AMS returns with an exception (screenshot attached).
Sample query:
collectorhost:6188/ws/v1/timeline/metrics?metricNames=cpu_system._avg&hostname=hostname&appId=HOST&startTime=1470925360&endTime=1470946960&topN=20&topNFunction=avg&isBottomN=false