Update the JDBC driver documentation (#8512)

This commit is contained in:
Jean Bisutti 2023-05-17 19:19:10 +02:00 committed by GitHub
parent d98c0b4192
commit 9c58284923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -67,8 +67,4 @@ public class DataSourceConfig {
1. Activate tracing for JDBC connections by setting `jdbc:otel:` prefix to the JDBC URL, e.g. `jdbc:otel:h2:mem:test`.
2. Set the driver class to `io.opentelemetry.instrumentation.jdbc.OpenTelemetryDriver` and initialize the driver with:
```java
Class.forName("io.opentelemetry.instrumentation.jdbc.OpenTelemetryDriver");
```
2. Set the driver class to `io.opentelemetry.instrumentation.jdbc.OpenTelemetryDriver`.