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

Fork process models for metric batch reader do not work

Open lzchen opened this issue 3 years ago • 0 comments

and when a new process is not created (simply a new fork is created).

When does this happen?

One thing I am still thinking about is how do I do the same for PeriodicExportingMetricReader? Unlike tracing/logging where the events are received by processor, the PMR collects them with collect function. There is nothing like emit or on_start/on_end where I can check if the pids to see the fork hook is invoked and invoke if not.

Originally posted by @srikanthccv in https://github.com/open-telemetry/opentelemetry-python/issues/2277#issuecomment-1148999039

lzchen avatar Jun 16 '22 16:06 lzchen