$npx skillfedfor your agent

opentelemetry-instrumentation-sklearn

OpenTelemetry sklearn instrumentation

With conditionsPyPI MonitoringReleased May 2024171.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_instrumentation_sklearn-0.46b0-py3-none-any.whl
v0.46b0 · released 2024-05-31 · Python >=3.8 · 2 runtime deps: opentelemetry-api, opentelemetry-instrumentation

Yes, if you are already using OpenTelemetry in your application and need visibility into scikit-learn operations. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe addition. Beta status means the API may change. Install only if you have an OpenTelemetry tracer/exporter already configured to receive spans.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; requires an active OpenTelemetry tracer/exporter configured separately to capture and export spans.
  • Low install friction with only two runtime dependencies.
  • Actively maintained with recent commits; still in beta status.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), imposing no significant restrictions on use or redistribution.

last release 2024-05-31 (805 days) · last repo commit 2026-08-14 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 171,235 downloads/mo, #10,376 on PyPI

Verify before relying

pip install opentelemetry-instrumentation-sklearn

from opentelemetry.instrumentation.sklearn import SklearnInstrumentor

SklearnInstrumentor().instrument()
  • Which specific scikit-learn operations are instrumented (fit, predict, transform, etc.)
  • Whether instrumentation works with scikit-learn pipelines and composite estimators
  • Performance overhead of tracing during model training or inference
Same gist for agents: .md · .json

What it is and what it does

This package integrates scikit-learn with OpenTelemetry's distributed tracing system. When installed and activated, it automatically wraps scikit-learn operations to emit trace spans, allowing you to observe model training, inference, and other ML workflows as part of a broader observability stack. It depends on opentelemetry-api and opentelemetry-instrumentation to function.

The instrumentation is designed for developers building ML systems who need visibility into scikit-learn's execution within distributed or complex applications. It is currently in beta status and supports Python 3.8 through 3.11. The package has been actively maintained and carries no known security vulnerabilities.

Use it for

  • Trace scikit-learn model training and prediction calls in microservice architectures to correlate ML operations with other service spans.
  • Monitor performance and latency of scikit-learn operations in production ML pipelines using a centralized observability backend.
  • Debug and profile scikit-learn workflows by examining detailed trace data alongside application logs and metrics.
  • Integrate scikit-learn observability into existing OpenTelemetry-instrumented applications without modifying model code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using OpenTelemetry in your application and need visibility into scikit-learn operations.

The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe addition. Beta status means the API may change. Install only if you have an OpenTelemetry tracer/exporter already configured to receive spans.

Install

opentelemetry-instrumentation-sklearn on PyPI

Before you install

Low install friction with only two runtime dependencies. Actively maintained with recent commits; still in beta status.

Requires Python 3.8 or later; requires an active OpenTelemetry tracer/exporter configured separately to capture and export spans.

License in practice

Licensed under Apache Software License (permissive), imposing no significant restrictions on use or redistribution.

Quickstart

pip install opentelemetry-instrumentation-sklearn

from opentelemetry.instrumentation.sklearn import SklearnInstrumentor

SklearnInstrumentor().instrument()

Verify before relying

  • Which specific scikit-learn operations are instrumented (fit, predict, transform, etc.)
  • Whether instrumentation works with scikit-learn pipelines and composite estimators
  • Performance overhead of tracing during model training or inference

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
opentelemetry-apiopentelemetry-instrumentation
MaintenanceActively maintained 805 days since the last release
Last repo commit
First released
Downloads171,235 / month, #10,376 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: opentelemetry_instrumentation_sklearn-0.46b0-py3-none-any.whl

Tags

Capabilities
scikit-learn tracingopentelemetry sklearn instrumentationdistributed tracing machine learningsklearn observabilityml model span capture
Topics
observabilitymachine-learningtracing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “scikit-learn tracing”

  • opentelemetry-instrumentation-sklearnAdds distributed tracing instrumentation to scikit-learn operations,…
  • sklearndfWraps scikit-learn estimators to return pandas DataFrames instead of…
  • scikerasSciKeras wraps Keras models to work with scikit-learn's API, letting…

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-instrumentation-django · opentelemetry-instrumentation-boto · opentelemetry-instrumentation-structlog · opentelemetry-instrumentation-click · otel-extensions · opentelemetry-instrumentation-kafka-python · opentelemetry-instrumentation-redis · opentelemetry-instrumentation-elasticsearch · opentelemetry-instrumentation-aiokafka · opentelemetry-instrumentation-celery