Skip to main content

Pantsbuild OpenTelemetry Plugin from Shoal Software LLC

Project description

Pantsbuild OpenTelemetry Plugin

Overview

This is a plugin to the Pantsbuild build orchestration tool to emit tracing spans to OpenTelemetry-compatible systems for the build workflows orchestrated by Pants. The plugin is licensed under the Apache License 2.0.

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 OTLP/GRPC OpenTelemetry agent on its default port, configure the plugin as follows in pants.toml:

    [shoalsoft-opentelemetry]
    enabled = true
    exporter = "grpc"
    
  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

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.3.1.dev1.tar.gz.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.3.1.dev1.tar.gz
Algorithm Hash digest
SHA256 2fee35f9f31e56fd30eb977917e7f6a6bc03b3ec548acd1eb4c3f2e5261d3f01
MD5 4c2f9ae5d05cc32c1a893a8edbd9a72c
BLAKE2b-256 42f0b78afbadf7cfbecbdddc3a9a2f773af82faa52432edf21bf184ad3f21a32

See more details on using hashes here.

File details

Details for the file shoalsoft_pants_opentelemetry_plugin-0.3.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.3.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2cdd2c1fc3db0b76b9bd84aa5916c7f259a0a0e6ed61349d38c977ab10428fb
MD5 be4544871bcf969a3beeb3a76a34bfed
BLAKE2b-256 d436aa68f4777211e323c2f30959f996c9b527d378bf882702bbe94545d9d9bb

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