opentelemetry-instrumentation-ollama

OpenTelemetry Ollama instrumentation

154 个版本 Python <4,>=3.10
安装
pip install opentelemetry-instrumentation-ollama
poetry add opentelemetry-instrumentation-ollama
pipenv install opentelemetry-instrumentation-ollama
conda install opentelemetry-instrumentation-ollama
描述

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