Skip to main content

Pantsbuild OpenTelemetry Plugin from Shoal Software LLC

Project description

Pantsbuild OpenTelemetry Plugin

[!IMPORTANT] This plugin only supports Pants v2.32 due to Pants switching to Python 3.14 for its internal Python version. Moreover, the new pants.backend.observability.backend in Pants v2.33 (based on this plugin) makes this plugin no longer necessary with Pants v2.33 and later versions.

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.

Project details


Download files

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

Source Distribution

shoalsoft_pants_opentelemetry_plugin-0.6.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file shoalsoft_pants_opentelemetry_plugin-0.6.0.tar.gz.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.6.0.tar.gz
Algorithm Hash digest
SHA256 21f5fb40e6255c8e7bfa9c820a61c6d3dad97704a19af203c5351bcf4759e3cb
MD5 5ccbdb1f362e5aa3fa1664cd05479622
BLAKE2b-256 31af1ec9ef54bf9085836043848c7cb23d5de06e958e20c0ea6d28d22ca68aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for shoalsoft_pants_opentelemetry_plugin-0.6.0.tar.gz:

Publisher: publish.yaml on shoalsoft/shoalsoft-pants-opentelemetry-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shoalsoft_pants_opentelemetry_plugin-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 362d0e528142fabb9e58e04a280a11615336ef273a54413bc122f07907ce4c58
MD5 e0a1dd347d49d2bc2834f8737fee7395
BLAKE2b-256 9d1cae07b183e06e46c8f67b7901f7a7c172b9c42beb0b6068ee77e5691cd726

See more details on using hashes here.

Provenance

The following attestation bundles were made for shoalsoft_pants_opentelemetry_plugin-0.6.0-py3-none-any.whl:

Publisher: publish.yaml on shoalsoft/shoalsoft-pants-opentelemetry-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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