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

An exception occurs (tracing: skywalking-receiver to zipkin-exporter ) #9786

Closed
forest003 opened this issue May 7, 2022 · 5 comments
Closed

Comments

@forest003
Copy link

Describe the bug
I want to convert skywalking format of tracing to zipkin format, but something is wrong.

What did you expect to see?
I want to convert skywalking format of tracing to zipkin format.

What did you see instead?
2022-05-07T10:17:51.697+0800 error exporterhelper/queued_retry.go:183 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "name": "zipkin", "error": "Permanent error: failed to push trace data via Zipkin exporter: SpanID is invalid", "dropped_items": 1}

What version did you use?
Version: 0.50.0

What config did you use?
Config:
extensions:
health_check:
pprof:
endpoint: 0.0.0.0:1777
zpages:
endpoint: 0.0.0.0:55679

receivers:
otlp:
protocols:
grpc:
http:

opencensus:

Collect own metrics

prometheus:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:8888']

jaeger:
protocols:
grpc:
thrift_binary:
thrift_compact:
thrift_http:

zipkin:

skywalking:
protocols:
grpc:
endpoint: 0.0.0.0:11800
http:
endpoint: 0.0.0.0:12800

processors:
batch:

exporters:
logging:
logLevel: debug

zipkin:
endpoint: "http:https://host:9411/api/v2/spans"
compression: gzip
tls:
insecure: true

otlp:
endpoint: host:4317
tls:
insecure: true

service:

pipelines:

traces:
  receivers: [skywalking]
  processors: [batch]
  exporters: [logging, zipkin ]

Environment
OS: Linux version 3.10.0-862.14.4.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Wed Sep 26 15:12:11 UTC 2018

@forest003 forest003 added the bug Something isn't working label May 7, 2022
@JaredTan95
Copy link
Member

thx, I will check it soon or later.

@forest003
Copy link
Author

Did you reproduce the problem?

thx, I will check it soon or later.

@JaredTan95
Copy link
Member

@forest003 This is caused by skywalking traceid convert to otlp trace id bug. with #11562 fixed. You can try it again.

As latest result as follows:

  • otelcol-configs:
receivers:
  skywalking:
    protocols:
      grpc:
        endpoint: 0.0.0.0:11800
      http:
        endpoint: 0.0.0.0:12800
  skywalking/customname:
    protocols:
      http:
        endpoint: 0.0.0.0:12801

exporters:
  jaeger:
    endpoint: localhost:14250
    tls:
      insecure: true
  zipkin:
    endpoint: "http:https://localhost:9411/api/v2/spans"

processors:
  batch: {}

service:
  pipelines:
    traces:
      receivers: [skywalking]
      processors: [batch]
      exporters: [jaeger,zipkin]
  • jaeger ui shows:

image

  • zipkin ui shows and no exceptions in otelcol:

image

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@github-actions github-actions bot added the Stale label Nov 9, 2022
@github-actions
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants