Skip to content

Can OpenTelemetry automatically instrument all methods in business code? #12192

Answered by laurit
mitht asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mitht
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants