File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/node/src/integrations/tracing Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class PostgresJsInstrumentation extends InstrumentationBase {
63
63
}
64
64
65
65
/**
66
- *
66
+ * Patches the reject method of the Query class to set the span status
67
67
*/
68
68
private _patchReject ( rejectTarget : any , span : Span ) : any {
69
69
return new Proxy ( rejectTarget , {
@@ -112,7 +112,7 @@ export class PostgresJsInstrumentation extends InstrumentationBase {
112
112
}
113
113
114
114
/**
115
- *
115
+ * Patches the Query class to instrument the handle method.
116
116
*/
117
117
private _patchQuery ( moduleExports : {
118
118
Query : {
@@ -182,7 +182,8 @@ export class PostgresJsInstrumentation extends InstrumentationBase {
182
182
}
183
183
184
184
/**
185
- *
185
+ * Patches the Connection class to set the database, host, and port attributes
186
+ * when a new connection is created.
186
187
*/
187
188
private _patchConnection ( Connection : any ) : any {
188
189
return new Proxy ( Connection , {
You can’t perform that action at this time.
0 commit comments