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

File details

Details for the file opentelemetry_instrumentation_replicate-0.9.3.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_replicate-0.9.3.tar.gz
Algorithm Hash digest
SHA256 11bca2fa4b854c0acc6dbad6186455599a2ba3fda80efbd9989e4d4136f099d6
MD5 15ee0027003a98bcba0f9144178684df
BLAKE2b-256 5fc041243c40f3f3c94f4e0fc6ed67aefc7144c0e14daecb3c320e26651d55eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_replicate-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 671eda3e8f1fbc6f54b16649ce75b7bcb7d2be67bb87e384431573b4aba7b6c3
MD5 ac6ced24ec1f1d6e171fe5a08aa8ad47
BLAKE2b-256 d856727d049df1a77416e8d4825d22e1f0580cee379c19b20b78eff52388e25b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page