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

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0.dev2.tar.gz
Algorithm Hash digest
SHA256 a19a876749fbde96b7455494e0d3410e5896fc01907f974fd70bb70a728446cd
MD5 7f1b47c9da023bacd4592995b1ac4039
BLAKE2b-256 f2347a9591fa8a764d0f01ba81fce969efc4a3677ac3861557dfa829eb81edc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4ef969f3612e7f91babcccf80fa0043096be7a1fd8e97131aa553374dc6f34f
MD5 4984e6aeeb8e8f996cb1889b7c01f7b9
BLAKE2b-256 53be6bbf6c76e4c8a32c7fbc7e3dddb1ba8eb81a0f2aff5019a0c542583ba0c5

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