skillfed

opentelemetry-instrumentation-together

OpenTelemetry Together AI instrumentation

opentelemetry-instrumentation-together v0.62.3 6.8M downloads/30d#1,840 on PyPI7,377
Permissive license Apache-2.0 Active released

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-together

uv

uv add opentelemetry-instrumentation-together

poetry

poetry add opentelemetry-instrumentation-together

Installing 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

opentelemetry instrumentation llmtogether ai tracingllm api observabilityopentelemetry ai monitoringtrace together ai callsllm span instrumentationai api debugging traces
observabilityllm-tracingai-monitoring

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-openai

Captures traces of OpenAI API calls (prompts,…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-cohere

Automatically traces calls to Cohere's API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-vertexai

Automatically captures traces of VertexAI API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-writer

Automatically traces calls to Writer's API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-alephalpha

Automatically captures and traces calls to…

permissive · top 5,000 on PyPI

opentelemetry-semantic-conventions-ai

Provides OpenTelemetry semantic conventions and…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-voyageai

Automatically captures and traces Voyage AI API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-replicate

Adds OpenTelemetry tracing to Replicate API…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-google-generativeai

Automatically traces prompts, completions, and…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-haystack

Adds distributed tracing to Haystack LLM…

permissive · top 5,000 on PyPI