Skip to main content

OpenTelemetry Instrumentation for OracleDB

PyPI Python Version License GitHub

Automatic instrumentation for the python-oracledb driver ensuring Oracle Database operations are traced with OpenTelemetry.

Installation

pip install opentelemetry-instrumentation-oracledb

Usage

import oracledb

from opentelemetry.instrumentation.oracledb import OracleDBInstrumentor

OracleDBInstrumentor().instrument()

connection = oracledb.connect(
    user="system",
    password="password",
    dsn="localhost:1521/FREEPDB1",
)

with connection.cursor() as cursor:
    cursor.execute("SELECT 1 FROM dual")

Existing synchronous connections can also be instrumented explicitly:

connection = OracleDBInstrumentor().instrument_connection(connection)

The instrumentor can also be loaded automatically via the opentelemetry_instrumentor entry point using the opentelemetry-instrument CLI command.

opentelemetry-instrument python app.py

References

License

Apache-2.0

Metadata

Release files for opentelemetry-instrumentation-oracledb 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-instrumentation-oracledb 0.1.0
File Size Uploaded
opentelemetry_instrumentation_oracledb-0.1.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-instrumentation-oracledb 0.1.0
File Interpreter ABI Platform
opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / opentelemetry_instrumentation_oracledb-0.1.0.tar.gz

Download URL opentelemetry_instrumentation_oracledb-0.1.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
19a78a73f96f3e29822a095ebd9116798f262dce99d4e7e919d7c219f2774204
BLAKE2b-256 checksum
How to use checksums
994032998ebdc0648824d383bed73fda6e4019ae80394707006af938309c8a66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 20, 2026.

Transparency log

Release files / opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl

Download URL opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38abc287682c68a0fe1d6dd6f241479e671998afcf0c80666c57062189280f03
BLAKE2b-256 checksum
How to use checksums
5021a090e3ce3cc8fe4a85a02a69715b8f9a49811e218512beb9e77523937e4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page