skillfed

opentelemetry-instrumentation-lancedb

OpenTelemetry Lancedb instrumentation

opentelemetry-instrumentation-lancedb v0.62.3 8.2M downloads/30d#1,647 on PyPI7,377
Permissive license Apache-2.0 Active released

What it is and what it does

This package wraps the official LanceDB library to automatically emit OpenTelemetry traces for every client-side call. It integrates with the OpenTelemetry ecosystem, meaning traces are formatted according to semantic conventions and can be exported to any backend that accepts OpenTelemetry signals—Jaeger, Datadog, New Relic, or any other collector.

You install it, call `LanceInstrumentor().instrument()` once at startup, and then all subsequent LanceDB operations are traced without further code changes. It depends on opentelemetry-api, opentelemetry-instrumentation, and two semantic-conventions packages to define how database operations are represented in traces.

Use it for:

  • Debug slow LanceDB queries by viewing end-to-end traces in your observability backend.
  • Monitor production vector database operations and correlate them with application traces.
  • Troubleshoot connection issues or failures by inspecting trace spans and error attributes.
  • Measure LanceDB latency distribution across your application's request lifecycle.

Worth the install?

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

Adds distributed tracing instrumentation for LanceDB client calls, automatically capturing traces compatible with OpenTelemetry collectors and backends.

Yes, if you are already using OpenTelemetry and LanceDB in production. The package is actively maintained, has no known vulnerabilities, and low install friction. Install only if you have an OpenTelemetry exporter already configured; the instrumentation alone produces no output without a collector backend.

Install

opentelemetry-instrumentation-lancedb on PyPI

pip

pip install opentelemetry-instrumentation-lancedb

uv

uv add opentelemetry-instrumentation-lancedb

poetry

poetry add opentelemetry-instrumentation-lancedb

Installing opentelemetry-instrumentation-lancedb

Before you install

Low friction install with four lightweight OpenTelemetry dependencies. Actively maintained as of 4 days ago with recent commits and a substantial upstream repository.

License in practice

Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions.

Quickstart

pip install opentelemetry-instrumentation-lancedb

from opentelemetry.instrumentation.lancedb import LanceInstrumentor

LanceInstrumentor().instrument()

Requires Python 3.10 or later; requires an OpenTelemetry collector or exporter to be configured separately to actually export traces.

Verify before relying

  • Whether instrumentation works with all LanceDB versions or only specific releases.
  • What trace data is captured (query parameters, latency, errors) and how detailed the semantic conventions are.
  • Whether the package supports async LanceDB operations or only synchronous calls.

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

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

Tags

opentelemetry lancedb tracinglancedb instrumentationdistributed tracing vector databaselancedb observabilityopentelemetry database instrumentationtrace lancedb callslancedb monitoring
observabilityvector-databasetracing

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

Adds distributed tracing to Milvus 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-pinecone

Adds distributed tracing to Pinecone 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-ollama

Adds distributed tracing to Ollama Python…

permissive · top 5,000 on PyPI

lancedb

LanceDB is a Python SDK for connecting to and…

permissive · top 5,000 on PyPI

lance-namespace

Provides an abstract interface and plugin…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-boto

Adds distributed tracing to AWS SDK (Boto)…

permissive · top 5,000 on PyPI