-
Notifications
You must be signed in to change notification settings - Fork 925
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
SpringBoot Starter dependency and missing traces #10401
Comments
Do you use the relevant capacity according to the docs following?
For the first question you mentioned above, I used same dependencies with you, I didn't reproduce your problem. Every traces was printed by LoggingSpanExporter. For the second question, I found the traces can be exporter to collector correctly. The picture below is the traffic information collected by my own collector: Maybe you can check whether miss some configurations according to above documents. Here is some dependencies information about otel I added based on docs.
|
Thank you for your really fast response :) |
I couldn't see any of the traces being logged by the
from @Bean
WebFilter telemetryFilter(OpenTelemetry openTelemetry) {
return SpringWebfluxTelemetry.builder(openTelemetry)
.build()
.createWebFilterAndRegisterReactorHook();
} to a configuration class. Adjust the priority of your logging filter in https://github.com/aswarcewicz/spring-demo-otel/blob/e27ad1dfc25f656eef371fd0f43e6f243e67fa01/src/main/java/com/example/demootel/AccessLogging.java#L29 add
and replace usages of |
yes, we should add this feature: #10415 |
yes, it will be automatically added with the next version #10306 |
I have switched to agent (maybe temporarily) because it provides environment data too. On the weekend I will try to follow your instructions @laurit Thanks! |
Describe the bug
Not all traces have been logged in LoggingSpanExporter and not all traces have been forwarded to otel-collector.
Steps to reproduce
Expected behavior
all traces should appear in LoggingSpanExporter and all traces should be forwarded to otel-collector
Actual behavior
only some traces are appearing in LoggingSpanExporter
Javaagent or library instrumentation version
without agent, only spring dependencies
Environment
JDK:
OS:
Additional context
No response
The text was updated successfully, but these errors were encountered: