File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/node/src/integrations/tracing/vercelai Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,19 +73,19 @@ export class SentryVercelAiInstrumentation extends InstrumentationBase {
73
73
const isEnabled = existingExperimentalTelemetry . isEnabled ;
74
74
75
75
const client = getCurrentScope ( ) . getClient ( ) ;
76
- const shouldRecordImportAndExports = client ?. getIntegrationByName ( INTEGRATION_NAME )
76
+ const shouldRecordInputsAndOutputs = client ?. getIntegrationByName ( INTEGRATION_NAME )
77
77
? client . getOptions ( ) . sendDefaultPii
78
78
: false ;
79
79
80
80
// Set recordInputs and recordOutputs based on sendDefaultPii if not explicitly set
81
81
const recordInputs =
82
82
existingExperimentalTelemetry . recordInputs !== undefined
83
83
? existingExperimentalTelemetry . recordInputs
84
- : shouldRecordImportAndExports ;
84
+ : shouldRecordInputsAndOutputs ;
85
85
const recordOutputs =
86
86
existingExperimentalTelemetry . recordOutputs !== undefined
87
87
? existingExperimentalTelemetry . recordOutputs
88
- : shouldRecordImportAndExports ;
88
+ : shouldRecordInputsAndOutputs ;
89
89
90
90
args [ 0 ] . experimental_telemetry = {
91
91
...existingExperimentalTelemetry ,
You can’t perform that action at this time.
0 commit comments