Skip to content

[exporters/otlptracehttp] Got error messages despite export succeeded #3706

Description

@songy23

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

  1. Have a mock backend that returns 202 upon successfully receiving OTLP HTTP trace payloads
  2. Run otlptracehttp exporter against the mock backend
  3. See error despite traces are successfully exported

Expected behavior

No error logs upon 202 Accepted responses for otlptracehttp exporter.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions