skywalking
skywalking copied to clipboard
[Feature] Support for Micronaut plugin
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
The first step is support Micronaut Server Application and Micronaut Client
Use case
No response
Related issues
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
endTo receive actual data
To validate
[2022-08-08 15:06:30:826] [ERROR] - org.apache.skywalking.plugin.test.agent.tool.Main.verify(Main.java:53) -
assert failed.
SegmentNotFoundException:
expected:
Segment:
- span[-1, 0] GET:/micronaut/success
actual:
Segment[52b9160c868a4b7a95852f01acd16b25.37.16599711821650000] e
expected: Span[-1, 0] GET:/micronaut/success
actual: span[-1, 0] HEAD:/micronaut/healthCheck
reason: [operation name]: expected=>{GET:/micronaut/success}, actual=>{HEAD:/micronaut/healthCheck}
Segment[52b9160c868a4b7a95852f01acd16b25.41.16599711841430000] e
expected: Span[-1, 0] GET:/micronaut/success
actual: span[-1, 0] GET:/micronaut/success
reason: [tag(url) value]: expected=>{/micronaut/success}, actual=>{http://localhost:8080/micronaut/success}
Segment[52b9160c868a4b7a95852f01acd16b25.44.16599711842720000] e
expected: Span[-1, 0] GET:/micronaut/success
actual: span[-1, 0] GET:/micronaut/404
reason: [operation name]: expected=>{GET:/micronaut/success}, actual=>{GET:/micronaut/404}
Segment[52b9160c868a4b7a95852f01acd16b25.48.16599711847720000] e
expected: Span[-1, 0] GET:/micronaut/success
actual: span[-1, 0] GET:/micronaut/error
reason: [operation name]: expected=>{GET:/micronaut/success}, actual=>{GET:/micronaut/error}
My test-scenario is a web server , it accept healthy check request and test request . When I run my test-scenario , I got above error .It seems like Plugin automatic test framework compare healthy check request with test request Is there some way to ignore healthy-check-url when comparing segment info ? Or some else reason cause this problem ?
@wu-sheng
This is the issue. URI GET:/micronaut/success is checked, but fails, because tag doesn't match.
I misunderstood the report message . Haha
This is the issue. URI GET:/micronaut/success is checked, but fails, because tag doesn't match.