Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in opentelemetry , only springmvc span and jdbc span ,not exists method span #8197

Closed
freshgeek opened this issue Apr 2, 2023 · 4 comments
Closed

Comments

@freshgeek
Copy link

in opentelemetry , only springmvc span and jdbc span ,not exists method span

like this :
image

acturally, this many level methods , thread executor, spring event publish and consumer

this is my env :

export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_INSTRUMENTATION_MESSAGING_EXPERIMENTAL_RECEIVE_TELEMETRY_ENABLED=true

@freshgeek
Copy link
Author

maybe , I'm blind

#2574

https://opentelemetry.io/docs/instrumentation/java/automatic/annotations/#creating-spans-around-methods-with-otelinstrumentationmethodsinclude

same , can support wildcard ,or another good idea for batch add my project method span with agent

@trask
Copy link
Member

trask commented Apr 2, 2023

@freshgeek let us know if this is still an issue, or if it's a duplicate of #2574

@mateuszrzeszutek mateuszrzeszutek added the needs author feedback Waiting for additional feedback from the author label Apr 3, 2023
@freshgeek
Copy link
Author

@freshgeek let us know if this is still an issue, or if it's a duplicate of #2574

yep

@github-actions github-actions bot removed the needs author feedback Waiting for additional feedback from the author label Apr 4, 2023
@DGuhr
Copy link

DGuhr commented Mar 4, 2024

I had the same problem, so I created a java agent extension and published it at https://github.com/DGuhr/spring-otel-extended to solve it. Maybe it is of help for some other folks, feel free to grab it as base for your extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants