README.md in opentelemetry-instrumentation-pg-0.17.1 vs README.md in opentelemetry-instrumentation-pg-0.18.0
- old
+ new
@@ -40,9 +40,15 @@
enable_sql_obfuscation: false,
# You may optionally set a value for 'peer.service', which
# will be included on all spans from this instrumentation:
peer_service: 'postgres:readonly',
+
+ # By default, this instrumentation includes the executed SQL as the `db.statement`
+ # semantic attribute (possibly sanitized, according to the value of `enable_sql_obfuscation`).
+ # Optionally, you may disable the inclusion of this attribute entirely by
+ # setting this option to false.
+ enable_statement_attribute: true,
}
end
```
## Examples