You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS: The trace exporter is just ignoring the error for both BatchSpanProcessorhere and the SimpleSpanProcessorhere.
I'm not sure what should the good behavior here, but either crashing or ignoring error seems too extreme, could we just log a warning or errors in those cases ?
The text was updated successfully, but these errors were encountered:
Currently in the Metric's Controller if the data fails to export we reject the promise here: https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-metrics/src/export/Controller.ts#L56 which isn't at all handled (should be here: https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-metrics/src/export/Controller.ts#L36), so the current behavior is to throw an unhandledRejection, which for some users (that want to crash when it happens)
PS: The trace exporter is just ignoring the error for both
BatchSpanProcessor
here and theSimpleSpanProcessor
here.I'm not sure what should the good behavior here, but either crashing or ignoring error seems too extreme, could we just log a warning or errors in those cases ?
The text was updated successfully, but these errors were encountered: