OpenTelemetry instrumentation for OracleDB
Project description
OpenTelemetry Instrumentation for OracleDB
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentelemetry_instrumentation_oracledb-0.1.0.tar.gz.
File metadata
- Download URL: opentelemetry_instrumentation_oracledb-0.1.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19a78a73f96f3e29822a095ebd9116798f262dce99d4e7e919d7c219f2774204
|
|
| MD5 |
4a3926c05cdf2be0c9a2a5d9ad39db94
|
|
| BLAKE2b-256 |
994032998ebdc0648824d383bed73fda6e4019ae80394707006af938309c8a66
|
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_oracledb-0.1.0.tar.gz:
Publisher:
publish.yml on herin049/opentelemetry-instrumentation-oracledb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentelemetry_instrumentation_oracledb-0.1.0.tar.gz -
Subject digest:
19a78a73f96f3e29822a095ebd9116798f262dce99d4e7e919d7c219f2774204 - Sigstore transparency entry: 1341625587
- Sigstore integration time:
-
Permalink:
herin049/opentelemetry-instrumentation-oracledb@97a0d1e0fadc96555f1955b5ecb7372352e34863 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/herin049
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97a0d1e0fadc96555f1955b5ecb7372352e34863 -
Trigger Event:
release
-
Statement type:
File details
Details for the file opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38abc287682c68a0fe1d6dd6f241479e671998afcf0c80666c57062189280f03
|
|
| MD5 |
9202996a97ff199d0ce13f2ef853a80f
|
|
| BLAKE2b-256 |
5021a090e3ce3cc8fe4a85a02a69715b8f9a49811e218512beb9e77523937e4b
|
Provenance
The following attestation bundles were made for opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on herin049/opentelemetry-instrumentation-oracledb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentelemetry_instrumentation_oracledb-0.1.0-py3-none-any.whl -
Subject digest:
38abc287682c68a0fe1d6dd6f241479e671998afcf0c80666c57062189280f03 - Sigstore transparency entry: 1341625590
- Sigstore integration time:
-
Permalink:
herin049/opentelemetry-instrumentation-oracledb@97a0d1e0fadc96555f1955b5ecb7372352e34863 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/herin049
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@97a0d1e0fadc96555f1955b5ecb7372352e34863 -
Trigger Event:
release
-
Statement type: