-
Notifications
You must be signed in to change notification settings - Fork 66
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
Integrate Micronaut Data and Micrometer to enable tracing SQL queries #921
Conversation
...c/main/java/io/micronaut/micrometer/observation/datasource/ObservationDataSourceFactory.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/micronaut/micrometer/observation/datasource/ObservationDataSourceFactory.java
Show resolved
Hide resolved
...c/main/java/io/micronaut/micrometer/observation/datasource/ObservationDataSourceFactory.java
Outdated
Show resolved
Hide resolved
*/ | ||
@Singleton | ||
@Primary | ||
public class ProxyDataSourceResolver implements DataSourceResolver { |
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.
should this be here or upstream in Micronaut-sql
?
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.
should it be public
? Is it public API?
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.
Removed public
, not needed. I think it should not go to micronaut-sql because it would introduce dependency on datasource-micrometer and now will be activated only if this module is added so I would leave it here.
Something similar might be needed for micronaut-tracing OpenTelemetryDataSource
but didn't see a way to unwrap it.
|
No description provided.