-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added span to DispatcherServlet.render #409
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work! The only thing I would change is to add it to the apm-spring-webmvc-plugin
module instead of creating a new plugin.
I moved module for existing plugin. |
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
also, please add an entry to |
Jenkins test this please |
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
===========================================
- Coverage 74.06% 71.86% -2.2%
+ Complexity 1433 1269 -164
===========================================
Files 145 141 -4
Lines 5829 4888 -941
Branches 692 496 -196
===========================================
- Hits 4317 3513 -804
+ Misses 1283 1152 -131
+ Partials 229 223 -6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Not a Spring champion, but looks good to me. Only a small comment about fallback name when view name not available and understanding what the second span is
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...test/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentationTest.java
Outdated
Show resolved
Hide resolved
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...src/main/java/co/elastic/apm/agent/spring/webmvc/DispatcherServletRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nugusbayevkk This is awesome, great job! Thanks a lot!
thanks all for the help! |
closes #287