Skip to content

Bug: OpenTelemetryHookHandler has the wrong type #4466

@vikigenius

Description

@vikigenius

Description

The opentelemetry docs

indicate that the callable has 3 arguments, Span, Scope and Event

The OpenTelemetryHook handler just indicates 2 arguments

URL to code causing the issue

OpenTelemetryHookHandler = Callable[[Span, dict], None]

Litestar Version

master

Platform

  • Linux
  • Mac
  • Windows
  • Other (Please specify in the description above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🐛This is something that is not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions