Skip to main content

OpenTelemetry Replicate instrumentation

Project description

OpenTelemetry Replicate Instrumentation

This library allows tracing Replicate prompts and image generation sent with the official replicate library.

Installation

pip install opentelemetry-instrumentation-replicate

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


Release history Release notifications | RSS feed

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_replicate-0.9.0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_replicate-0.9.0.tar.gz
Algorithm Hash digest
SHA256 75151b18be8378067385d229589984fef218bfca5b7d5c77c9865713ed7ab16f
MD5 b232ef6b2da70990b0224115616d17b8
BLAKE2b-256 95e37291d38ee2adf7f00abbecc465284cc3de72ac127f183af200d050240207

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_replicate-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_replicate-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bc9ec3aa308d16eab6d758997a3ba2118ca173a9a9d9dd91d3a301a4964b7e1
MD5 0bb0a4b2eddc33125cd9ee56f0a61f06
BLAKE2b-256 cf64c7810c12ca79b02c6a5cb7ed11126df2ec54f00fb8bfaec34f1d11d8f88b

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