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.
Meter::Collectis usually called in a background thread (viaPeriodicExportingMetricReader)Meter::RegisterSyncMetricStorageandMeter::RegisterAsyncMetricStorageare called for each new instrument.These methods are not thread safe, and can cause SEGFAULT under certain conditions.