Skip to content

jecnua/tracing-nodejs

Repository files navigation

Tracing with Jaeger in nodejs express

Build Status

ubuntu-1804 node.js framework jaeger

This repo contains a simple test of jaeger tracing with a nodejs express application.

Personal notes

Scope

I am trying to test Jaeger tracing with node.js automatic instrumentation of the express framework. I successfully attached the tracing to express and calls to paths are traced correctly.

The next step will be to try and see how to create span and attach them to existing traces coming from other services.

Demo

Run:

make
./run_locally.sh

Check traces at: http://localhost:16686/ or prometheus at http://localhost:9090/graph?g0.range_input=1h&g0.expr=jaeger_collector_spans_received_total&g0.tab=0

Clean everything with:

./clean.sh

Test

To run dgoss test locally:

make
./test_locally.sh

Resources

TODO

  • Fix jsonnet
  • Run in in k8s
  • Change all the docker for mac references