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

Update Zipkin OpenTracing driver to latest 0.4.3 release #5283

Merged
merged 7 commits into from Sep 3, 2019
Merged

Update Zipkin OpenTracing driver to latest 0.4.3 release #5283

merged 7 commits into from Sep 3, 2019

Conversation

basvanbeek
Copy link
Contributor

@basvanbeek basvanbeek commented Sep 2, 2019

What does this PR do?

This PR changes the Zipkin dependency to use the latest Zipkin Go OpenTracing Bridge which builds on the native Zipkin Go tracer instead of the now deprecated zipkin-go-opentracing implementation.

Motivation

Zipkin has moved away from the old V1 data model to the new V2 data model allowing for improved efficiency, faster encoding and smaller transmit payloads. Up to release 0.4.0 the zipkin-go-opentracing package held its own internal implementation which was purely V1 based. The latest release of zipkin-go-opentracing uses the native Zipkin Go tracer which uses the V2 datamodel and provides the bridge to the OpenTracing API.

The change from v0.3.5 to v0.4.3 holds a breaking change in the bootstrap code of the tracer. This PR fixes that by bootstrapping the native Zipkin Go tracer and wrapping it with the OpenTracing Bridge.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

This PR unlocks the ability to add more configuration options for Zipkin to Traefik in a later stage. It is possible to select different styles of samplers as well as adding additional reporting transports (kafka, protobuf over json, grpc).

Fixes #5260

@mmatur mmatur changed the base branch from master to v2.0 September 3, 2019 08:09
@mmatur mmatur added this to the 2.0 milestone Sep 3, 2019
@mmatur mmatur added this to To review in v2 via automation Sep 3, 2019
@mmatur mmatur self-requested a review September 3, 2019 08:09
@mmatur mmatur self-assigned this Sep 3, 2019
@ldez ldez removed the bot/no-merge label Sep 3, 2019
Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Copy link
Member

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit cb7c5a8 into traefik:v2.0 Sep 3, 2019
v2 automation moved this from To review to Done Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v2
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants