Skip to content

Meter provider option ignored by some metrics on bunotel #1270

@ls-aron-kyle

Description

@ls-aron-kyle

github.com/uptrace/bun/extra/bunotel/otel.go:61 should be passing the meter provider (and trace provider) specified in the options collected at github.com/uptrace/bun/extra/bunotel/otel.go:35.

The net result is during the Init call some metrics are forcibly recorded to the global meter provider instead of the configured one.

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