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

Create a Tracer wrapper that provides support for the APIs #5

Closed
objectiser opened this issue Jul 4, 2017 · 1 comment
Closed

Create a Tracer wrapper that provides support for the APIs #5

objectiser opened this issue Jul 4, 2017 · 1 comment

Comments

@objectiser
Copy link
Contributor

objectiser commented Jul 4, 2017

Although some Tracer implementations may wish to natively support the observer and filter APIs, it would be useful to provide a Tracer wrapper that handles the management of these APIs in a tracer provider independent way. As discussed here: #3 (comment)

@sjoerdtalsma
Copy link

I think it might be useful to explicitly define (and document) the extension API methods in an interface rather than merely defining a wrapper impl.

That way API extension-support by native tracers can avoid wrapping altogether merely by checking for 'instanceof ' the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants