Description
When using the otlptracehttp exporter to export trace to a custom endpoint, I got error messages despite export succeeded:
2023/02/10 10:34:31 traces export: failed to send to [my own trace agent]: 202 Accepted
/cc @dineshg13
Environment
- OS: MacOS
- Architecture: Apple M1
- Go Version: 1.19
- opentelemetry-go version: v1.13.0
Steps To Reproduce
- Have a mock backend that returns 202 upon successfully receiving OTLP HTTP trace payloads
- Run
otlptracehttp exporter against the mock backend
- See error despite traces are successfully exported
Expected behavior
No error logs upon 202 Accepted responses for otlptracehttp exporter.
Description
When using the
otlptracehttpexporter to export trace to a custom endpoint, I got error messages despite export succeeded:/cc @dineshg13
Environment
Steps To Reproduce
otlptracehttpexporter against the mock backendExpected behavior
No error logs upon
202 Acceptedresponses forotlptracehttpexporter.