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 {
6363 }
6464
6565 /**
66- *
66+ * Patches the reject method of the Query class to set the span status
6767 */
6868 private _patchReject ( rejectTarget : any , span : Span ) : any {
6969 return new Proxy ( rejectTarget , {
@@ -112,7 +112,7 @@ export class PostgresJsInstrumentation extends InstrumentationBase {
112112 }
113113
114114 /**
115- *
115+ * Patches the Query class to instrument the handle method.
116116 */
117117 private _patchQuery ( moduleExports : {
118118 Query : {
@@ -182,7 +182,8 @@ export class PostgresJsInstrumentation extends InstrumentationBase {
182182 }
183183
184184 /**
185- *
185+ * Patches the Connection class to set the database, host, and port attributes
186+ * when a new connection is created.
186187 */
187188 private _patchConnection ( Connection : any ) : any {
188189 return new Proxy ( Connection , {
You can’t perform that action at this time.
0 commit comments