Skip to main content

Pantsbuild OpenTelemetry Plugin from Shoal Software LLC

Project description

# Pantsbuild OpenTelemetry Plugin

## Overview

This is a plugin to the [Pantsbuild](https://pantsbuild.org/) 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](https://www.apache.org/licenses/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:

    `toml [shoalsoft-opentelemetry] enabled = true exporter = "grpc" `

  3. The plugin exposes many other options (which correspnd 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.2.0.dev3.tar.gz.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0.dev3.tar.gz
Algorithm Hash digest
SHA256 8195e693020d9c21b682bd2678c98a3bd30c23ff72a88994e1ce34cddd5ba251
MD5 c10e702f10d789edad4fbf03e2fd5924
BLAKE2b-256 3e0e428b1f08441104002a8af2cccc63b4533fe92e06a554c30b4bb4f359dec3

See more details on using hashes here.

File details

Details for the file shoalsoft_pants_opentelemetry_plugin-0.2.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5b56be504d0b1636b7bc6e5893f365d844e98c637e1db6f946b45d4b9ca2ec
MD5 922b142a6cfbc4fee2a5110f1f29a805
BLAKE2b-256 9e63d02c489981a657163d9efc78915d1317ac78410156f9321c51069fa78bf2

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