opentelemetry-instrumentation-replicate
OpenTelemetry Replicate instrumentation
Decision gist · record as of 2026-08-14
Yes, if you use Replicate and already have OpenTelemetry infrastructure in place. The package is actively maintained, has no known vulnerabilities, and adds observability with minimal friction. Install it only if you need tracing; it requires Python 3.10+ and an OpenTelemetry SDK configured elsewhere in your application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Assumes an OpenTelemetry SDK and exporter are already configured in your application.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required.
last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 7,377 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,849,634 downloads/mo, #1,833 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-replicate
from opentelemetry.instrumentation.replicate import ReplicateInstrumentor
ReplicateInstrumentor().instrument()- Whether this instrumentation works with all Replicate API endpoints or only specific model types.
- Performance overhead of tracing on Replicate API call latency.
- Compatibility with different OpenTelemetry exporter backends (Jaeger, Datadog, etc.).
What it is and what it does
This package hooks into the official Replicate Python library to automatically capture traces of your API calls. When you use Replicate to run models or generate images, the instrumentation records details like prompts, completions, and embeddings as OpenTelemetry span attributes, giving you visibility into what your application is sending and receiving.
By default, it logs all content to spans for debugging and quality evaluation. If that's a privacy concern—because prompts may contain sensitive user data—you can disable content logging by setting the environment variable TRACELOOP_TRACE_CONTENT to false, which reduces both privacy exposure and trace size. The package is designed to integrate seamlessly with existing OpenTelemetry observability stacks.
Use it for
- Debug Replicate model outputs and prompts by inspecting span attributes in your tracing backend.
- Monitor LLM application behavior in production by exporting Replicate traces to Jaeger, Datadog, or similar.
- Evaluate prompt quality and model performance by analyzing trace data over time.
- Reduce trace verbosity and protect sensitive user data by disabling content logging in production.
- Correlate Replicate API calls with other application spans for end-to-end request tracing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Replicate and already have OpenTelemetry infrastructure in place.
The package is actively maintained, has no known vulnerabilities, and adds observability with minimal friction. Install it only if you need tracing; it requires Python 3.10+ and an OpenTelemetry SDK configured elsewhere in your application.
Install
opentelemetry-instrumentation-replicate on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-08-10 with recent releases. Depends on four OpenTelemetry packages (api, instrumentation, semantic-conventions-ai, semantic-conventions), all standard observability infrastructure.
Requires Python 3.10 or later. Assumes an OpenTelemetry SDK and exporter are already configured in your application.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required.
Quickstart
pip install opentelemetry-instrumentation-replicate
from opentelemetry.instrumentation.replicate import ReplicateInstrumentor
ReplicateInstrumentor().instrument()
Verify before relying
- Whether this instrumentation works with all Replicate API endpoints or only specific model types.
- Performance overhead of tracing on Replicate API call latency.
- Compatibility with different OpenTelemetry exporter backends (Jaeger, Datadog, etc.).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventions-aiopentelemetry-semantic-conventions |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,849,634 / month, #1,833 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: opentelemetry_instrumentation_replicate-0.62.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “opentelemetry replicate tracing”
- opentelemetry-instrumentation-replicateAdds OpenTelemetry tracing to Replicate API calls, capturing prompts,…
- opentelemetry-instrumentation-boto3sqsAdds distributed tracing to Boto3 SQS calls via OpenTelemetry,…
- opentelemetry-exporter-zipkin-jsonExports OpenTelemetry tracing data to Zipkin using JSON serialization…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also openfeature-hooks-opentelemetry · opentelemetry-instrumentation-anthropic · opentelemetry-instrumentation-openai · replicate · opentelemetry-instrumentation-writer · opentelemetry-instrumentation-google-generativeai · opentelemetry-instrumentation-litellm · opentelemetry-instrumentation-cohere · opentelemetry-instrumentation-transformers · opentelemetry-instrumentation-groq