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

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.49.0.tar.gz
Algorithm Hash digest
SHA256 d2c667ea63bdef61efb4eef16e74d35408ba8f187bd736de694c54d43803190f
MD5 f7013c056f6f533b3711ef21f8d9ecc5
BLAKE2b-256 eb9cf98ebc8179609b3a4302fe31fe1f6675578eae0c68d758ae7cd35a60b5cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_writer-0.49.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.49.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.49.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5ef972144893df6c462d8267ba6243fed404a68d1db1448da994b2c603a00ef
MD5 5998bcadb53afda44d64b76115de509a
BLAKE2b-256 cd75de57bc86ce650fe2f9e87a9e860095d574a9a8d3f7519cd68c9cab43e903

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_writer-0.49.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