Closed ascrutae closed 6 years ago
FYI @liuhaoyang @candyleer we have started the test for beta release. Welcome to join me. @ascrutae has reported some issues,
@peng-yongsheng @hanahmily @ascrutae Topology
issue is caused by a complex scenario: didn't use mapping to transform alarm. I will talk with @hanahmily and @peng-yongsheng about new design to this sub page.
got it
Alarm
link is invalid. Click the Alarm
icon will redirect to the 404 pageFix UI issues in https://github.com/apache/incubator-skywalking/pull/1155
@ascrutae @liuhaoyang All known and reported issues have been declared fixed. Please run the test.
FYI @peng-yongsheng has one or two features to be done.
in dashboard ,when i turn 15 minutes
to 30 minutes
request
http://localhost:8000/api/notice
param
{"query":"\n query Notice($duration:Duration!){\n applicationAlarmList: loadAlarmList(alarmType: APPLICATION, duration: $duration, paging: { pageNum: 1, pageSize: 5, needTotal: true }) {\n items {\n title\n startTime\n causeType\n }\n total\n }\n serverAlarmList: loadAlarmList(alarmType: SERVER, duration: $duration, paging: { pageNum: 1, pageSize: 5, needTotal: true }) {\n items {\n title\n startTime\n causeType\n }\n total\n }\n }\n","variables":{"duration":{"start":"2018-05-04 1148","end":"2018-05-04 1218","step":"MINUTE"}}}
response
{"data":{"applicationAlarmList":{"items":[],"total":0},"serverAlarmList":{"items":[],"total":0}}}
request
http://localhost:8000/api/dashboard
params
{"variables":{"duration":{"start":"2018-05-04 1148","end":"2018-05-04 1218","step":"MINUTE"}},"query":"\n query Dashboard($duration: Duration!) {\n getClusterBrief(duration: $duration) {\n numOfApplication\n numOfService\n numOfDatabase\n numOfCache\n numOfMQ\n }\n getAlarmTrend(duration: $duration) {\n numOfAlarmRate\n }\n getThermodynamic(duration: $duration, type: ALL) {\n nodes\n responseTimeStep\n }\n getTopNSlowService(duration: $duration, topN: 10) {\n key: id\n label: name\n value: avgResponseTime\n }\n getTopNApplicationThroughput(duration: $duration, topN: 10) {\n key: applicationId\n label: applicationCode\n value: cpm\n }\n }\n "}
response
{"data":{"getClusterBrief":{"numOfApplication":0,"numOfService":20,"numOfDatabase":0,"numOfCache":1,"numOfMQ":0},"getAlarmTrend":{"numOfAlarmRate":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"getThermodynamic":{"nodes":[[0,0,0],[0,1,0],[0,2,0],[0,3,0],[0,4,0],[0,5,0],[0,6,0],[0,7,0],[0,8,0],[0,9,0],[0,10,0],[0,11,0],[0,12,0],[0,13,0],[0,14,0],[0,15,0],[0,16,0],[0,17,0],[0,18,0],[0,19,0],[0,20,0],[0,21,0],[0,22,0],[0,23,0],[0,24,0],[0,25,0],[0,26,0],[0,27,0],[0,28,0],[0,29,0],[0,30,0],[0,31,0],[0,32,0],[0,33,0],[0,34,0],[0,35,0],[0,36,0],[0,37,0],[0,38,0],[0,39,0],[0,40,0],[1,0,0],[1,1,0],[1,2,0],[1,3,0],[1,4,0],[1,5,0],[1,6,0],[1,7,0],[1,8,0],[1,9,0],[1,10,0],[1,11,0],[1,12,0],[1,13,0],[1,14,0],[1,15,0],[1,16,0],[1,17,0],[1,18,0],[1,19,0],[1,20,0],[1,21,0],[1,22,0],[1,23,0],[1,24,0],[1,25,0],[1,26,0],[1,27,0],[1,28,0],[1,29,0],[1,30,0],[1,31,0],[1,32,0],[1,33,0],[1,34,0],[1,35,0],[1,36,0],[1,37,0],[1,38,0],[1,39,0],[1,40,0],[2,0,0],[2,1,0],[2,2,0],[2,3,0],[2,4,0],[2,5,0],[2,6,0],[2,7,0],[2,8,0],[2,9,0],[2,10,0],[2,11,0],[2,12,0],[2,13,0],[2,14,0],[2,15,0],[2,16,0],[2,17,0],[2,18,0],[2,19,0],[2,20,0],[2,21,0],[2,22,0],[2,23,0],[2,24,0],[2,25,0],[2,26,0],[2,27,0],[2,28,0],[2,29,0],[2,30,0],[2,31,0],[2,32,0],[2,33,0],[2,34,0],[2,35,0],[2,36,0],[2,37,0],[2,38,0],[2,39,0],[2,40,0],[3,0,0],[3,1,0],[3,2,0],[3,3,0],[3,4,0],[3,5,0],[3,6,0],[3,7,0],[3,8,0],[3,9,0],[3,10,0],[3,11,0],[3,12,0],[3,13,0],[3,14,0],[3,15,0],[3,16,0],[3,17,0],[3,18,0],[3,19,0],[3,20,0],[3,21,0],[3,22,0],[3,23,0],[3,24,0],[3,25,0],[3,26,0],[3,27,0],[3,28,0],[3,29,0],[3,30,0],[3,31,0],[3,32,0],[3,33,0],[3,34,0],[3,35,0],[3,36,0],[3,37,0],[3,38,0],[3,39,0],[3,40,0],[4,0,0],[4,1,0],[4,2,0],[4,3,0],[4,4,0],[4,5,0],[4,6,0],[4,7,0],[4,8,0],[4,9,0],[4,10,0],[4,11,0],[4,12,0],[4,13,0],[4,14,0],[4,15,0],[4,16,0],[4,17,0],[4,18,0],[4,19,0],[4,20,0],[4,21,0],[4,22,0],[4,23,0],[4,24,0],[4,25,0],[4,26,0],[4,27,0],[4,28,0],[4,29,0],[4,30,0],[4,31,0],[4,32,0],[4,33,0],[4,34,0],[4,35,0],[4,36,0],[4,37,0],[4,38,0],[4,39,0],[4,40,0],[5,0,0],[5,1,0],[5,2,0],[5,3,0],[5,4,0],[5,5,0],[5,6,0],[5,7,0],[5,8,0],[5,9,0],[5,10,0],[5,11,0],[5,12,0],[5,13,0],[5,14,0],[5,15,0],[5,16,0],[5,17,0],[5,18,0],[5,19,0],[5,20,0],[5,21,0],[5,22,0],[5,23,0],[5,24,0],[5,25,0],[5,26,0],[5,27,0],[5,28,0],[5,29,0],[5,30,0],[5,31,0],[5,32,0],[5,33,0],[5,34,0],[5,35,0],[5,36,0],[5,37,0],[5,38,0],[5,39,0],[5,40,0],[6,0,0],[6,1,0],[6,2,0],[6,3,0],[6,4,0],[6,5,0],[6,6,0],[6,7,0],[6,8,0],[6,9,0],[6,10,0],[6,11,0],[6,12,0],[6,13,0],[6,14,0],[6,15,0],[6,16,0],[6,17,0],[6,18,0],[6,19,0],[6,20,0],[6,21,0],[6,22,0],[6,23,0],[6,24,0],[6,25,0],[6,26,0],[6,27,0],[6,28,0],[6,29,0],[6,30,0],[6,31,0],[6,32,0],[6,33,0],[6,34,0],[6,35,0],[6,36,0],[6,37,0],[6,38,0],[6,39,0],[6,40,0],[7,0,0],[7,1,0],[7,2,0],[7,3,0],[7,4,0],[7,5,0],[7,6,0],[7,7,0],[7,8,0],[7,9,0],[7,10,0],[7,11,0],[7,12,0],[7,13,0],[7,14,0],[7,15,0],[7,16,0],[7,17,0],[7,18,0],[7,19,0],[7,20,0],[7,21,0],[7,22,0],[7,23,0],[7,24,0],[7,25,0],[7,26,0],[7,27,0],[7,28,0],[7,29,0],[7,30,0],[7,31,0],[7,32,0],[7,33,0],[7,34,0],[7,35,0],[7,36,0],[7,37,0],[7,38,0],[7,39,0],[7,40,0],[8,0,0],[8,1,0],[8,2,0],[8,3,0],[8,4,0],[8,5,0],[8,6,0],[8,7,0],[8,8,0],[8,9,0],[8,10,0],[8,11,0],[8,12,0],[8,13,0],[8,14,0],[8,15,0],[8,16,0],[8,17,0],[8,18,0],[8,19,0],[8,20,0],[8,21,0],[8,22,0],[8,23,0],[8,24,0],[8,25,0],[8,26,0],[8,27,0],[8,28,0],[8,29,0],[8,30,0],[8,31,0],[8,32,0],[8,33,0],[8,34,0],[8,35,0],[8,36,0],[8,37,0],[8,38,0],[8,39,0],[8,40,0],[9,0,0],[9,1,0],[9,2,0],[9,3,0],[9,4,0],[9,5,0],[9,6,0],[9,7,0],[9,8,0],[9,9,0],[9,10,0],[9,11,0],[9,12,0],[9,13,0],[9,14,0],[9,15,0],[9,16,0],[9,17,0],[9,18,0],[9,19,0],[9,20,0],[9,21,0],[9,22,0],[9,23,0],[9,24,0],[9,25,0],[9,26,0],[9,27,0],[9,28,0],[9,29,0],[9,30,0],[9,31,0],[9,32,0],[9,33,0],[9,34,0],[9,35,0],[9,36,0],[9,37,0],[9,38,0],[9,39,0],[9,40,0],[10,0,0],[10,1,0],[10,2,0],[10,3,0],[10,4,0],[10,5,0],[10,6,0],[10,7,0],[10,8,0],[10,9,0],[10,10,0],[10,11,0],[10,12,0],[10,13,0],[10,14,0],[10,15,0],[10,16,0],[10,17,0],[10,18,0],[10,19,0],[10,20,0],[10,21,0],[10,22,0],[10,23,0],[10,24,0],[10,25,0],[10,26,0],[10,27,0],[10,28,0],[10,29,0],[10,30,0],[10,31,0],[10,32,0],[10,33,0],[10,34,0],[10,35,0],[10,36,0],[10,37,0],[10,38,0],[10,39,0],[10,40,0],[11,0,0],[11,1,0],[11,2,0],[11,3,0],[11,4,0],[11,5,0],[11,6,0],[11,7,0],[11,8,0],[11,9,0],[11,10,0],[11,11,0],[11,12,0],[11,13,0],[11,14,0],[11,15,0],[11,16,0],[11,17,0],[11,18,0],[11,19,0],[11,20,0],[11,21,0],[11,22,0],[11,23,0],[11,24,0],[11,25,0],[11,26,0],[11,27,0],[11,28,0],[11,29,0],[11,30,0],[11,31,0],[11,32,0],[11,33,0],[11,34,0],[11,35,0],[11,36,0],[11,37,0],[11,38,0],[11,39,0],[11,40,0],[12,0,0],[12,1,0],[12,2,0],[12,3,0],[12,4,0],[12,5,0],[12,6,0],[12,7,0],[12,8,0],[12,9,0],[12,10,0],[12,11,0],[12,12,0],[12,13,0],[12,14,0],[12,15,0],[12,16,0],[12,17,0],[12,18,0],[12,19,0],[12,20,0],[12,21,0],[12,22,0],[12,23,0],[12,24,0],[12,25,0],[12,26,0],[12,27,0],[12,28,0],[12,29,0],[12,30,0],[12,31,0],[12,32,0],[12,33,0],[12,34,0],[12,35,0],[12,36,0],[12,37,0],[12,38,0],[12,39,0],[12,40,0],[13,0,0],[13,1,0],[13,2,0],[13,3,0],[13,4,0],[13,5,0],[13,6,0],[13,7,0],[13,8,0],[13,9,0],[13,10,0],[13,11,0],[13,12,0],[13,13,0],[13,14,0],[13,15,0],[13,16,0],[13,17,0],[13,18,0],[13,19,0],[13,20,0],[13,21,0],[13,22,0],[13,23,0],[13,24,0],[13,25,0],[13,26,0],[13,27,0],[13,28,0],[13,29,0],[13,30,0],[13,31,0],[13,32,0],[13,33,0],[13,34,0],[13,35,0],[13,36,0],[13,37,0],[13,38,0],[13,39,0],[13,40,0],[14,0,0],[14,1,0],[14,2,0],[14,3,0],[14,4,0],[14,5,0],[14,6,0],[14,7,0],[14,8,0],[14,9,0],[14,10,0],[14,11,0],[14,12,0],[14,13,0],[14,14,0],[14,15,0],[14,16,0],[14,17,0],[14,18,0],[14,19,0],[14,20,0],[14,21,0],[14,22,0],[14,23,0],[14,24,0],[14,25,0],[14,26,0],[14,27,0],[14,28,0],[14,29,0],[14,30,0],[14,31,0],[14,32,0],[14,33,0],[14,34,0],[14,35,0],[14,36,0],[14,37,0],[14,38,0],[14,39,0],[14,40,0],[15,0,0],[15,1,0],[15,2,0],[15,3,0],[15,4,0],[15,5,0],[15,6,0],[15,7,0],[15,8,0],[15,9,0],[15,10,0],[15,11,0],[15,12,0],[15,13,0],[15,14,0],[15,15,0],[15,16,0],[15,17,0],[15,18,0],[15,19,0],[15,20,0],[15,21,0],[15,22,0],[15,23,0],[15,24,0],[15,25,0],[15,26,0],[15,27,0],[15,28,0],[15,29,0],[15,30,0],[15,31,0],[15,32,0],[15,33,0],[15,34,0],[15,35,0],[15,36,0],[15,37,0],[15,38,0],[15,39,0],[15,40,0],[16,0,0],[16,1,0],[16,2,0],[16,3,0],[16,4,0],[16,5,0],[16,6,0],[16,7,0],[16,8,0],[16,9,0],[16,10,0],[16,11,0],[16,12,0],[16,13,0],[16,14,0],[16,15,0],[16,16,0],[16,17,0],[16,18,0],[16,19,0],[16,20,0],[16,21,0],[16,22,0],[16,23,0],[16,24,0],[16,25,0],[16,26,0],[16,27,0],[16,28,0],[16,29,0],[16,30,0],[16,31,0],[16,32,0],[16,33,0],[16,34,0],[16,35,0],[16,36,0],[16,37,0],[16,38,0],[16,39,0],[16,40,0],[17,0,0],[17,1,0],[17,2,0],[17,3,0],[17,4,0],[17,5,0],[17,6,0],[17,7,0],[17,8,0],[17,9,0],[17,10,0],[17,11,0],[17,12,0],[17,13,0],[17,14,0],[17,15,0],[17,16,0],[17,17,0],[17,18,0],[17,19,0],[17,20,0],[17,21,0],[17,22,0],[17,23,0],[17,24,0],[17,25,0],[17,26,0],[17,27,0],[17,28,0],[17,29,0],[17,30,0],[17,31,0],[17,32,0],[17,33,0],[17,34,0],[17,35,0],[17,36,0],[17,37,0],[17,38,0],[17,39,0],[17,40,0],[18,0,0],[18,1,0],[18,2,0],[18,3,0],[18,4,0],[18,5,0],[18,6,0],[18,7,0],[18,8,0],[18,9,0],[18,10,0],[18,11,0],[18,12,0],[18,13,0],[18,14,0],[18,15,0],[18,16,0],[18,17,0],[18,18,0],[18,19,0],[18,20,0],[18,21,0],[18,22,0],[18,23,0],[18,24,0],[18,25,0],[18,26,0],[18,27,0],[18,28,0],[18,29,0],[18,30,0],[18,31,0],[18,32,0],[18,33,0],[18,34,0],[18,35,0],[18,36,0],[18,37,0],[18,38,0],[18,39,0],[18,40,0],[19,0,0],[19,1,0],[19,2,0],[19,3,0],[19,4,0],[19,5,0],[19,6,0],[19,7,0],[19,8,0],[19,9,0],[19,10,0],[19,11,0],[19,12,0],[19,13,0],[19,14,0],[19,15,0],[19,16,0],[19,17,0],[19,18,0],[19,19,0],[19,20,0],[19,21,0],[19,22,0],[19,23,0],[19,24,0],[19,25,0],[19,26,0],[19,27,0],[19,28,0],[19,29,0],[19,30,0],[19,31,0],[19,32,0],[19,33,0],[19,34,0],[19,35,0],[19,36,0],[19,37,0],[19,38,0],[19,39,0],[19,40,0],[20,0,0],[20,1,0],[20,2,0],[20,3,0],[20,4,0],[20,5,0],[20,6,0],[20,7,0],[20,8,0],[20,9,0],[20,10,0],[20,11,0],[20,12,0],[20,13,0],[20,14,0],[20,15,0],[20,16,0],[20,17,0],[20,18,0],[20,19,0],[20,20,0],[20,21,0],[20,22,0],[20,23,0],[20,24,0],[20,25,0],[20,26,0],[20,27,0],[20,28,0],[20,29,0],[20,30,0],[20,31,0],[20,32,0],[20,33,0],[20,34,0],[20,35,0],[20,36,0],[20,37,0],[20,38,0],[20,39,0],[20,40,0],[21,0,0],[21,1,0],[21,2,0],[21,3,0],[21,4,0],[21,5,0],[21,6,0],[21,7,0],[21,8,0],[21,9,0],[21,10,0],[21,11,0],[21,12,0],[21,13,0],[21,14,0],[21,15,0],[21,16,0],[21,17,0],[21,18,0],[21,19,0],[21,20,0],[21,21,0],[21,22,0],[21,23,0],[21,24,0],[21,25,0],[21,26,0],[21,27,0],[21,28,0],[21,29,0],[21,30,0],[21,31,0],[21,32,0],[21,33,0],[21,34,0],[21,35,0],[21,36,0],[21,37,0],[21,38,0],[21,39,0],[21,40,0],[22,0,0],[22,1,0],[22,2,0],[22,3,0],[22,4,0],[22,5,0],[22,6,0],[22,7,0],[22,8,0],[22,9,0],[22,10,0],[22,11,0],[22,12,0],[22,13,0],[22,14,0],[22,15,0],[22,16,0],[22,17,0],[22,18,0],[22,19,0],[22,20,0],[22,21,0],[22,22,0],[22,23,0],[22,24,0],[22,25,0],[22,26,0],[22,27,0],[22,28,0],[22,29,0],[22,30,0],[22,31,0],[22,32,0],[22,33,0],[22,34,0],[22,35,0],[22,36,0],[22,37,0],[22,38,0],[22,39,0],[22,40,0],[23,0,0],[23,1,0],[23,2,0],[23,3,0],[23,4,0],[23,5,0],[23,6,0],[23,7,0],[23,8,0],[23,9,0],[23,10,0],[23,11,0],[23,12,0],[23,13,0],[23,14,0],[23,15,0],[23,16,0],[23,17,0],[23,18,0],[23,19,0],[23,20,0],[23,21,0],[23,22,0],[23,23,0],[23,24,0],[23,25,0],[23,26,0],[23,27,0],[23,28,0],[23,29,0],[23,30,0],[23,31,0],[23,32,0],[23,33,0],[23,34,0],[23,35,0],[23,36,0],[23,37,0],[23,38,0],[23,39,0],[23,40,0],[24,0,0],[24,1,0],[24,2,0],[24,3,0],[24,4,0],[24,5,0],[24,6,0],[24,7,0],[24,8,0],[24,9,0],[24,10,0],[24,11,0],[24,12,0],[24,13,0],[24,14,0],[24,15,0],[24,16,0],[24,17,0],[24,18,0],[24,19,0],[24,20,0],[24,21,0],[24,22,0],[24,23,0],[24,24,0],[24,25,0],[24,26,0],[24,27,0],[24,28,0],[24,29,0],[24,30,0],[24,31,0],[24,32,0],[24,33,0],[24,34,0],[24,35,0],[24,36,0],[24,37,0],[24,38,0],[24,39,0],[24,40,0],[25,0,0],[25,1,0],[25,2,0],[25,3,0],[25,4,0],[25,5,0],[25,6,0],[25,7,0],[25,8,0],[25,9,0],[25,10,0],[25,11,0],[25,12,0],[25,13,0],[25,14,0],[25,15,0],[25,16,0],[25,17,0],[25,18,0],[25,19,0],[25,20,0],[25,21,0],[25,22,0],[25,23,0],[25,24,0],[25,25,0],[25,26,0],[25,27,0],[25,28,0],[25,29,0],[25,30,0],[25,31,0],[25,32,0],[25,33,0],[25,34,0],[25,35,0],[25,36,0],[25,37,0],[25,38,0],[25,39,0],[25,40,0],[26,0,0],[26,1,0],[26,2,0],[26,3,0],[26,4,0],[26,5,0],[26,6,0],[26,7,0],[26,8,0],[26,9,0],[26,10,0],[26,11,0],[26,12,0],[26,13,0],[26,14,0],[26,15,0],[26,16,0],[26,17,0],[26,18,0],[26,19,0],[26,20,0],[26,21,0],[26,22,0],[26,23,0],[26,24,0],[26,25,0],[26,26,0],[26,27,0],[26,28,0],[26,29,0],[26,30,0],[26,31,0],[26,32,0],[26,33,0],[26,34,0],[26,35,0],[26,36,0],[26,37,0],[26,38,0],[26,39,0],[26,40,0],[27,0,0],[27,1,0],[27,2,0],[27,3,0],[27,4,0],[27,5,0],[27,6,0],[27,7,0],[27,8,0],[27,9,0],[27,10,0],[27,11,0],[27,12,0],[27,13,0],[27,14,0],[27,15,0],[27,16,0],[27,17,0],[27,18,0],[27,19,0],[27,20,0],[27,21,0],[27,22,0],[27,23,0],[27,24,0],[27,25,0],[27,26,0],[27,27,0],[27,28,0],[27,29,0],[27,30,0],[27,31,0],[27,32,0],[27,33,0],[27,34,0],[27,35,0],[27,36,0],[27,37,0],[27,38,0],[27,39,0],[27,40,0],[28,0,0],[28,1,0],[28,2,0],[28,3,0],[28,4,0],[28,5,0],[28,6,0],[28,7,0],[28,8,0],[28,9,0],[28,10,0],[28,11,0],[28,12,0],[28,13,0],[28,14,0],[28,15,0],[28,16,0],[28,17,0],[28,18,0],[28,19,0],[28,20,0],[28,21,0],[28,22,0],[28,23,0],[28,24,0],[28,25,0],[28,26,0],[28,27,0],[28,28,0],[28,29,0],[28,30,0],[28,31,0],[28,32,0],[28,33,0],[28,34,0],[28,35,0],[28,36,0],[28,37,0],[28,38,0],[28,39,0],[28,40,0],[29,0,0],[29,1,0],[29,2,0],[29,3,0],[29,4,0],[29,5,0],[29,6,0],[29,7,0],[29,8,0],[29,9,0],[29,10,0],[29,11,0],[29,12,0],[29,13,0],[29,14,0],[29,15,0],[29,16,0],[29,17,0],[29,18,0],[29,19,0],[29,20,0],[29,21,0],[29,22,0],[29,23,0],[29,24,0],[29,25,0],[29,26,0],[29,27,0],[29,28,0],[29,29,0],[29,30,0],[29,31,0],[29,32,0],[29,33,0],[29,34,0],[29,35,0],[29,36,0],[29,37,0],[29,38,0],[29,39,0],[29,40,0],[30,0,0],[30,1,0],[30,2,0],[30,3,0],[30,4,0],[30,5,0],[30,6,0],[30,7,0],[30,8,0],[30,9,0],[30,10,0],[30,11,0],[30,12,0],[30,13,0],[30,14,0],[30,15,0],[30,16,0],[30,17,0],[30,18,0],[30,19,0],[30,20,0],[30,21,0],[30,22,0],[30,23,0],[30,24,0],[30,25,0],[30,26,0],[30,27,0],[30,28,0],[30,29,0],[30,30,0],[30,31,0],[30,32,0],[30,33,0],[30,34,0],[30,35,0],[30,36,0],[30,37,0],[30,38,0],[30,39,0],[30,40,0]],"responseTimeStep":50},"getTopNSlowService":[],"getTopNApplicationThroughput":[]}}
I am trying to pinpoint this issue
Fixed in #1164
@candyleer maybe you could pinpoint the issue? or provide the es data, like @ascrutae did in his report.
@hanahmily Maybe you should take care this, I remember I mentioned this, before.
I have submitted an issue for this problem. https://github.com/apache/incubator-skywalking/issues/1160
ApplicationComponentSpanListener
java.lang.ClassCastException: org.apache.skywalking.apm.collector.analysis.metric.provider.worker.application.component.ApplicationComponentSpanListener cannot be cast to org.apache.skywalking.apm.collector.analysis.segment.parser.define.listener.FirstSpanListener
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.lambda$notifyFirstListener$3(SegmentParse.java:223) ~[classes/:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_144]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.notifyFirstListener(SegmentParse.java:221) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.preBuild(SegmentParse.java:151) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.parse(SegmentParse.java:68) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.buffer.SegmentBufferReader.read(SegmentBufferReader.java:134) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.buffer.SegmentBufferReader.preRead(SegmentBufferReader.java:70) ~[classes/:?]
at org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:36) [classes/:?]
at java.util.concurrent.Executors$RunnableAdapter.call$$$capture(Executors.java:511) [?:1.8.0_144]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java) [?:1.8.0_144]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
2018-05-04 12:32:19,066 - org.apache.skywalking.apm.collector.analysis.segment.parser.provider.buffer.SegmentBufferReader -1248569 [pool-4-thread-1] ERROR [] - Segment buffer pre read failure.
java.lang.ClassCastException: org.apache.skywalking.apm.collector.analysis.metric.provider.worker.application.component.ApplicationComponentSpanListener cannot be cast to org.apache.skywalking.apm.collector.analysis.segment.parser.define.listener.FirstSpanListener
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.lambda$notifyFirstListener$3(SegmentParse.java:223) ~[classes/:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_144]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.notifyFirstListener(SegmentParse.java:221) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.preBuild(SegmentParse.java:151) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.parser.SegmentParse.parse(SegmentParse.java:68) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.buffer.SegmentBufferReader.read(SegmentBufferReader.java:134) ~[classes/:?]
at org.apache.skywalking.apm.collector.analysis.segment.parser.provider.buffer.SegmentBufferReader.preRead(SegmentBufferReader.java:70) ~[classes/:?]
at org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:36) [classes/:?]
at java.util.concurrent.Executors$RunnableAdapter.call$$$capture(Executors.java:511) [?:1.8.0_144]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java) [?:1.8.0_144]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
remove the judgement in ApplicationComponentSpanListener
Fixed inside #1163
@candyleer your blocking should be removed by now.
@liuhaoyang #1165 should fix your server type issue, but need your test case to recheck.
screensnapshot
Request URL: http://localhost:8080/api/topology
Request param:
{"variables":{"duration":{"start":"2018-05-04 1713","end":"2018-05-04 1728","step":"MINUTE"}},"query":"\n query Topology($duration: Duration!) {\n getClusterTopology(duration: $duration) {\n nodes {\n id\n name\n type\n ... on ApplicationNode {\n sla\n cpm\n avgResponseTime\n apdex\n isAlarm\n numOfServer\n numOfServerAlarm\n numOfServiceAlarm\n }\n }\n calls {\n source\n target\n isAlert\n callType\n cpm\n avgResponseTime\n }\n }\n }\n "}
Response Data:
{"data":{"getClusterTopology":{"nodes":[{"id":"-2","name":"portal-service","type":"Tomcat","sla":99,"cpm":150,"avgResponseTime":3514,"apdex":88,"isAlarm":true,"numOfServer":1,"numOfServerAlarm":2,"numOfServiceAlarm":5},{"id":"-1","name":"persistence-service","type":"Dubbo","sla":100,"cpm":147,"avgResponseTime":1,"apdex":100,"isAlarm":true,"numOfServer":1,"numOfServerAlarm":2,"numOfServiceAlarm":5},{"id":"2","name":"cache-service","type":"Motan","sla":100,"cpm":299,"avgResponseTime":556,"apdex":98,"isAlarm":true,"numOfServer":1,"numOfServerAlarm":2,"numOfServiceAlarm":5},{"id":"-5","name":"localhost:27017","type":"MongoDB"},{"id":"-3","name":"127.0.0.1:6379","type":"Redis"},{"id":"3","name":"localhost:-1","type":"H2"},{"id":"4","name":"127.0.0.1:3307","type":"Mysql"},{"id":"1","name":"User","type":"USER"}],"calls":[{"source":"2","target":"-5","isAlert":false,"callType":"MongoDB","cpm":296,"avgResponseTime":117},{"source":"2","target":"-3","isAlert":false,"callType":"Redis","cpm":298,"avgResponseTime":1},{"source":"2","target":"3","isAlert":false,"callType":"H2","cpm":597,"avgResponseTime":0},{"source":"-2","target":"2","isAlert":false,"callType":"Motan","cpm":300,"avgResponseTime":550},{"source":"-2","target":"-1","isAlert":false,"callType":"Dubbo","cpm":150,"avgResponseTime":257},{"source":"-1","target":"4","isAlert":false,"callType":"Mysql","cpm":295,"avgResponseTime":0},{"source":"1","target":"-2","isAlert":false,"callType":"","cpm":149,"avgResponseTime":3511}]}}}
request URL: http://localhost:8080/api/notice
request param:
{"query":"\n query Notice($duration:Duration!){\n applicationAlarmList: loadAlarmList(alarmType: APPLICATION, duration: $duration, paging: { pageNum: 1, pageSize: 5, needTotal: true }) {\n items {\n title\n startTime\n causeType\n }\n total\n }\n serverAlarmList: loadAlarmList(alarmType: SERVER, duration: $duration, paging: { pageNum: 1, pageSize: 5, needTotal: true }) {\n items {\n title\n startTime\n causeType\n }\n total\n }\n }\n","variables":{"duration":{"start":"2018-05-04 1713","end":"2018-05-04 1728","step":"MINUTE"}}}
Response body:
{"data":{"applicationAlarmList":{"items":[{"title":"Application cache-service response time alarm.","startTime":"2018-05-04 17:21","causeType":"SLOW_RESPONSE"},{"title":"Application cache-service response time alarm.","startTime":"2018-05-04 17:21","causeType":"SLOW_RESPONSE"},{"title":"Application portal-service response time alarm.","startTime":"2018-05-04 17:23","causeType":"SLOW_RESPONSE"}],"total":3},"serverAlarmList":{"items":[{"title":"Server ascrutae of Application cache-service response time alarm.","startTime":"2018-05-04 17:21","causeType":"SLOW_RESPONSE"},{"title":"Server ascrutae of Application portal-service response time alarm.","startTime":"2018-05-04 17:23","causeType":"SLOW_RESPONSE"}],"total":2}}}
ES Data: data.zip
@ascrutae @liuhaoyang @candyleer Maybe we should run second round test again.
@ascrutae If your local test is OK, please consider to deploy this into demo env for us to do design review.
@candyleer @liuhaoyang The 5.0.0-beta tested and we are going to send the vote mail about 5.0-beta release next week. I will close this issue. Please open a new issue if anybody has any issue.
Thanks everyone. Before and during release vote, feel free to open question. Especially for @liuhaoyang about .NET CORE related features. Native release supported is very important.
The PMC will consider the issue, whether it blocks the end user.
Report @ 2018/05/03[Fixed]the prefix description of Issue:
Issue
Topology
[COLLECTOR] TheFixed, remove these alarm info. Replace by the topology overview info.Application Alarm
count is incorrectScreen snapshot:
request url:
request paramter:
response body:
Notice Request url:
request parameter:
response body:
Server
[AGENT] TheFix by #1147, updated by @wu-shengGC
value is incorrectScreen snapshot:
Request URL:
request parameter:
response body:
Application
[COLLECTOR] [UI] Theserver
value is incorrectScreen snapshot:
request url:
request paramter:
response body:
ES Data: data.zip