Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seemk/splunk-otel-webpack-example
https://github.com/seemk/splunk-otel-webpack-example
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/seemk/splunk-otel-webpack-example
- Owner: seemk
- Created: 2023-05-31T12:12:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-31T12:21:46.000Z (over 1 year ago)
- Last Synced: 2024-10-30T09:31:19.448Z (about 2 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.