-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Exporting to Zipkin doesn't work #441
Comments
Hi, @DanBoSlice , did you add
|
@huikang Thanks for the response. I just checked and Zipkin is included in the pipeline exporters. In fact, I used this demo config file and only adjusted the Zipkin URL and set logging to debug. |
Hi @DanBoSlice could you please share the config file that you are using? There was a bug (fixed yesterday) that was preventing the queued_retry processor of logging error messages, but I'm not sure if you were using it in your config (we recommend to use it as your retry mechanism). |
Hi @pjanotti, I attached my config file (as a txt because Github does not allow yaml files as attachments): |
Your file seems copied from the collector's config under example folder. One notice I noticed is that you did not specify |
@huikang thanks, you're right. I just added it back into my config file. However the traces still don't show up in Zipkin. Strangely enough, it seems like the trace is being exported:
|
@DanBoSlice were you able to get this working? |
Hi, I actually haven't put any work into the project for the last few weeks. In my old configuration I was able to fix the request so that there were no warnings shown. Still I got no result in zipkin (despite the log message telling that the spans were exported). So unfortunately I still have the problem. Hopefully this input helps. |
It should be based on the data model here (also includes an example): https://zipkin.io/pages/data_model.html. Beyond that, translation information can be found here: https://github.com/open-telemetry/opentelemetry-collector/tree/master/translator/trace/zipkin |
Closing as there is no further information. Feel free to reopen if the bug still exists. |
… append (open-telemetry#441) Co-authored-by: Rahul Patel <[email protected]>
…y#441) Bumps [boto3](https://github.com/boto/boto3) from 1.17.84 to 1.17.85. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.17.84...1.17.85) --- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I started the collector with Zipkin configured as an exporter (Zipkin is already running):
The log shows:
{"level":"info","ts":1575044337.1697915,"caller":"builder/exporters_builder.go:79","msg":"Exporter is starting...","exporter":"zipkin"}
{"level":"info","ts":1575044337.169811,"caller":"builder/exporters_builder.go:84","msg":"Exporter started.","exporter":"zipkin"}
Now I use Postman (for testing purposes) to send a trace to the OT Collector (Endpoint http://localhost:55678/v1/trace). The log shows:
{"level":"info","ts":1575044727.188551,"caller":"loggingexporter/logging_exporter.go:36","msg":"TraceExporter","type":"logging","name":"logging","#spans":1}
If Zipkin isn't running when I am sending traces to the collector the log correctly reports that as well:
{"level":"info","ts":1575044662.5672855,"caller":"loggingexporter/logging_exporter.go:36","msg":"TraceExporter","type":"logging","name":"logging","#spans":1}
2019/11/29 17:24:23 failed to send the request: Post http://localhost:9411/api/v2/spans: dial tcp 127.0.0.1:9411: connect: connection refused
However, even with Zipkin running and no error being logged in the OT collector I don't see any traces in the Zipkin UI, even after waiting for 30 minutes.
Am I missing something?
The text was updated successfully, but these errors were encountered: