Skip to content

Commit 193d0af

Browse files
authored
chore: [PG] Update README with obfuscation_limit details (#2122)
Update README with obfuscation_limit details
1 parent 59d196a commit 193d0af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

instrumentation/pg/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ OpenTelemetry::SDK.configure do |c|
5454
# semantic attribute. Optionally, you may disable the inclusion of this attribute entirely by
5555
# setting this option to :omit or disable sanitization of the attribute by setting it to :include
5656
db_statement: :include,
57+
58+
# When `db_statement` is enabled, this instrumentation obfuscates SQL queries. By default, it
59+
# obfuscates queries up to 2000 characters. You can override the default with a different
60+
# `obfuscation_limit`, but higher values may impact performance.
61+
obfuscation_limit: 2000
5762
}
5863
end
5964
```

0 commit comments

Comments
 (0)