e.g. using docker:
sudo docker run -d -p 9411:9411 openzipkin/zipkin
curl --url http://localhost:8001/plugins/ -d name=zipkin -d config.http_endpoint=http://127.0.0.1:9411/api/v2/spans
See many more details of using this plugin at https://docs.konghq.com/plugins/zipkin/
The Zipkin plugin is derived from an OpenTracing base.
A tracer is created with the "http_headers" formatter set to use the headers described in b3-propagation
kong.request: encompasing the whole request in kong. All other spans are children of this.kong.rewrite: encompassing the kong rewrite phasekong.proxy: encompassing kong's time as a proxykong.access: encompassing the kong access phasekong.balancer: each balancer phase will have it's own spankong.header_filter: encompassing the kong header filter phasekong.body_filter: encompassing the kong body filter phase
"Standard" tags are documented here Of those, this plugin currently uses:
span.kind(sent to Zipkin as "kind")http.methodhttp.status_codehttp.urlpeer.ipv4peer.ipv6peer.portpeer.hostnamepeer.service
In addition to the above standardised tags, this plugin also adds:
kong.api(deprecated)kong.consumerkong.credentialkong.node.idkong.routekong.servicekong.balancer.trykong.balancer.state: see here for possible valueskong.balancer.code