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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.49.2.tar.gz
Algorithm Hash digest
SHA256 100dadcfad77f5621162f8b60bc02c2047af2dfab3bce45ea4ebc7c8bcfad0e2
MD5 f7b008d4f4c8b1ccc090cbad35294d7e
BLAKE2b-256 6d10d546cb2f17f208109f2c6f5b5827826ef143ecf88b52ecf373dbc90cbfe0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_writer-0.49.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d83f7d3efbb7cab6daa9bc553ccb9daa385e54e69a68a6525851dbccfd47979
MD5 30b4dfc069b87ab73086dc4fb75ac2f8
BLAKE2b-256 7473224e834261537707ffac188d84d80e690f5fbbb7e5ce36e4e65dfd09cbfd

See more details on using hashes here.

Provenance

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