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

Variant for use in browsers #1

Open
codefromthecrypt opened this issue May 19, 2016 · 2 comments
Open

Variant for use in browsers #1

codefromthecrypt opened this issue May 19, 2016 · 2 comments

Comments

@codefromthecrypt
Copy link
Member

From @virusdave

I want to get a whole-system tracing tree that is rooted in a client's action on a web page. While there is a zipkin-js project, this appears to be a server-side node.js library. Is there a canonical client-side JS library that one would use to do things like 'start a new trace', 'annotate trace with browser info', 'send trace data to a specific collector', etc?

@eirslett
Copy link
Contributor

I think we should be able to refactor the code base a little bit, so you can pass in a context API as a constructor argument instead of hard-coding to CLS. That would make it more universal. We could e.g. use AngularJS Zones for the browser part.

We need to build a zipkin-transport-http first, since I think http is the only viable option for sending trace data from the browser.

There are also some other problems, like how to protect zipkin-server from potentially malicious requests, if it's exposed to the wide Internet?

@codefromthecrypt
Copy link
Member Author

There are also some other problems, like how to protect zipkin-server from
potentially malicious requests, if it's exposed to the wide Internet?

good point in general, though it isn't necessarily something we need to
address at the same time since there's a use case for tracing internal or
otherwise vpn'd apps. wanna open an issue in zipkin-java? we can start
collecting practice.

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