-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unify trace and metric exporter helpers #944
Unify trace and metric exporter helpers #944
Conversation
@MrAlias thanks for the feedback, I implemented the suggested changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A zipkin binary file was included in 623f125
This will need to be purged from the git history before this can merge.
Other than the binary purge, this is looking good and should be approved afterwards. Great job 👍 |
- wait for the spans to be exported - rebuild the example
0b26f9e
to
e0b7e3c
Compare
Sorry about that, removed the binary, hopefully now all is good 👍 |
Brings consistency to helper methods of trace and metric exporters (Prometheus, Jaeger, Zipkin). Each of these now has 3 helper methods with the same purpose:
NewRawExporter
- method to return exporter only, with default or passed optionsNewExportPipeline
- method which creates a new exporter and uses it to return a provider with recommended configurationInstallNewPipeline
- same asNewExportPipeline
, but it directly registers provider as globalSpecifically the changeset includes:
InstallNewPipeline
and removedRegisterGlobal
option insteadNew tests, example updates and minor improvements (e.g. added documentation) are included here as well.
Related Issues:
Resolves #800