Instrument View#render instead of DispatcherServlet#render#829
Instrument View#render instead of DispatcherServlet#render#829felixbarny merged 28 commits intoelastic:masterfrom
Conversation
|
Hi @felixbarny , |
Codecov Report
@@ Coverage Diff @@
## master #829 +/- ##
============================================
- Coverage 64.3% 64.13% -0.17%
Complexity 84 84
============================================
Files 232 231 -1
Lines 9592 9353 -239
Branches 1275 1215 -60
============================================
- Hits 6168 5999 -169
+ Misses 3047 2973 -74
- Partials 377 381 +4
Continue to review full report at Codecov.
|
felixbarny
left a comment
There was a problem hiding this comment.
Awesome job! Sorry for the slow review.
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Show resolved
Hide resolved
eyalkoren
left a comment
There was a problem hiding this comment.
Great, thanks!
A few minor comments.
In addition, since the default of obtainSubtype is not tested, please add a small sanity test for this method only, eg obtainSubtype(MyCustomView) yielding MyCustom.
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
...ebmvc-plugin/src/main/java/co/elastic/apm/agent/spring/webmvc/ViewRenderInstrumentation.java
Outdated
Show resolved
Hide resolved
|
I've added the suggestions, hope you don't mind 🙂 |
Thanks :) |
|
Thanks for bearing with us even if it sometimes takes some time to get changes in, but we really appreciate it! |


Checklist
closes #811
-- [x] jsp
-- [x] markup templates
-- [x] freemarker
-- [x] groovy templates
-- [x] jackson2json view
-- [x] jade4j template