--- id: opentelemetry-instrumentation-milvus version: "0.62.3" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-milvus — OpenTelemetry Milvus instrumentation License: permissive · Maintenance: active · Downloads: 7.5M/mo ## 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 above — 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 pip install opentelemetry-instrumentation-milvus uv add opentelemetry-instrumentation-milvus 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_current - Install friction: low - Maintenance: active - Downloads: 7.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags milvus tracing instrumentation, opentelemetry milvus, vector database observability, milvus client tracing, distributed tracing vector db, milvus telemetry, milvus call tracing, observability, vector-database, distributed-tracing [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-milvus) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-milvus/)