This is a demo of an app being instrumented using AppOptics/SolarWinds-APM custom instrumentation in a non-intrusive manner.
- Build a container (AppOptics is Linux only):
docker build . -t appoptics-custom
- Run and open shell:
docker docker run -it --name appoptics --env APPOPTICS_SERVICE_KEY={valid_service_key} appoptics-custom sh
- to run the non-http trace demo
npm run appoptics:non
- to run the http trace demo:
npm run appoptics:server
- open another shell:
docker exec -it appoptics sh
- in the other shell:
curl -i localhost:3000/
- Cleanup:
docker container rm appoptics