-
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
add Spring boot distro version #10276
add Spring boot distro version #10276
Conversation
...ntelemetry/instrumentation/spring/autoconfigure/resources/DistroVersionResourceProvider.java
Outdated
Show resolved
Hide resolved
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.
Could you add tests as it is done with LoggingSpanExporter?
Tests on |
@@ -37,6 +37,11 @@ public ResourceProvider otelResourceProvider( | |||
return new SpringResourceProvider(otelSpringResourceProperties, otelResourceProperties); | |||
} | |||
|
|||
@Bean | |||
public ResourceProvider otelDistroVersionResourceProvider() { |
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.
Could you also add a test for this?
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.
done
Two issues, two PRs? This could make it easier to track changes. |
9899855
to
cf2ac06
Compare
done |
has this been resolved by splitting the PR? |
and minor bug fixes:- add @ConditionalOnMissingBean to LoggingMetricExporter -> #10283- add LoggingMetricExporterAutoConfiguration to spring factories -> #10282