Replies: 3 comments 2 replies
-
hi @delanym! IIRC the maven extension configures and explicitly uses the OTel SDK, and the Javaagent only intercepts (and collates) usage of the OTel API through GlobalOpenTelemetry object. |
Beta Was this translation helpful? Give feedback.
-
Hello @delanym . If it's the former, tracking unit tests duration and success, then
|
Beta Was this translation helpful? Give feedback.
-
@cyrille-leclerc my involvement in the project Im working on has been from the build system inward. I've exhausted the benefits of tracing the build itself, and now Im moving steadily inward, starting with the unit tests, but with a view to fully instrumenting the production code where necessary. For the moment I don't know the code Im working on well enough (or even the language itself) to see where the potential improvements could be. So my approach is to try instrument literally everything - the "shotgun" approach. I'm hoping the tracings can help me learn more about how it all operates. As it happens, there are both production performance issues, and unit test JVM timeouts (I've had to set surefire property forkedProcessTimeoutInSeconds=1200 - far too long). Im glad to hear its on your radar! Is there a surefire ticket I can follow? @trask what is the relationship between Glowroot and OT? |
Beta Was this translation helpful? Give feedback.
-
How do I get the spans produced by my javaagent running in the maven-surefire-plugin to be associated with those produced by the maven-extension?
I thought I could just set service.name to be the same, ie. my javaagent with
-Dotel.resource.attributes=service.name=maven
matches the extension
-Dotel.service.name=maven
but the spans are still not collated.
Beta Was this translation helpful? Give feedback.
All reactions