newrelic / newrelic-node-examples

Working examples of New Relic Node.js agent features
Apache License 2.0
17 stars 23 forks source link

Example Prisma app has stopped working #110

Closed mrickard closed 5 months ago

mrickard commented 1 year ago

A change to something in the example app has caused it to stop working.

Initially this seemed to be HTTPie, but that's not certain. Database seeding still appears to work, but the express app is unable to detect seeded data.

mrickard commented 1 year ago

Our example works for postgres and sqlite outside of a Docker context, so the problem here appears to be with our Docker provisioning. The postgres images have undergone several changes since the Prisma example was last committed in this repo, and HTTPie has seen a new version recently as well. Reverting to older postgres Docker images, however, does not solve the problem.

Currently Prisma will throw an error that it's unable to create its shadow database for running migrations. It's unknown yet whether or not that's the primary problem, or another side effect stemming from environmental changes.

mrickard commented 1 year ago

Next step: add basic sql file for initdb to create one database for prisma and one for prisma's shadow db.

workato-integration[bot] commented 1 year ago

https://new-relic.atlassian.net/browse/NR-175594