peng-yongsheng commented on issue #102: overview/getClusterTopology URL: https://github.com/apache/incubator-skywalking-ui/issues/102#issuecomment-368870117 The isAlarm, numOfServerAlarm, numOfServiceAlarm are unfinished. Return static value. #### INPUT ``` { getClusterTopology(duration: {start: "2017-06-01 1002", end: "2017-06-01 1005", step: MINUTE}) { nodes { ... on ApplicationNode { sla callsPerSec avgResponseTime apdex isAlarm numOfServer numOfServerAlarm numOfServiceAlarm } id name type } calls { source target isAlert callType callsPerSec avgResponseTime } } } ``` #### OUTPUT ``` { "data": { "getClusterTopology": { "nodes": [ { "sla": 100, "callsPerSec": 20, "avgResponseTime": 2000, "apdex": 53, "isAlarm": false, "numOfServer": 0, "numOfServerAlarm": 1, "numOfServiceAlarm": 1, "id": "-1", "name": "dubbox-consumer", "type": "Tomcat" }, { "sla": 100, "callsPerSec": 20, "avgResponseTime": 1000, "apdex": 53, "isAlarm": false, "numOfServer": 0, "numOfServerAlarm": 1, "numOfServiceAlarm": 1, "id": "2", "name": "dubbox-provider", "type": "Dubbo" }, { "id": "3", "name": "localhost:27017", "type": "MongoDB" }, { "id": "1", "name": "User", "type": "USER" } ], "calls": [ { "source": "-1", "target": "2", "isAlert": true, "callType": "Dubbo", "callsPerSec": 20, "avgResponseTime": 1980 }, { "source": "2", "target": "3", "isAlert": true, "callType": "MongoDB", "callsPerSec": 20, "avgResponseTime": 980 }, { "source": "1", "target": "-1", "isAlert": true, "callType": "", "callsPerSec": 20, "avgResponseTime": 2000 } ] } } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
