OpenTelemetry Python Contrib

repository·main·Indexed 22 days ago

https://github.com/open-telemetry/opentelemetry-python-contrib

A collection of auto-instrumentation libraries, exporters, and SDK extensions for various Python integrations. It provides telemetry for popular libraries following the OTEP 0001 standard, including GenAI instrumentations for OpenAI, Anthropic, and LangChain, as well as a Prometheus Remote Write Exporter. These libraries are currently in beta and are designed to collect traces and metrics without manual instrumentation.

Tokens
56.3K
Snippets
218
Records
323
Agent score
77%

What's inside opentelemetry-python-contrib

  1. Overview of OpenTelemetry Python Instrumentations

    main

    The opentelemetry-python-contrib repository provides various instrumentation packages to automatically collect traces and metrics from popular Python libraries.

    When choosing an instrumentation package, consider:

    1. Supported Packages: Ensure your version of the library falls within the supported range.
    2. Metrics Support: Some instrumentations only provide Traces, while others also provide Metrics (indicated by 'Yes' in the support table).
    3. Semantic Convention (Semconv) Status:
      • development: The instrumentation is actively being developed and semantic conventions may change.
      • migration: The instrumentation is in a transition phase regarding semantic conventions.

    Refer to the specific package documentation for installation and configuration details.