You are viewing a previous version of KrakenD Community Edition (v1.4), go to the
latest version
Document updated on Sep 15, 2019
Exporting traces to Zipkin
Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in service architectures.
The Opencensus exporter allows you export data to Zipkin. Enabling it only requires you to add the zipkin
exporter in the opencensus module.
The following configuration snippet sends data to your Zipkin:
"github_com/devopsfaith/krakend-opencensus": {
"exporters": {
"zipkin": {
"collector_url": "http://192.168.99.100:9411/api/v2/spans",
"service_name": "krakend"
},
}
}
collector_url
is the URL (including port and path) where your Zipkin is accepting the spansservice_name
the service name registered in Zipkin
See also the additional settings of the Opencensus module that can be declared.