opentelemetry-instrumentation-together
OpenTelemetry Together AI instrumentation
What it is and what it does
This package hooks into the official Together AI Python library to automatically capture telemetry data from API calls. It wraps Together AI requests and records prompts, completions, and embeddings as attributes in OpenTelemetry spans, integrating with your existing observability infrastructure.
By default it logs all content to spans for visibility into LLM application behavior, but you can disable this via the TRACELOOP_TRACE_CONTENT environment variable if you need to protect sensitive user data or reduce trace size. It depends on the core OpenTelemetry instrumentation framework and semantic conventions for AI workloads.
Use it for:
- Debug Together AI API calls by inspecting prompts and responses in your trace backend.
- Monitor LLM application performance and latency across Together AI endpoints.
- Correlate Together AI requests with other application traces for end-to-end observability.
- Evaluate output quality by reviewing completions captured in span attributes.
- Reduce trace verbosity in production by disabling content logging while keeping call metrics.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Automatically traces calls to Together AI's API endpoints by instrumenting the official Together AI Library, capturing prompts, completions, and embeddings as OpenTelemetry span attributes.
Yes, if you use Together AI and already have OpenTelemetry instrumentation in place. The package is actively maintained, has no known vulnerabilities, and low install friction. It directly solves the problem of observing Together AI API calls within an OpenTelemetry-based system. Be aware that content logging is on by default—set TRACELOOP_TRACE_CONTENT=false if you handle sensitive data.
Install
opentelemetry-instrumentation-together on PyPI
pip
pip install opentelemetry-instrumentation-togetheruv
uv add opentelemetry-instrumentation-togetherpoetry
poetry add opentelemetry-instrumentation-togetherInstalling opentelemetry-instrumentation-together
Before you install
Low install friction with a pure-Python wheel and four runtime dependencies, all within the OpenTelemetry ecosystem. Active maintenance with a recent release.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install opentelemetry-instrumentation-together
from opentelemetry.instrumentation.together import TogetherAiInstrumentor
TogetherAiInstrumentor().instrument()
Requires Python 3.10 or later. Requires an active OpenTelemetry SDK and exporter already configured in your application.
Verify before relying
- Whether the package works with all Together AI API endpoints or only a subset.
- Performance overhead of instrumentation on production workloads.
- Compatibility with specific OpenTelemetry exporter backends.
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 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,824,743/month — #1,840 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_together-0.62.3-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-openaiCaptures traces of OpenAI API calls (prompts,…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-cohereAutomatically traces calls to Cohere's API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-vertexaiAutomatically captures traces of VertexAI API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-writerAutomatically traces calls to Writer's API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-alephalphaAutomatically captures and traces calls to…
permissive · top 5,000 on PyPI
opentelemetry-semantic-conventions-aiProvides OpenTelemetry semantic conventions and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-voyageaiAutomatically captures and traces Voyage AI API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-replicateAdds OpenTelemetry tracing to Replicate API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-google-generativeaiAutomatically traces prompts, completions, and…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-haystackAdds distributed tracing to Haystack LLM…
permissive · top 5,000 on PyPI