EvanLjp commented on pull request #5426: URL: https://github.com/apache/skywalking/pull/5426#issuecomment-687704692
@wu-sheng how to trigger the entry point? the following config is defined in configuration.yml ``` type: jvm entryService: http://localhost:8080/exception-checker-spring/case/exceptionchecker healthCheck: http://localhost:8080/exception-checker-spring/case/healthCheck startScript: ./bin/startup.sh runningMode: with_optional withPlugins: apm-spring-annotation-plugin-*.jar ``` And the configuration in expectedData.yaml is like following: ``` segmentItems: - serviceName: exception-checker-spring segmentSize: ge 2 segments: - segmentId: not null spans: - operationName: /case/exceptionchecker operationId: 0 parentSpanId: -1 spanId: 0 spanLayer: Http startTime: nq 0 endTime: nq 0 componentId: 1 isError: false spanType: Entry peer: '' tags: - {key: url, value: 'http://localhost:8080/exception-checker-spring/case/exceptionchecker'} - {key: http.method, value: GET} skipAnalysis: 'false' ``` When trigger the plugin test, only find health check segment and not find entry point. ``` assert failed. SegmentNotFoundException: expected: Segment: - span[-1, 0] /case/exceptionchecker actual: Segment[1722c440d2ce4213804937d65ea51945.35.15993703308650000] e expected: Span[-1, 0] /case/exceptionchecker actual: span[-1, 0] /case/healthCheck reason: [operation name]: expected=>{/case/exceptionchecker}, actual=>{/case/healthCheck} ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
