Skip to main content

OpenTelemetry Writer instrumentation

Project description

OpenTelemetry Writer Instrumentation

PyPI version

This library allows tracing calls to any of Writer's endpoints sent with the official Writer Python Library.

Installation

pip install opentelemetry-instrumentation-writer

Example usage

from opentelemetry.instrumentation.writer import WriterInstrumentor

WriterInstrumentor().instrument()

Privacy

By default, this instrumentation logs prompts, completions, and embeddings to span attributes. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.

However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.

To disable logging, set the TRACELOOP_TRACE_CONTENT environment variable to false.

TRACELOOP_TRACE_CONTENT=false

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

opentelemetry_instrumentation_writer-0.56.0.tar.gz (170.3 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 opentelemetry_instrumentation_writer-0.56.0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.56.0.tar.gz
Algorithm Hash digest
SHA256 719ad327be27b13c43e4ea75a5f4aefad44f0633882eb388caec64912feaf44a
MD5 f280159c56a0d46d0d52278e46d592e5
BLAKE2b-256 8024a2e46fbc9710f3dd7093ab5582640df22705a8b2e3940a316a84e53ce909

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_writer-0.56.0.tar.gz:

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opentelemetry_instrumentation_writer-0.56.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.56.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2851fb071407cdac925a2080e467cbd08448ca63c7f7393fd2e1b9ce87b144fa
MD5 49d55c287a6ff3da6f8791a072b76807
BLAKE2b-256 e05def276453777fb5a7b1f3b6078279826ad98770883a32c301d9ac4cd9c2cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_writer-0.56.0-py3-none-any.whl:

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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