Azure / Azure/otel-lib

Change Otel::new() to not require async block

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Currently in MQ, `Otel::new()` needs to be run in an async block that's regulated by a `std::sync::mspc::channel()` (Sender/Receiver) to allow the creation of an otel component to finish before logging that the broker replica has started running.

It would make more sense for this to be totally synchronous as it is a `new()` function. @danewalton-msft, do you think it would be possible to refactor this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.