opentelemetry-instrumentation-voyageai
OpenTelemetry Voyage AI instrumentation
What it is and what it does
This package is an OpenTelemetry instrumentation plugin that automatically intercepts and records Voyage AI API calls—both embeddings and reranking operations—without requiring code changes to your Voyage AI client usage. It captures structured telemetry following OpenTelemetry's GenAI semantic conventions, recording the operation type, model name, token counts, and embedding dimensions as spans that can be exported to any OpenTelemetry-compatible backend (Jaeger, Datadog, New Relic, etc.).
The instrumentation works by wrapping Voyage AI client methods at import time. Once activated with a single call to `VoyageAIInstrumentor().instrument()`, all subsequent Voyage AI operations are traced automatically. It depends on four OpenTelemetry packages (api, instrumentation, and two semantic convention libraries) and requires Python 3.10 or later. The package is actively maintained and carries no known security vulnerabilities.
Use it for:
- Monitor embedding generation latency and token usage across your RAG or semantic search pipeline
- Debug reranking performance by tracing query and document processing through OpenTelemetry
- Export Voyage AI operation traces to a centralized observability platform for cost and performance analysis
- Correlate Voyage AI calls with upstream application traces using OpenTelemetry context propagation
- Audit which models and operations are being called in production for compliance or billing purposes
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Automatically captures and traces Voyage AI API calls (embeddings and reranking) using OpenTelemetry, recording operation names, model names, token usage, and embedding dimensions as structured telemetry data.
Yes, if you are already using OpenTelemetry in your application and need visibility into Voyage AI API calls. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a straightforward addition to any observability stack. Install only if you have an OpenTelemetry exporter configured; the instrumentation alone produces no output.
Install
opentelemetry-instrumentation-voyageai on PyPI
pip
pip install opentelemetry-instrumentation-voyageaiuv
uv add opentelemetry-instrumentation-voyageaipoetry
poetry add opentelemetry-instrumentation-voyageaiInstalling opentelemetry-instrumentation-voyageai
Before you install
Low friction: pure Python wheel with four runtime dependencies (all part of the OpenTelemetry ecosystem). Actively maintained as of 2026-08-10 with recent releases.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install opentelemetry-instrumentation-voyageai
from opentelemetry.instrumentation.voyageai import VoyageAIInstrumentor
VoyageAIInstrumentor().instrument()
import voyageai
client = voyageai.Client()
result = client.embed(texts=["Hello, world!"], model="voyage-3")
Requires Python 3.10 or later (package specifies >=3.10,<4); Voyage AI client library must be installed separately and available at runtime.
Verify before relying
- Whether the package works with Voyage AI client versions other than those tested during development
- Performance overhead of instrumentation on high-volume embedding or reranking workloads
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 | 2,117,068/month — #3,283 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_voyageai-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
voyageaiProvides Python access to Voyage AI's embedding…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-vertexaiAutomatically captures traces of VertexAI API…
permissive · top 5,000 on PyPI
opentelemetry-util-genaiProvides standardized instrumentation utilities…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-togetherAutomatically traces calls to Together AI's API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-google-generativeaiAutomatically traces prompts, completions, and…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-google-genaiAdds OpenTelemetry instrumentation to the…
permissive · top 5,000 on PyPI
opentelemetry-semantic-conventions-aiProvides OpenTelemetry semantic conventions and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-mistralaiAutomatically captures and traces calls to the…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-agnoAutomatically instruments the Agno framework to…
permissive · top 5,000 on PyPI