Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seemk/splunk-otel-webpack-example


https://github.com/seemk/splunk-otel-webpack-example

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

## Running

```
npm install
npm run build
cd docker
docker compose -f otel.yml up
```

```
OTEL_SERVICE_NAME=myservice node -r @splunk/otel/instrument dist/main.js
```

Make a request to `localhost:3000`, then visit `localhost:9411` to see the trace. Both redis and mongodb should be contained
in the trace.