Skip to main content

OTEL Python SDK extension supporting partial spans

Reason this release was yanked:

OTel lower bounds are not set correctly

Project description

partial-span-processor

OTEL Python SDK extension supporting partial spans

install

PyPi Latest Release
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.txt with 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.toml via pull request
  • Create a tag on master with the format vX.Y.Z and push it
  • Review the workflow approval request - the tag should point to a commit on the master branch!
  • Success

Link to PyPI: https://pypi.org/project/partial-span-processor/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

partial_span_processor-0.0.10-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file partial_span_processor-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for partial_span_processor-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1474d000f1d8382b8c5012c320878315ff3792636a4e3ac38c83f9933e72da0d
MD5 6ae1efa6a6cdac6a4c7885238eea76ed
BLAKE2b-256 f2ccc3056dcfccb6860c7b0c534325f8c98ebe6d457aa288002e286d3706eac6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page