This is an example of an instrumented Prisma app, originally based on code from https://github.com/prisma/prisma-examples/tree/latest/javascript/rest-express
Get it running:
- Copy sample.env to .env
- Edit .env to add your New Relic ingest key, and any other desired changes.
- Start with
docker compose up -d
. - Use script on container to make requests to application:
docker exec -i prisma-app-app-1 bash -c './make-requests.sh'
- Stop the app with
docker compose down
.