opentelemetry-java-instrume.../instrumentation/jdbc/README.md

1.8 KiB

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.