Part of #5420. Phase 2 — consumer migration.
Migrate Sentry.Extensions.AI to GenAI.Inputs / GenAI.Outputs:
- Fold
SentryAIOptions.RecordInputs / RecordOutputs (src/Sentry.Extensions.AI/SentryAIOptions.cs:32,38) into the resolved layer — integration-level options take precedence over global DataCollection when explicitly set.
SentryAISpanEnricher.cs:30-36 (request messages), :126-143 (response text, tool calls) — read the resolved values.
- Fix ungated capture:
SentryInstrumentedFunction.cs:55 (gen_ai.tool.input) and :22 (gen_ai.tool.output) currently bypass RecordInputs/RecordOutputs entirely.
JS references: getsentry/sentry-javascript#21247, #21287 (AI utils / genAI spans / MCP migrations).
Part of #5420. Phase 2 — consumer migration.
Migrate
Sentry.Extensions.AItoGenAI.Inputs/GenAI.Outputs:SentryAIOptions.RecordInputs/RecordOutputs(src/Sentry.Extensions.AI/SentryAIOptions.cs:32,38) into the resolved layer — integration-level options take precedence over globalDataCollectionwhen explicitly set.SentryAISpanEnricher.cs:30-36(request messages),:126-143(response text, tool calls) — read the resolved values.SentryInstrumentedFunction.cs:55(gen_ai.tool.input) and:22(gen_ai.tool.output) currently bypassRecordInputs/RecordOutputsentirely.JS references: getsentry/sentry-javascript#21247, #21287 (AI utils / genAI spans / MCP migrations).