opentelemetry-instrumentation-cohere
OpenTelemetry Cohere instrumentation
Decision gist · record as of 2026-08-14
Yes, if you use Cohere's API and already have an OpenTelemetry collector or exporter in place. The package is actively maintained, has no known vulnerabilities, and adds minimal overhead. Install it only if you need observability into Cohere calls; it is not useful without an OpenTelemetry backend to consume the spans.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Cohere library must be installed separately to instrument calls.
- Low install friction with a pure Python wheel and four lightweight OpenTelemetry dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most commercial and open-source projects with minimal restrictions.
last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 7,377 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,007,751 downloads/mo, #1,799 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-cohere
from opentelemetry.instrumentation.cohere import CohereInstrumentor
CohereInstrumentor().instrument()- Whether the instrumentation works with all Cohere API endpoints or only a subset.
- How the span overhead affects latency in production workloads.
- Whether custom span processors or exporters are needed to use the traces effectively.
What it is and what it does
This package integrates OpenTelemetry tracing into applications that use the Cohere Python library. When you call Cohere's API endpoints, the instrumentation automatically captures the requests and responses as spans, allowing you to observe and debug your LLM application's behavior through your existing observability stack.
By default, it logs prompts, completions, and embeddings to span attributes for full visibility into what your application is sending and receiving. If that poses a privacy or storage concern—because the data may contain sensitive user information—you can disable content logging by setting the TRACELOOP_TRACE_CONTENT environment variable to false, which will still trace the calls but omit the actual payloads.
Use it for
- Debug Cohere API calls in development by inspecting prompts, responses, and latency in your tracing backend.
- Monitor LLM application performance in production by collecting spans and correlating them with other service traces.
- Audit and log what data your application sends to Cohere while keeping sensitive content out of traces.
- Troubleshoot integration issues by examining the full request-response cycle captured as OpenTelemetry spans.
- Evaluate output quality by reviewing completions and embeddings alongside application context in traces.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Cohere's API and already have an OpenTelemetry collector or exporter in place.
The package is actively maintained, has no known vulnerabilities, and adds minimal overhead. Install it only if you need observability into Cohere calls; it is not useful without an OpenTelemetry backend to consume the spans.
Install
opentelemetry-instrumentation-cohere on PyPI
Before you install
Low install friction with a pure Python wheel and four lightweight OpenTelemetry dependencies. Active maintenance with a release 4 days old and recent commits.
Requires Python 3.10 or later. Cohere library must be installed separately to instrument calls.
License in practice
Apache-2.0 permissive license allows use in most commercial and open-source projects with minimal restrictions.
Quickstart
pip install opentelemetry-instrumentation-cohere
from opentelemetry.instrumentation.cohere import CohereInstrumentor
CohereInstrumentor().instrument()
Verify before relying
- Whether the instrumentation works with all Cohere API endpoints or only a subset.
- How the span overhead affects latency in production workloads.
- Whether custom span processors or exporters are needed to use the traces effectively.
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 | 7,007,751 / month, #1,799 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: opentelemetry_instrumentation_cohere-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 cohere tracing”
- opentelemetry-instrumentation-cohereAutomatically traces calls to Cohere's API endpoints when using the…
- openlitOpenLIT provides OpenTelemetry-native auto-instrumentation for…
- traceloop-sdkTraceloop SDK instruments LLM applications to capture execution…
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 cohere-compass-sdk · opentelemetry-instrumentation-writer · opentelemetry-instrumentation-together · opentelemetry-instrumentation-openai · opentelemetry-instrumentation-ollama · opentelemetry-instrumentation-replicate · opentelemetry-instrumentation-mistralai · opentelemetry-instrumentation-groq · opentelemetry-instrumentation-vertexai · opentelemetry-instrumentation-alephalpha