diff --git a/content/en/docs/instrumentation/java/automatic/agent-config.md b/content/en/docs/instrumentation/java/automatic/agent-config.md index 94529542784b..f67fc15f02be 100644 --- a/content/en/docs/instrumentation/java/automatic/agent-config.md +++ b/content/en/docs/instrumentation/java/automatic/agent-config.md @@ -113,6 +113,10 @@ The agent sanitizes all database queries/statements before setting the `db.statement` semantic attribute. All values (strings, numbers) in the query string are replaced with a question mark (`?`). +Note: JDBC bind parameters are not captured in `db.statement`. See +[the corresponding issue](https://github.com/open-telemetry/opentelemetry-java-instrumentation#7413) +if you are looking to capture bind parameters. + Examples: - SQL query `SELECT a from b where password="secret"` will appear as diff --git a/static/refcache.json b/static/refcache.json index 1cceafc924be..e2944b637423 100644 --- a/static/refcache.json +++ b/static/refcache.json @@ -2043,6 +2043,10 @@ "StatusCode": 200, "LastSeen": "2023-02-20T07:46:04.5676-05:00" }, + "https://github.com/open-telemetry/opentelemetry-java-instrumentation#7413": { + "StatusCode": 200, + "LastSeen": "2023-04-02T03:56:48.635620148Z" + }, "https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases": { "StatusCode": 200, "LastSeen": "2023-02-20T07:55:52.073971-05:00"