Skip to main content

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 name
  • gen_ai.usage.input_tokens: Token count from the response
  • gen_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)

Source distribution for opentelemetry-instrumentation-voyageai 0.62.4
File Size Uploaded
opentelemetry_instrumentation_voyageai-0.62.4.tar.gz 169.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-instrumentation-voyageai 0.62.4
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.62.4 This release

2 release files

0.62.3

2 release files

0.62.1

2 release files

0.61.0

2 release files

0.60.0

2 release files

0.59.2

2 release files

0.59.1

2 release files

0.59.0

2 release files

0.58.1

2 release files

0.57.0

2 release files

0.56.1

2 release files

0.56.0

2 release files

0.55.0

2 release files

0.54.0

2 release files

0.53.4

2 release files

0.53.3

2 release files

0.53.2

2 release files

0.52.6

2 release files

0.52.5

2 release files

0.52.4

2 release files

0.52.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page