ElasticSearch exporter crashes when emitting a log (EXC_BAD_ACCESS) #3078
Labels
bug
Something isn't working
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Describe your environment
Using a manually built version of OpenTelemetry 1.16.1 on macOS with :
Steps to reproduce
The usage is pretty simple:
First an init of the exporter with a single log record processor:
Then, when logs needs to be sent a call to
m_Logger.EmitLogRecord(xxx)
What is the expected behavior?
The program should run and send the log to the ELK endpoint.
What is the actual behavior?
It crashes on
es_log_record_exporter.cc:353
Backtrace:
Additional context
There is no problem if using a
HttpLogRecordExporter
instead of aElasticsearchLogRecordExporter
with the exact samecodeThe text was updated successfully, but these errors were encountered: