Sending trace information from a client side app

137 views
Skip to first unread message

Hechen Gao

unread,
Mar 1, 2018, 7:17:12 PM3/1/18
to Jaeger Tracing
Hi jaeger community,

I have a client side nodejs application that talks to server. I have finished instrumentation of all the server side in go, and it's working properly.
Now I want to instrument the client side app with jaeger nodejs client. Here are my questions:
* Considering the client side app is distributed to end user, how do I set my up jaeger-agent and jaeger-collector to accept the traces from client side?
* How to configure the node client to talk to an agent or collector in nodejs? I cannot find the configuration in jaeger-node-client readme.

Best regards

Yuri Shkuro

unread,
Mar 1, 2018, 11:37:34 PM3/1/18
to Hechen Gao, Jaeger Tracing

--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracing+unsubscribe@googlegroups.com.
To post to this group, send email to jaeger-tracing@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaeger-tracing/8729c0c2-0f4c-4d0c-ad4c-dd945e1b264c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Farro

unread,
Mar 1, 2018, 11:48:40 PM3/1/18
to Yuri Shkuro, Hechen Gao, Jaeger Tracing
I think the OP is specific to Node.js, not the browser.

Looks like the agent can be configured via config.report.agentHost and config.reporter.agentPort:


Yuri or Won, can you confirm?

Thanks,
Joe

On Thu, Mar 1, 2018 at 11:37 PM, Yuri Shkuro <shk...@gmail.com> wrote:
On Thu, Mar 1, 2018 at 7:17 PM, Hechen Gao <zere...@gmail.com> wrote:
Hi jaeger community,

I have a client side nodejs application that talks to server. I have finished instrumentation of all the server side in go, and it's working properly.
Now I want to instrument the client side app with jaeger nodejs client. Here are my questions:
* Considering the client side app is distributed to end user, how do I set my up jaeger-agent and jaeger-collector to accept the traces from client side?
* How to configure the node client to talk to an agent or collector in nodejs? I cannot find the configuration in jaeger-node-client readme.

Best regards

--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracing+unsubscribe@googlegroups.com.
To post to this group, send email to jaeger-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracing+unsubscribe@googlegroups.com.
To post to this group, send email to jaeger-tracing@googlegroups.com.

Hechen Gao

unread,
Mar 8, 2018, 6:57:35 PM3/8/18
to Jaeger Tracing
Hi Joe and Yuri,

The use case I am having is indeed to send traces from the browser.
Based on the JIRA issue Yuri posted earlier, looks like we can use zipkin-js for now. But does that mean I need to change the downstream tracing client to zipkin as well, or does the jaeger golang client can generate compatible headers?
Also, I know this is probably very specific to me, but it will be awesome if the js client can be compatible with TypeScript.

Best regards,
Hechen Gao


On Thursday, March 1, 2018 at 8:48:40 PM UTC-8, Joe Farro wrote:
I think the OP is specific to Node.js, not the browser.

Looks like the agent can be configured via config.report.agentHost and config.reporter.agentPort:


Yuri or Won, can you confirm?

Thanks,
Joe
On Thu, Mar 1, 2018 at 11:37 PM, Yuri Shkuro <shk...@gmail.com> wrote:
On Thu, Mar 1, 2018 at 7:17 PM, Hechen Gao <zere...@gmail.com> wrote:
Hi jaeger community,

I have a client side nodejs application that talks to server. I have finished instrumentation of all the server side in go, and it's working properly.
Now I want to instrument the client side app with jaeger nodejs client. Here are my questions:
* Considering the client side app is distributed to end user, how do I set my up jaeger-agent and jaeger-collector to accept the traces from client side?
* How to configure the node client to talk to an agent or collector in nodejs? I cannot find the configuration in jaeger-node-client readme.

Best regards

--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracin...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracin...@googlegroups.com.

To post to this group, send email to jaeger-...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages