opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Test that MetricExporter.export() will not be called concurrently for the same instance

Open aabmass opened this issue 3 years ago • 0 comments

As mentioned in the spec

Export will never be called concurrently for the same exporter instance. Export can be called again only after the current call returns.

~We already do this AFAIK, but want to add a test to ensure this behavior doesn't accidentally change~

After writing the test, it turns out we don't actually guarantee this. Putting up a PR soon

aabmass avatar Aug 04 '22 17:08 aabmass