opentelemetry-instrumentation-ollama 0.57.0


pip install opentelemetry-instrumentation-ollama

  Latest version

Released: Mar 30, 2026

Project Links

Meta
Author: Gal Kleinman, Nir Gazit
Requires Python: <4,>=3.10

Classifiers

OpenTelemetry Ollama Instrumentation

This library allows tracing calls to any of Ollama's endpoints sent with the official Ollama Python Library.

Installation

pip install opentelemetry-instrumentation-ollama

Example usage

from opentelemetry.instrumentation.ollama import OllamaInstrumentor

OllamaInstrumentor().instrument()

Privacy

By default, this instrumentation logs prompts, completions, and embeddings to span attributes. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.

However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.

To disable logging, set the TRACELOOP_TRACE_CONTENT environment variable to false.

TRACELOOP_TRACE_CONTENT=false
0.57.0 Mar 30, 2026
0.56.1 Mar 30, 2026
0.56.0 Mar 30, 2026
0.55.0 Mar 29, 2026
0.54.0 Mar 29, 2026
0.53.4 Mar 29, 2026
0.53.3 Mar 19, 2026
0.53.2 Mar 18, 2026
0.53.0 Mar 04, 2026
0.52.6 Feb 26, 2026
0.52.5 Feb 23, 2026
0.52.4 Feb 19, 2026
0.52.3 Feb 10, 2026
0.52.2 Feb 08, 2026
0.52.1 Feb 02, 2026
0.52.0 Feb 02, 2026
0.51.1 Jan 26, 2026
0.51.0 Jan 20, 2026
0.50.1 Dec 16, 2025
0.49.8 Dec 11, 2025
0.49.7 Dec 08, 2025
0.49.6 Dec 01, 2025
0.49.5 Nov 27, 2025
0.49.4 Nov 27, 2025
0.49.3 Nov 26, 2025
0.49.2 Nov 25, 2025
0.49.1 Nov 24, 2025
0.49.0 Nov 23, 2025
0.48.2 Nov 23, 2025
0.48.1 Nov 17, 2025
0.48.0 Nov 11, 2025
0.47.5 Oct 24, 2025
0.47.4 Oct 22, 2025
0.47.3 Sep 21, 2025
0.47.2 Sep 17, 2025
0.47.1 Sep 14, 2025
0.47.0 Sep 10, 2025
0.46.2 Aug 29, 2025
0.46.1 Aug 24, 2025
0.46.0 Aug 24, 2025
0.45.6 Aug 18, 2025
0.45.5 Aug 15, 2025
0.45.4 Aug 14, 2025
0.45.3 Aug 14, 2025
0.45.2 Aug 14, 2025
0.45.1 Aug 13, 2025
0.45.0 Aug 12, 2025
0.44.3 Aug 12, 2025
0.44.2 Aug 11, 2025
0.44.1 Aug 04, 2025
0.44.0 Aug 03, 2025
0.43.1 Jul 23, 2025
0.43.0 Jul 22, 2025
0.42.0 Jul 17, 2025
0.41.0 Jul 13, 2025
0.40.14 Jun 24, 2025
0.40.13 Jun 24, 2025
0.40.12 Jun 20, 2025
0.40.11 Jun 17, 2025
0.40.10 Jun 17, 2025
0.40.9 Jun 10, 2025
0.40.8 Jun 09, 2025
0.40.7 May 20, 2025
0.40.6 May 16, 2025
0.40.5 May 13, 2025
0.40.4 May 10, 2025
0.40.3 May 07, 2025
0.40.2 Apr 30, 2025
0.39.4 Apr 28, 2025
0.39.3 Apr 24, 2025
0.39.2 Apr 18, 2025
0.39.1 Apr 15, 2025
0.39.0 Mar 25, 2025
0.38.12 Mar 07, 2025
0.38.11 Mar 06, 2025
0.38.10 Mar 05, 2025
0.38.9 Mar 04, 2025
0.38.8 Feb 27, 2025
0.38.7 Feb 19, 2025
0.38.6 Feb 17, 2025
0.38.5 Feb 10, 2025
0.38.4 Feb 06, 2025
0.38.3 Feb 05, 2025
0.38.2 Feb 04, 2025
0.38.1 Feb 04, 2025
0.38.0 Feb 04, 2025
0.37.1 Jan 25, 2025
0.36.1 Jan 20, 2025
0.36.0 Jan 13, 2025
0.35.0 Jan 03, 2025
0.34.1 Dec 22, 2024
0.34.0 Dec 12, 2024
0.33.12 Nov 13, 2024
0.33.11 Nov 09, 2024
0.33.10 Nov 08, 2024
0.33.9 Nov 05, 2024
0.33.8 Nov 05, 2024
0.33.7 Nov 04, 2024
0.33.6 Nov 04, 2024
0.33.5 Oct 29, 2024
0.33.4 Oct 28, 2024
0.33.3 Oct 22, 2024
0.33.2 Oct 17, 2024
0.33.1 Oct 16, 2024
0.33.0 Oct 15, 2024
0.32.2 Oct 04, 2024
0.32.1 Oct 03, 2024
0.32.0 Oct 03, 2024
0.31.4 Oct 01, 2024
0.31.3 Sep 28, 2024
0.31.2 Sep 27, 2024
0.31.1 Sep 26, 2024
0.31.0 Sep 25, 2024
0.30.1 Sep 16, 2024
0.30.0 Sep 04, 2024
0.29.2 Aug 31, 2024
0.29.1 Aug 29, 2024
0.29.0 Aug 29, 2024
0.28.2 Aug 26, 2024
0.28.1 Aug 24, 2024
0.28.0 Aug 24, 2024
0.27.0 Aug 15, 2024
0.26.5 Aug 06, 2024
0.26.4 Aug 03, 2024
0.26.3 Aug 02, 2024
0.26.2 Jul 31, 2024
0.26.1 Jul 30, 2024
0.26.0 Jul 26, 2024
0.25.6 Jul 23, 2024
0.25.5 Jul 17, 2024
0.25.4 Jul 15, 2024
0.25.3 Jul 11, 2024
0.25.2 Jul 11, 2024
0.25.1 Jul 09, 2024
0.25.0 Jul 08, 2024
0.24.0 Jul 03, 2024
0.23.0 Jun 17, 2024
0.22.1 Jun 13, 2024
0.22.0 Jun 10, 2024
0.21.5 Jun 05, 2024
0.21.4 Jun 03, 2024
0.21.3 Jun 03, 2024
0.21.2 May 31, 2024
0.21.1 May 30, 2024
0.21.0 May 27, 2024
0.20.0 May 26, 2024
0.19.0 May 24, 2024
Extras:
Dependencies:
opentelemetry-api (<2,>=1.38.0)
opentelemetry-instrumentation (>=0.59b0)
opentelemetry-semantic-conventions-ai (<0.6.0,>=0.5.1)
opentelemetry-semantic-conventions (>=0.59b0)