Skip to content

ivamuno/nodejs-opentelemetry

Repository files navigation

nodejs-opentelemetry

Steps

  1. install node.
  2. npm i -g @nestjs/cli
  3. Run npm i within nodejs-opentelemetry-master and nodejs-opentelemetry-slave.
  4. docker network create payvision
  5. Check "file sharing" is enabled in docker. "Settings" -> "Resources" -> "File Sharing" -> Add "C:".
  6. Run docker-compose up. It starts the following components:
    • nodejs-opentelemetry-master: Entry point (GET http://localhost:3000)
    • nodejs-opentelemetry-slave: Intermediary api.
    • otel-collector: Proxy to receive data from OpenTelemetry, and then, export to target system (zipkin and elastic).
    • zipkin: Local instance.
    • jaeger: Local instance.
    • apm-server: Local instance.
  7. When Compose finishes, navigate to apm-tutorial. Complete steps 4-6 to configure your application to collect and report APM data. More details.
  8. GET http://localhost:3000 to run a request.
  9. Open http://localhost:9411 to check traces on zipkin.

image

  1. Open http://localhost:5601/app/apm to check trace on elastic.

image

  1. Open http://localhost:16686/search to check trace on jaeger.

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published