-
Is it possible to automatically instrument and trace all methods in the source code without modifying the business source code? |
Beta Was this translation helpful? Give feedback.
Answered by
laurit
Sep 9, 2024
Replies: 1 comment
-
Opentelemetry java agent can be extended with custom extensions. If you so with you could build an extension that traces all methods based on the package of the class. Usually this is a bad idea, perhaps you should look into profiling. For example java flight recorder provides a low over head profiler that could be used in production. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mitht
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opentelemetry java agent can be extended with custom extensions. If you so with you could build an extension that traces all methods based on the package of the class. Usually this is a bad idea, perhaps you should look into profiling. For example java flight recorder provides a low over head profiler that could be used in production.