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.dev0.tar.gz.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.3.1.dev0.tar.gz
Algorithm Hash digest
SHA256 ed7e0ea3a6db8e171f289cacd5643ff5c70342e8277a15a8f61a578c3eed5684
MD5 c4a71c0ca0d9d4d067e40b1a2300e859
BLAKE2b-256 daa0eafcd0f8b0b0e52f84aa7bb504f9fe5752f06af6cebc23271565b4bc73df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.3.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdb09e36374d49efa974ef9cec395b45d45f7bde4a3ef6ecb24147af7f70447b
MD5 ab5c4f394fbf28090b5c86f2db84fec1
BLAKE2b-256 3221bf5c8c80e47aad158a162dbe79171654cdcca806d2eef20df43cfee68f23

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