Skip to main content

Pantsbuild OpenTelemetry Plugin

!!! NOT MAINTAINED !!!

  • This project is no longer actively maintained because Pants now has a built-in pants.backend.observability.opentelemetry backend (based on this plugin) in Pants v2.33 and later versions.

  • This version of the plugin only supports Pants v2.32 due to Pants switching to Python 3.14 for its internal Python version.

Installation

From PyPI:

  1. In the relevant Pants project, edit pants.toml to set the [GLOBAL].plugins option to include shoalsoft-pants-opentelemetry-plugin and the [GLOBAL].backend_packages option to include shoalsoft.pants_opentelemetry_plugin.

  2. For basic export to a local OpenTelemetry collector agent on its default port, configure the plugin as follows in pants.toml:

    [shoalsoft-opentelemetry]
    enabled = true
    
  3. The plugin exposes many other options (which correspond to OTEL_ environment variables in other systems). Run pants help-advanced shoalsoft-opentelemetry to see all of the plugin's available configuration options.

Note: The plugin respects any TRACEPARENT environment variable and will link generated traces to the parent trace and span referenced in the TRACEPARENT.

Metadata

Release files for shoalsoft-pants-opentelemetry-plugin 0.6.1

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

Source distribution (sdist)

Source distribution for shoalsoft-pants-opentelemetry-plugin 0.6.1
File Size Uploaded
shoalsoft_pants_opentelemetry_plugin-0.6.1.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shoalsoft-pants-opentelemetry-plugin 0.6.1
File Interpreter ABI Platform
shoalsoft_pants_opentelemetry_plugin-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / shoalsoft_pants_opentelemetry_plugin-0.6.1.tar.gz

Download URL shoalsoft_pants_opentelemetry_plugin-0.6.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ea65836cc2f7d25e2eb2b165381c53d1d696a3791c96c6a0f0fe16b785cefad
BLAKE2b-256 checksum
How to use checksums
ffe23e11626ae92784666a9bc53aae29e0f52bacad73f3526da2457785e6543c
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 Jun 28, 2026.

Transparency log

Release files / shoalsoft_pants_opentelemetry_plugin-0.6.1-py3-none-any.whl

Download URL shoalsoft_pants_opentelemetry_plugin-0.6.1-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dde336f51275fa601f7fd982d875039bafcb194ff4f6a438ee4047696eae320f
BLAKE2b-256 checksum
How to use checksums
3ec219917f49e64c36bbe98028e01393f271a2f5940add1559b1935f73150ebc
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 Jun 28, 2026.

Transparency log
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