Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Add ZipkinReporter#5

Merged
chingor13 merged 8 commits intomasterfrom
zipkin-reporter
Aug 10, 2017
Merged

Add ZipkinReporter#5
chingor13 merged 8 commits intomasterfrom
zipkin-reporter

Conversation

@chingor13
Copy link
Member

@chingor13 chingor13 commented Aug 10, 2017

This PR adds a ZipkinReporter which using built-in http streaming capabilities to report to a Zipkin (HTTP API)[http://zipkin.io/zipkin-api/#/paths/%252Fspans]. The reporter adapts the collected TraceSpans into the span format for Zipkin.

This was tested against a local Zipkin instance running in docker.

@chingor13 chingor13 changed the title [WIP] Add ZipkinReporter Add ZipkinReporter Aug 10, 2017
@chingor13 chingor13 requested a review from tmatsuo August 10, 2017 21:56
use Prophecy\Argument;

/**
* @group trace
Copy link
Contributor

Choose a reason for hiding this comment

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

Is @group trace still relevant?

Copy link
Member Author

Choose a reason for hiding this comment

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

For now, they are all in the trace group. OpenCensus does eventually plan to have other metrics and stats reporting in the future.

Copy link
Contributor

Choose a reason for hiding this comment

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

LG

@chingor13 chingor13 merged commit b3bdec8 into master Aug 10, 2017
@chingor13 chingor13 deleted the zipkin-reporter branch August 10, 2017 22:57
@codefromthecrypt
Copy link

Great stuff and thanks! PS if it makes it any easier, very latest zipkin supports a simpler json format. I know that probably for existing sites you may need to retain the v1 format until folks upgrade.

openzipkin/zipkin-api#33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants