-
Notifications
You must be signed in to change notification settings - Fork 873
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
fix MapConverter bean condition #10346
Conversation
properties = { | ||
"otel.exporter.otlp.enabled=false", | ||
"otel.metric.export.interval=100", | ||
"otel.exporter.otlp.headers=a=1,b=2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about moving this test in the OpenTelemetryAutoConfigurationTest class? In this way, all the property configurations related to the OpenTelemetryAutoConfiguration
will be tested in the same class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to do that - then found out that context runner works differently - bean conditions are only evaluated with a @SpringBootTest
...va/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java
Outdated
Show resolved
Hide resolved
...va/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java
Outdated
Show resolved
Hide resolved
@zeitlinger looks like there's a test failure |
should be fixed now |
Fixes #10344