generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
info: good first issueGood for newcomersGood for newcomerstype: enhancementNew feature or requestNew feature or request
Description
Feature description
Summary
Please add native support in Micronaut for instrumentation using the library:
io.opentelemetry.instrumentation:opentelemetry-r2dbc-1.0:2.14.0-alpha.
Background
In our application, we currently implement R2DBC telemetry manually using the following Kotlin code:
fun instrumentedConnectionFactory(
options: ConnectionFactoryOptions,
opentelemetry: OpenTelemetry
): ConnectionFactory =
R2dbcTelemetry
.create(opentelemetry)
.wrapConnectionFactory(ConnectionFactories.get(options), options)While this works, it would be more idiomatic and maintainable if Micronaut could manage this instrumentation internally—similar to how other telemetry integrations are handled, e.g. JDBC.
Additional Notes
Unfortunately, I’m not familiar with Groovy, so I’m unable to contribute a PR myself.
Metadata
Metadata
Assignees
Labels
info: good first issueGood for newcomersGood for newcomerstype: enhancementNew feature or requestNew feature or request