Skip to content

OTLP Exporter for Metrics (tonic) can cause deadlock #2771

@cijothomas

Description

@cijothomas

https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-otlp/src/exporter/tonic/metrics.rs#L2 uses std::sync::mutex. The exporter has await() points, and here it should use tokio::sync:mutex instead.

Discussed here: #2764 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions