Skip to content

Java11 - Automatic Instrumentation: Report method name or exact location where trace was taken #9840

Answered by trask
julian-sotec asked this question in Q&A
Discussion options

You must be logged in to vote

hi @julian-sotec! there is no option (currently at least) to capture the caller. this would require getting the stack trace which is a relatively expensive operation and so would probably only be useful for debugging (or under very low sampling rates)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@julian-sotec
Comment options

Answer selected by julian-sotec
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