Uh oh!
There was an error while loading. Please reload this page.
feat(tracing): Add Prisma ORM integration. - #4931
Conversation
size-limit report 📦
|
vladanpaunovic
commented
Apr 13, 2022
@onurtemizkan can you please fix the lint error? |
onurtemizkan
commented
Apr 13, 2022
Disabled the |
955211b to
fdcad2aCompare06b41ed to
65e9c8cCompare9f53c2d to
fb6d61fComparefb6d61f to
a92f781CompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
AbhiPrasad
commented
Apr 19, 2022
I think we can merge this in, @onurtemizkan mind also making some docs for this? |
onurtemizkan
commented
Apr 19, 2022
@AbhiPrasad, Sure 👍 |
| NODE_MAJOR=$(node -v | cut -c2- | cut -d. -f1) | ||
| if [ "$NODE_MAJOR" -lt "12" ]; then | ||
| echo "Skipping Prisma tests on Node: $NODE_MAJOR" |
There was a problem hiding this comment.
I think going forward we would like everything to be node scripts. Can we convert this to a TS script (we have ts-node in the repo)?
| @@ -0,0 +1,22 @@ | |||
| { | |||
| "name": "sentry-prisma-test", | |||
There was a problem hiding this comment.
let's move this out into another PR so we can discuss the integration test separately? In the mean time, we can add sanity check unit tests to this PR (similar to what we have for mongo for ex.)
5258b74 to
575d843Compare575d843 to
050d8ddComparedc690d0 to
215beafCompareCo-authored-by: Abhijeet Prasad <aprasad@sentry.io>
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
Noitidart
commented
Jul 1, 2022
Is it possible to add |
Adds Prisma ORM Tracing Integration.
This implementation is not auto-instrumented, as we seem to need the instance of
PrismaClientsupplied to us.Followed a similar approach with -> #3143 (comment) , using Prisma Client Middleware.
Resolves: #3143