Skip to content

Missing tests for global async instrument registration and unwrapping #794

@jmacd

Description

@jmacd

Describe the bug
As discussed in #793,
testing is incomplete for global asynchronous instrument registration. The SDK will log errors but no test actually fails when registration is broken.

To Reproduce
Remove the calls to Unwrap(metric.Observer) metric.Observer and notice that no tests break while new log messages appear.

Expected behavior
Should be tested.

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