OTEL Python SDK extension supporting partial spans
Project description
partial-span-processor
OTEL Python SDK extension supporting partial spans
install
pip install partial_span_processor
build
python -m build
pip install dist/partial_span_processor-0.0.x-py3-none-any.whl to install locally
usage
Check example.py script in the root of the repo.
usage config
- install python version >= 3.8
- create a working dir
test - create venv
python3 -m venv venv - copy example script
example.py - create
requirements.txtwith content
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp
opentelemetry-instrumentation-logging
partial-span-processor
- install requirements
pip install -r requirements.txt - run script
python example.py
publishing
Python package is published to PyPI via the release.yml GitHub Action workflow (approval required) following Trusted Publishers pattern.
The workflow is triggered when a new tag is pushed to the repository. Only tags with the format vX.Y.Z will trigger the workflow. It's the responsibility of the approver to check that the tag points to a commit on the master branch and that its name matches the version in pyproject.toml.
Checklist:
- Bump the version in
pyproject.tomlvia pull request - Create a tag on
masterwith the formatvX.Y.Zand push it - Review the workflow approval request - the tag should point to a commit on the
masterbranch! - Success
Link to PyPI: https://pypi.org/project/partial-span-processor/
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 Distributions
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 partial_span_processor-0.0.5-py3-none-any.whl.
File metadata
- Download URL: partial_span_processor-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc64601be2bf21aeff3b2933b9df6c22e758aa90be8bdcccdc71ad35b49e96c5
|
|
| MD5 |
13177d5407128a558964c5e4fa97d104
|
|
| BLAKE2b-256 |
484931fdc6dc323ab059830ca343395d1fffa68c3dc27b0d1ec37d25807983a8
|