You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/10/31 03:53:36 UTC
[GitHub] Yuanxiangz opened a new issue #1852: getApplicationTopology error
Yuanxiangz opened a new issue #1852: getApplicationTopology error
URL: https://github.com/apache/incubator-skywalking/issues/1852
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### Question
- What do you want to know?
___
### Bug
- Which version of SkyWalking, OS and JRE?
skywalking 5.0.0beta2 centos6
- Which company or project?
- What happen?
Everything goes fine after an new app was added in skywalking. then I found follow error in "Application" menu. after several times, some other apps also display the same error.
i seems like when the trace fills into different indexs but lost something, which leads to this: can't find the calltype according targetid.
i didn't find out the root cause. any suggestion about it? thanks in advance.
error:
Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[4]/callType)
request:
/api/application
{"variables":{"duration":{"start":"2018-10-31 1119","end":"2018-10-31 1134","step":"MINUTE"},"applicationId":"110"},"query":" query Application($applicationId: ID!, $duration: Duration!) { getSlowService(applicationId: $applicationId, duration: $duration, topN: 10) { service { key: id label: name applicationId applicationName } value: avgResponseTime } getServerThroughput(applicationId: $applicationId, duration: $duration, topN: 999999) { key: id osName host pid ipv4 value: cpm } getApplicationTopology(applicationId: $applicationId, duration: $duration) { nodes { id name type ... on ApplicationNode { sla cpm avgResponseTime apdex isAlarm numOfServer numOfServerAlarm numOfServiceAlarm } } calls { source target isAlert callType cpm avgResponseTime } } }"}
response:
{"data":{"getSlowService":[{"service":{"key":"263","label":"/echo","applicationId":"110","applicationName":"chatbot-api"},"value":108},{"service":{"key":"270","label":"/chatBot/getAvatarUrl","applicationId":"110","applicationName":"chatbot-api"},"value":71},{"service":{"key":"-274","label":"/chatBot/queryChatHistory","applicationId":"110","applicationName":"chatbot-api"},"value":59},{"service":{"key":"265","label":"/callback/rl","applicationId":"110","applicationName":"chatbot-api"},"value":30},{"service":{"key":"271","label":"/chatBot/hasUnReadMessage","applicationId":"110","applicationName":"chatbot-api"},"value":22},{"service":{"key":"-269","label":"/chatBot/inManualSession","applicationId":"110","applicationName":"chatbot-api"},"value":19},{"service":{"key":"262","label":"/chatBot/getRLLastReplyTime","applicationId":"110","applicationName":"chatbot-api"},"value":17},{"service":{"key":"-265","label":"RocketMQ/RongLianCustomerServiceQueue/Consumer","applicationId":"110","applicationName":"chatbot-api"},"value":0}],"getServerThroughput":[{"key":"301","osName":"Linux","host":"l-chatbot-webapi1.rd.cn1","pid":32239,"ipv4":["172.31.30.43"],"value":4},{"key":"299","osName":"Linux","host":"l-chatbot-webapi3.rd.cn1","pid":516,"ipv4":["172.31.35.43"],"value":3},{"key":"309","osName":"Linux","host":"l-chatbot-webapi2.rd.cn1","pid":2834,"ipv4":["172.31.30.44"],"value":2},{"key":"298","osName":"Linux","host":"l-chatbot-webapi4.rd.cn1","pid":3017,"ipv4":["172.31.35.44"],"value":2}]},"errors":[{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[8]/callType)"},{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[9]/callType)"},{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[10]/callType)"},{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[11]/callType)"},{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[12]/callType)"},{"message":"Cannot return null for non-nullable type: 'String' within parent 'Call' (/getApplicationTopology/calls[13]/callType)"}]}
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services