Skip to content

[Metrics SDK] Threading issue between Meter::RegisterSyncMetricStorage and Meter::Collect #1663

@sam-leitch-oxb

Description

@sam-leitch-oxb

Meter::Collect is usually called in a background thread (via PeriodicExportingMetricReader)

Meter::RegisterSyncMetricStorage and Meter::RegisterAsyncMetricStorage are called for each new instrument.

These methods are not thread safe, and can cause SEGFAULT under certain conditions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions