-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(tracing): Add Prisma ORM integration. #4931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
size-limit report 📦
|
@onurtemizkan can you please fix the lint error? |
Disabled the |
955211b
to
fdcad2a
Compare
06b41ed
to
65e9c8c
Compare
9f53c2d
to
fb6d61f
Compare
fb6d61f
to
a92f781
Compare
Co-authored-by: Abhijeet Prasad <[email protected]>
I think we can merge this in, @onurtemizkan mind also making some docs for this? |
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
575d843
Compare
575d843
to
050d8dd
Compare
dc690d0
to
215beaf
Compare
Co-authored-by: Abhijeet Prasad <[email protected]>
Co-authored-by: Abhijeet Prasad <[email protected]>
Co-authored-by: Abhijeet Prasad <[email protected]>
Co-authored-by: Abhijeet Prasad <[email protected]>
Is it possible to add |
Adds Prisma ORM Tracing Integration.
This implementation is not auto-instrumented, as we seem to need the instance of
PrismaClient
supplied to us.Followed a similar approach with -> #3143 (comment) , using Prisma Client Middleware.
Resolves: #3143