Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow resetting global providers #4557

Open
@lmolkova

Description

@lmolkova

Some frameworks do some questionable things, like setting global OTel provider to export telemetry to their own destination e.g.
https://github.com/Chainlit/chainlit/blob/6ec007032945dfd6a1a608cc3c8074bd2f643d0c/backend/chainlit/telemetry.py#L65

It must be possible to override their configuration. Currently once global tracer/metrics/logs provider is set, there is no way to override it.

Related: Chainlit/chainlit#2127

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions