Adds support for zipkin v2 #5260
Labels
area/middleware/tracing
kind/enhancement
a new or improved feature.
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Projects
Milestone
Do you want to request a feature or report a bug?
Feature
What did you expect to see?
Currently Traefik only supports zipkin v1 by using zipkin-go-opentracing v0.3.x. This is because it uses the old version of
zipkin-go-opentracing
which only supported v1 reporting. Version 0.4.2 of zipkin-go-opentracing uses zipkin v2 format which is smaller and the default reporting format (read this to understand how v2 is better than v1).We have two options here:
:host/api/v1/spans
into:host/api/v2/spans
. Feels like a breaking change but there is nothing else users will need to do.go modules
support that. This will require for us to find a way in configuration to determine if v1 or v2, it can be another parameter but then it feels odd as thehttpEndpoint
is different depending onv1
orv2
.Personally I would go for 1 but I would like to hear other's opinion. I am happy to come up with a PR for this.
Ping @adriancole @basvanbeek
The text was updated successfully, but these errors were encountered: