Commit 88078a0
authored
feat(core,cloudflare,deno): Add instrumentPostgresJsSql instrumentation (#19566)
This PR extracts parts from `@sentry/node`'s `PostgresJsInstrumentation`
to `@sentry/core` and exposes it as a callable `instrumentPostgresJsSql`
helper that can be used in SDKs that aren't based on OpenTelemetry.
It is currently exposed in `@sentry/cloudflare` and `@sentry/deno` as
these two SDKs are not based on OpenTelemetry under the hood.
`@sentry/node` imports and reuses as much as possible from it.
Closes #19567 (added automatically)1 parent 43be7b0 commit 88078a0
File tree
7 files changed
+1090
-313
lines changed- packages
- cloudflare/src
- core
- src
- integrations
- test/lib/integrations
- deno/src
- node/src/integrations/tracing
7 files changed
+1090
-313
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
9 | 32 | | |
10 | 33 | | |
11 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments