Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
The topology visualization api end point ( /api/v1/topology/TOPOLOGY-ID/visualization ) does not return correct "stats" values for "system" components __system and __acker.
See the following example correct response for a spout or bolt within a topology, shorten for brevity. Under the stats key it lists all of the instances of that component that is deployed.
{ "spout": { ... ":stats": [{ ":host": "e54bb273-2a8a-4320-b23f-7c7ace52c961-10.153.0.30", ":port": 6700, ":uptime_secs": 0, ":transferred": { ... } }], ... },
See the following response for the __system and __acker components. They do not correctly list any entries under the stats key.
{ "__system": { ":type": "spout", ":capacity": 0, ":latency": null, ":transferred": null, ":stats": [], ":link": "\/component.html?id=__system&topology_id=test-1-1495630798", ":inputs": [] }, "__acker": { ":type": "spout", ":capacity": 0, ":latency": null, ":transferred": null, ":stats": [], ":link": "\/component.html?id=__acker&topology_id=test-1-1495630798", ":inputs": [...] } }