Skip to content

Commit c5cabbb

Browse files
Update sqlite3 instrumentor doc about explicit cursors (open-telemetry#3088)
* Update sqlite3 instrumentor doc about explicit cursors * Changelog --------- Co-authored-by: Riccardo Magliocchetti <[email protected]>
1 parent 791258e commit c5cabbb

File tree

2 files changed

+4
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-sqlite3/src/opentelemetry/instrumentation/sqlite3

2 files changed

+4
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5050
([#2816](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2816))
5151
- `opentelemetry-instrumentation-sqlalchemy`: Fix a remaining memory leak in EngineTracer
5252
([#3053](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3053))
53+
- `opentelemetry-instrumentation-sqlite3`: Update documentation on explicit cursor support of tracing
54+
([#3088](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3088))
5355

5456
### Breaking changes
5557

instrumentation/opentelemetry-instrumentation-sqlite3/src/opentelemetry/instrumentation/sqlite3/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
"""
1616
SQLite instrumentation supporting `sqlite3`_, it can be enabled by
17-
using ``SQLite3Instrumentor``.
17+
using ``SQLite3Instrumentor``. At this time, cursor objects must
18+
be explicitly initialized as shown below to support tracing.
1819
1920
.. _sqlite3: https://docs.python.org/3/library/sqlite3.html
2021

0 commit comments

Comments
 (0)