Skip to content

Can I capture the argument value from a method using the agent? #12989

Answered by laurit
dv-morais asked this question in Q&A
Discussion options

You must be logged in to vote

is it possible to do it without touching the code?

It is not possible out of the box. You can write a custom extension for this, see https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/examples/extension

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dv-morais
Comment options

@laurit
Comment options

Answer selected by dv-morais
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants