Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTLP of the latest version don't send trace message to opentelemetry-collector v0.4.0 #874

Closed
gunsluo opened this issue Jun 26, 2020 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@gunsluo
Copy link

gunsluo commented Jun 26, 2020

Describe the bug
I use the following example to send trace messages to opentelemetry collector server.(https://github.com/open-telemetry/opentelemetry-go/tree/master/example/otel-collector)

Steps to reproduce
https://github.com/open-telemetry/opentelemetry-go/tree/master/example/otel-collector

Follow the above document to configure and run the program.

What did you expect to see?

What did you see instead?
no error message

What version did you use?
version: v0.4.0
docker image I used is otel/opentelemetry-collector-contrib:0.4.0

What config did you use?

receivers:
  # Make sure to add the otlp receiver. 
  # This will open up the receiver on port 55680
  otlp:
    endpoint: 0.0.0.0:55680

processors:
  batch:
  queued_retry:

extensions:
  health_check: {}

exporters:
  jaeger:
    endpoint: "jaeger:14250"
    insecure: true
  otlp:
    endpoint: "otel-collector:55679"
    insecure: true
  logging:
    loglevel: debug



  logging:
      loglevel: debug

service:
  extensions: [health_check]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch, queued_retry]
      exporters: [logging, otlp]

Environment
OS: macos 10.15.4

Additional context

docker image opentelemetry-collector v0.3.0 works fine. and no error messages are print under v0.4.0.

Hi, @MrAlias
any idea?

@nilebox
Copy link
Member

nilebox commented Jul 2, 2020

@gunsluo Note that OpenTelemetry Collector has just released v0.5.0 (see https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.5.0), which includes breaking changes after updating to OTLP v0.4.0 - Go SDK has already been updated to it:

github.com/open-telemetry/opentelemetry-proto v0.4.0

So latest releases of Go SDK and Collector should have OTLP compatibility again.

@MrAlias
Copy link
Contributor

MrAlias commented Jul 2, 2020

@gunsluo I'm going to close based on what @nilebox pointed out. If you upgrade and still have issues, please reopen.

@MrAlias MrAlias closed this as completed Jul 2, 2020
@MrAlias MrAlias added area: exporter bug Something isn't working labels Jul 2, 2020
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants