Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.2
-
None
-
None
Description
API does not return metrics at the host component level (except for one host).
STR.
Make a metrics API against various hosts for a specific metric.
Example on a 3-node cluster:
Call 1: http://172.22.89.227:8080/api/v1/clusters/c1/hosts/sid-ams-3.novalocal/host_components/DATANODE?fields=metrics/load/load_five[1453147641,1453169241,15]
This returns the metrics on sid-ams-3.
This returns no metrics data.
This returns no metrics data.
The example above is for a system metric, but the same behavior is exhibited for service metrics.
For any given host component metric, only one of the hosts returns any metric. The first host that you make a query against will return the metrics data, but none of the other hosts.
This is because of the cache implementation.
Attachments
Attachments
Issue Links
- links to