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.52.4.tar.gz (167.7 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.52.4.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.52.4.tar.gz
Algorithm Hash digest
SHA256 4af98c6097c85048471233d84f644ca5070d17f882797514ac1c8c57ab7a467d
MD5 dc51d9103d40b48a4bc3d545d1108d1d
BLAKE2b-256 eb6aafefd6641ef77687cf0cbdadd0c3f3995b57b83da4e34a018ace8e8ad90b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.52.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9bc8cc391bfd16296c4cada43fbfa8b60299233ae23ef8aa0cb311e03ab757be
MD5 ac9202ac4b30b37b6145b3f96a28d92d
BLAKE2b-256 513c4c36a0bc133719f13d1405dbcacfbb15e180c9c77b8239bd1955dbdde584

See more details on using hashes here.

Provenance

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