opentelemetry-java-instrume.../instrumentation/jdbc
weil 4c4b7e2d4d
fix(instrumentation/jdbc): URL Parser StringIndexOutOfBoundsException fix (#14151)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-07-15 11:08:40 -07:00
..
bootstrap Fix typo (#9496) 2023-09-19 11:36:27 +02:00
javaagent 14218 - Add setObject to advice for java.sql.PreparedStatement (#14219) 2025-07-10 18:34:56 +03:00
library fix(instrumentation/jdbc): URL Parser StringIndexOutOfBoundsException fix (#14151) 2025-07-15 11:08:40 -07:00
testing Added JDBC db.query.parameter span attributes (#13719) 2025-05-14 17:52:22 +03:00
README.md Mark capture-query-parameters as experimental (#13850) 2025-05-15 16:09:08 +03:00
metadata.yaml Mark capture-query-parameters as experimental (#13850) 2025-05-15 16:09:08 +03:00

README.md

Settings for the JDBC instrumentation

System property Type Default Description
otel.instrumentation.jdbc.statement-sanitizer.enabled Boolean true Enables the DB statement sanitization.
otel.instrumentation.jdbc.experimental.capture-query-parameters Boolean false Enable the capture of query parameters as span attributes. Enabling this option disables the statement sanitization.

WARNING: captured query parameters may contain sensitive information such as passwords, personally identifiable information or protected health info.

otel.instrumentation.jdbc.experimental.transaction.enabled Boolean false Enables experimental instrumentation to create spans for COMMIT and ROLLBACK operations.