opentelemetry-js/examples/esm-http-ts/README.md

635 B

Overview

This is a simple example that demonstrates tracing HTTP request, with an app written in TypeScript and transpiled to ES Modules.

Installation

# from this directory
npm install
npm run build
npm start

In a separate terminal, curl localhost:3000.

See two spans in the console (one manual, one for http instrumentation)

LICENSE

Apache License 2.0