opentelemetry-java-instrume.../instrumentation/apache-dbcp-2.0/javaagent
Ago Allikmaa fae88de680
Implement Apache DBCP2 datasource metrics (#6175)
* Apache DBCP2 datasource metrics

* Fix issues from PR

* Add readme for autoinstrumentation
2022-06-15 15:00:46 -07:00
..
src Implement Apache DBCP2 datasource metrics (#6175) 2022-06-15 15:00:46 -07:00
README.md Implement Apache DBCP2 datasource metrics (#6175) 2022-06-15 15:00:46 -07:00
build.gradle.kts Implement Apache DBCP2 datasource metrics (#6175) 2022-06-15 15:00:46 -07:00

README.md

Auto-instrumentation for Apache DBCP

Provides OpenTelemetry auto-instrumentation for Apache DBCP.

This auto-instrumentation uses MBeanRegistration methods for lifecycle detection, therefore it only activates if the BasicDataSource is registered to an MBeanServer. If using Spring Boot, this happens automatically as all Spring beans that support JMX registration are automatically registered by default.