opentelemetry-js/examples/collector-exporter-node
Daniel Dyla 65b5ba2d04
chore: 0.8.3 release proposal (#1122)
2020-05-28 16:13:08 -04:00
..
docker chore: adding example for collector-exporter for node with opent… (#958) 2020-04-13 18:03:50 -07:00
images chore: adding example for collector-exporter for node with opent… (#958) 2020-04-13 18:03:50 -07:00
README.md chore: adding example for collector-exporter for node with opent… (#958) 2020-04-13 18:03:50 -07:00
package.json chore: 0.8.3 release proposal (#1122) 2020-05-28 16:13:08 -04:00
start.js chore: adding example for collector-exporter for node with opent… (#958) 2020-04-13 18:03:50 -07:00

README.md

Overview

This example shows how to use @opentelemetry/exporter-collector to instrument a simple Node.js application.

This example will export spans data simultaneously using Exporter Collector and grpc. It will use proto format.

Installation

$ # from this directory
$ npm install

Run the Application

  1. Run docker
$ # from this directory
$ npm run docker:start
  1. Run app
$ # from this directory
$ npm start
  1. Open page at http://localhost:9411/zipkin/ - you should be able to see the spans in zipkin Screenshot of the running example

LICENSE

Apache License 2.0