Skip to content

FR: adding OpenTelemetry instrumentation package #908

Description

@SiriusKoan

Problem

Tracing is critical to modern monitoring, and many popular packages build their own OpenTelemetry instrumentation to provide tracing.
However, there seems no similar solution for line-bot-sdk-python now, and developers have to do manual instrumentation or use existing instrumentation from other related packages, such as opentelemetry-instrumentation-flask (if website hosted with Flask) and opentelemetry-instrumentation-requests (if making HTTP requests manually).

Solution

Allowing tracing the Line API made from this SDK by simply installing a package named opentelemetry-instrumentation-<a good name for line-bot-sdk-python>.

Activity

  1. eucyt commented on Jan 13, 2026

    @eucyt
    Contributor

    Thank you for using the SDK, and thank you for the proposal in this issue.

    We agree that tracing is important for modern observability. However, calls made by line-bot-sdk-python are essentially performed via standard HTTP clients. In most cases, using existing OpenTelemetry instrumentations such as opentelemetry-instrumentation-requests or opentelemetry-instrumentation-urllib3 already allows tracing of API calls made through this SDK.

    Providing an official, SDK-specific OpenTelemetry instrumentation would require ongoing maintenance effort, including tracking OpenTelemetry API/SDK compatibility, defining semantic conventions, and maintaining tests. For this reason, we’re sorry to say that we do not currently have plans to provide a dedicated instrumentation package.

    Thank you for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions