OTLP File exporter may crash if create thread failed #3011
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe your environment
OS: Linux
Steps to reproduce
We have a internal prometheus file exporter which just like OTLP file exporter, and it may lead to crash when creating thread failed.
I think there is simular problem in OTLP file exporters.
Additional context
PrometheusFileBackend::AddMetricData
callsSpawnBackgroundWorkThread()
and the implementation just likeOtlpFileSystemBackend::SpawnBackgroundWorkThread()
.The text was updated successfully, but these errors were encountered: