-
|
i add some code in The I have included my module in test-common: There is a strange phenomenon occurring: when I execute here is the stack: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
|
When agent is build opentelemetry-api and instrumentation-api classes are renamed to avoid conflicts when application includes the same classes. Probably your own |
Beta Was this translation helpful? Give feedback.
-
|
Hi, @laurit . i add relocation rule to like When running To better understand the project codes and solve the problem, I have one questions:
I am grateful for any response, thanks |
Beta Was this translation helpful? Give feedback.
When agent is build opentelemetry-api and instrumentation-api classes are renamed to avoid conflicts when application includes the same classes. Probably your own
TracerHelperisn't renamed that way, but still has references to opentelemetry-api classes renamed. Now when you are using it from the test you'll end up using the class from the agent where the types of the arguments have been shaded.