File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 6262`instrumentation`_. There is no need to opt in at the DB-API level unless setting up
6363its integration directly.
6464
65- .. _instrumentation: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation
66-
6765If using DB-API instrumentation directly, you can optionally enable sqlcommenter which
6866enriches the query with contextual information. Queries made after setting up
6967trace integration with sqlcommenter enabled will have configurable key-value pairs
9896`instrumentation`_. There is no need to configure at the DB-API level unless setting up
9997its integration directly.
10098
101- .. _instrumentation: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation
102-
10399If using DB-API instrumentation directly, the key-value pairs appended to the query
104100can be configured using ``commenter_options``. When sqlcommenter is enabled, all
105101available KVs/tags are calculated by default. ``commenter_options`` supports *opting out*
156152`instrumentation`_. There is no need to opt in at the DB-API level unless setting up
157153its integration directly.
158154
159- .. _instrumentation: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation
160-
161155If using DB-API instrumentation directly and sqlcommenter is enabled, you can opt into
162156the inclusion of sqlcomment in the query span ``db.statement`` attribute for your needs.
163157If ``commenter_options`` have been set, the span attribute comment will also be configured
You can’t perform that action at this time.
0 commit comments