-
Notifications
You must be signed in to change notification settings - Fork 277
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Missing trace for JUnit5 BeforeAll/AfterAll methods in CIVisibility Instrumentation #6936
Comments
I've updated the description - turns out the trace is only missing for BeforeAll/AfterAll methods |
Hi @sergeidyga, thank you for reporting this! You're right that |
Thank you for confirming that the Thanks! |
Hello team 馃憢
I'm using JUnit5 Instrumentation with following config:
Following class:
Gives following output:
I'm curious why active trace is missing in
beforeAll
andafterAll
? I was expecting TestSession and TestModule spans to be already created at this point by CIVisibility auto-instrumentation.Beside this main question I also noticed that
beforeEach
andafterEach
spans are not visible in DD UI (only the test span).Context: JUnit5 Lifecycle methods (methods annotated with
@BeforeAll
,@AfterAll
,@BeforeEach
, or@AfterEach
that are used for setting up and tearing down tests) are significant subjects for tracing because, like test methods, they often involve network requests, database queries, and similar operations.Thank you for looking into this!
The text was updated successfully, but these errors were encountered: