OpenTelemetry Voyage AI Instrumentation
This library allows tracing Voyage AI API calls with OpenTelemetry.
Installation
pip install opentelemetry-instrumentation-voyageai
Usage
from opentelemetry.instrumentation.voyageai import VoyageAIInstrumentor
VoyageAIInstrumentor().instrument()
# Now use Voyage AI as usual
import voyageai
client = voyageai.Client()
# Embeddings
result = client.embed(texts=["Hello, world!"], model="voyage-3")
# Reranking
result = client.rerank(
query="What is the capital of France?",
documents=["Paris is the capital of France.", "London is in England."],
model="rerank-2.5"
)
Semantic Conventions
This instrumentation follows the OpenTelemetry GenAI semantic conventions:
gen_ai.system: "voyageai"gen_ai.operation.name: "embeddings" or "rerank"gen_ai.request.model: The model namegen_ai.usage.input_tokens: Token count from the responsegen_ai.embeddings.dimension.count: Embedding vector dimension (for embed only)
Metadata
Release files for opentelemetry-instrumentation-voyageai 0.62.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_instrumentation_voyageai-0.62.4.tar.gz | 169.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_voyageai-0.62.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 175.6 kB
Release files / opentelemetry_instrumentation_voyageai-0.62.4.tar.gz
| Download URL | opentelemetry_instrumentation_voyageai-0.62.4.tar.gz |
|---|---|
| Size | 169.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc0bed7f3b474a28d084b50c027dd9dfd02f8020df6b5c9264948ecd6c1121f2
|
|
BLAKE2b-256 checksum How to use checksums |
9b8742be096b1a3380fa25b504c6934d6c371308d895fa9982ade97d51946ac1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / opentelemetry_instrumentation_voyageai-0.62.4-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_voyageai-0.62.4-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9154920768151112f735ee7cf09291f9b487adbae9530cf1a9ca340efa7ff633
|
|
BLAKE2b-256 checksum How to use checksums |
1881038a7736179df1cd74e151a0f93330822ec2a1a3edc888064b705e5f2c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log