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 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

shoalsoft_pants_opentelemetry_plugin-0.2.0.tar.gz (12.1 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.2.0.tar.gz.

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7dd0253eb53fc4c925ce68205a45ec500258f265a7ce2c004ee53985ccb79d10
MD5 fdf2641b34f2665d65e0d163209aadee
BLAKE2b-256 5bccd9205c75fc45b4b678a19da061d1726752ea8223f3c59b1894883f839570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shoalsoft_pants_opentelemetry_plugin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfec48a1fb4e6c36e37744903f3e4ccadaebeb8cd694e08ccbbf578462db16e
MD5 2fe010d18b0720dd95393a6d7806461b
BLAKE2b-256 f471287b4ce1533ccd800e2adb656c892b719a73e5c83d1855bdc0cd4e660e25

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