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

Investigate missing coverage of inferred spans in observability challenge #535

Open
JonasKunz opened this issue Feb 6, 2025 · 2 comments

Comments

@JonasKunz
Copy link
Contributor

@AlexanderWert tried out the Observability Challenge with EDOT java and the inferred spans feature.
Apparently the application has a built-in bottleneck of a too small pool (maybe thread) which is used within transactions: This causes the transactions on load to take several seconds in response time, but those gaps are not covered by inferred spans. We should investigate why these are not uncovered and see if we can find a fix.

@jackshirazi
Copy link
Contributor

If a span is started, then the thread it's on just sits there blocked on a jvm lock or queue or thread pool because it's waiting for a resource, I think there would be nothing the profiler would see because the Java core methods are ignored by the profiler. You'd have to explicitly include these with OTEL_INFERRED_SPANS_EXCLUDED_CLASSES/OTEL_INFERRED_SPANS_INCLUDED_CLASSES

@JonasKunz
Copy link
Contributor Author

JonasKunz commented Feb 6, 2025

Those methods are ignored yes, but the caller waiting on the thread pool to be available (=application code) should be covered by an inferred span I think.

@JonasKunz JonasKunz self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants