skillfed

opentelemetry-instrumentation-milvus

OpenTelemetry Milvus instrumentation

opentelemetry-instrumentation-milvus v0.62.3 7.5M downloads/30d#1,732 on PyPI7,377
Permissive license Apache-2.0 Active released

What it is and what it does

This package is an OpenTelemetry instrumentation plugin that automatically captures tracing data from Milvus vector database client calls. It integrates with the official Milvus library to emit spans and metrics that can be exported to observability backends for monitoring, debugging, and performance analysis.

Once installed and initialized with a single call to MilvusInstrumentor().instrument(), it transparently traces all Milvus operations without requiring changes to your application code. It depends on the core OpenTelemetry API and semantic conventions to ensure traces are compatible with standard observability platforms.

Use it for:

  • Monitor Milvus query latency and performance in production systems.
  • Debug slow or failing vector database operations by examining detailed trace spans.
  • Correlate Milvus calls with other distributed system traces for end-to-end observability.
  • Collect metrics on Milvus client behavior for capacity planning and optimization.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds distributed tracing to Milvus vector database client calls, capturing telemetry data for observability and debugging.

Yes, if you are already using OpenTelemetry and the official Milvus library. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a straightforward addition to observability-instrumented applications. Skip it if you are not using OpenTelemetry or do not need tracing on Milvus calls.

Install

opentelemetry-instrumentation-milvus on PyPI

pip

pip install opentelemetry-instrumentation-milvus

uv

uv add opentelemetry-instrumentation-milvus

poetry

poetry add opentelemetry-instrumentation-milvus

Installing opentelemetry-instrumentation-milvus

Before you install

Low install friction with a pure-Python wheel and four lightweight OpenTelemetry dependencies. Actively maintained with a recent release.

License in practice

Apache-2.0 is permissive; you can use this in commercial and proprietary projects without restriction.

Quickstart

pip install opentelemetry-instrumentation-milvus

from opentelemetry.instrumentation.milvus import MilvusInstrumentor

MilvusInstrumentor().instrument()

Requires Python 3.10 or later.

Verify before relying

  • Whether this instrumentation works with all versions of the official Milvus library or has specific version constraints.
  • What specific trace attributes and spans are captured for Milvus operations.
  • Whether additional configuration is needed beyond calling instrument() to export traces to a backend.

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 7,505,827/month — #1,732 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: opentelemetry_instrumentation_milvus-0.62.3-py3-none-any.whl

Tags

milvus tracing instrumentationopentelemetry milvusvector database observabilitymilvus client tracingdistributed tracing vector dbmilvus telemetrymilvus call tracing
observabilityvector-databasedistributed-tracing

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

Adds distributed tracing to Qdrant vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-chromadb

Adds distributed tracing to Chroma vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-weaviate

Adds distributed tracing to Weaviate vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-marqo

Adds OpenTelemetry tracing to client-side calls…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pinecone

Adds distributed tracing to Pinecone vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-lancedb

Adds distributed tracing instrumentation for…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-ollama

Adds distributed tracing to Ollama Python…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-llamaindex

Adds distributed tracing to LlamaIndex…

permissive · top 5,000 on PyPI

milvus-lite

Milvus Lite is a pure-Python local vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-elasticsearch

Adds distributed tracing to Elasticsearch…

permissive · top 5,000 on PyPI