opentelemetry-js/examples/esm-http-ts
Marc Pichler f665499096
chore: prepare release 1.18.1/0.45.1 (#4261)
2023-11-08 18:51:43 +01:00
..
README.md feat: ESM support for instrumentation (#3698) 2023-05-15 10:30:52 +02:00
index.ts feat: ESM support for instrumentation (#3698) 2023-05-15 10:30:52 +02:00
package.json chore: prepare release 1.18.1/0.45.1 (#4261) 2023-11-08 18:51:43 +01:00
tsconfig.json Revert tslib #3914 (#4011) 2023-07-21 09:41:09 -04:00

README.md

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