opentelemetry-instrumentation-langchain

OpenTelemetry Langchain instrumentation

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

OpenTelemetry Langchain Instrumentation

This library allows tracing complete LLM applications built with Langchain.

Installation

pip install opentelemetry-instrumentation-langchain

Example usage

from opentelemetry.instrumentation.langchain import LangchainInstrumentor

LangchainInstrumentor().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.40.1 2025-04-30
0.40.0 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-22
0.18.2 2024-05-17
0.18.1 2024-05-17
0.18.0 2024-05-14
0.17.7 2024-05-13
0.17.6 2024-05-13
0.17.5 2024-05-13
0.17.4 2024-05-13
0.17.3 2024-05-08
0.17.2 2024-05-07
0.17.1 2024-05-01
0.17.0 2024-04-29
0.16.9 2024-04-26
0.16.8 2024-04-25
0.16.7 2024-04-25
0.16.6 2024-04-19
0.16.5 2024-04-17
0.16.4 2024-04-15
0.16.3 2024-04-15
0.16.2 2024-04-14
0.16.1 2024-04-11
0.16.0 2024-04-10
0.15.13 2024-04-08
0.15.12 2024-04-08
0.15.11 2024-04-04
0.15.10 2024-04-04
0.15.9 2024-04-03
0.15.8 2024-04-03
0.15.7 2024-04-03
0.15.6 2024-04-02
0.15.5 2024-04-02
0.15.4 2024-03-31
0.15.3 2024-03-28
0.15.2 2024-03-27
0.15.1 2024-03-27
0.15.0 2024-03-26
0.14.5 2024-03-21
0.14.4 2024-03-21
0.14.3 2024-03-17
0.14.2 2024-03-15
0.14.1 2024-03-12
0.14.0 2024-03-12
0.13.3 2024-03-07
0.13.2 2024-03-06
0.13.1 2024-03-01
0.13.0 2024-02-28
0.12.5 2024-02-27
0.12.4 2024-02-26
0.12.3 2024-02-26
0.12.2 2024-02-23
0.12.1 2024-02-23
0.12.0 2024-02-22
0.11.3 2024-02-19
0.11.2 2024-02-16
0.11.1 2024-02-14
0.11.0 2024-02-13
0.10.5 2024-02-13
0.10.4 2024-02-08
0.10.3 2024-01-30
0.10.2 2024-01-25
0.10.1 2024-01-24
0.10.0 2024-01-22
0.9.4 2024-01-15
0.9.3 2024-01-15
0.9.2 2024-01-12
0.9.1 2024-01-12
0.9.0 2024-01-11
0.8.2 2024-01-10
0.8.1 2024-01-10
0.8.0 2024-01-04
0.7.0 2023-12-21
0.6.0 2023-12-16
0.5.3 2023-12-12
0.5.2 2023-12-09
0.5.1 2023-12-08
0.5.0 2023-12-07
0.4.2 2023-12-01
0.4.1 2023-11-30
0.4.0 2023-11-29
0.3.6 2023-11-27
0.3.5 2023-11-23
0.3.4 2023-11-22
0.3.3 2023-11-22
0.3.2 2023-11-16
0.3.1 2023-11-14
0.3.0 2023-11-10
0.2.1 2023-11-09
0.2.0 2023-11-08
0.1.12 2023-11-07
0.1.11 2023-11-06
0.1.10 2023-11-03
0.1.9 2023-11-03
0.1.8 2023-11-02
0.1.7 2023-11-01
0.1.6 2023-11-01
0.1.5 2023-10-31
0.1.3 2023-10-30
0.0.7 2023-10-26
0.0.6 2023-10-25
0.0.5 2023-10-25
0.0.4 2023-10-24
0.0.3 2023-10-24
0.0.2 2023-10-18
0.0.1 2023-10-08
0.0.5a0 2023-10-25
0.0.2a1 2023-10-16
0.0.2a0 2023-10-16
0.0.1b7 2023-10-06
0.0.1b6 2023-10-06
0.0.1b5 2023-10-06
0.0.1b4 2023-10-06
0.0.1b3 2023-10-06
0.0.1b2 2023-10-06
0.0.1b1 2023-10-06
0.0.1b0 2023-10-06