develop
develop copied to clipboard
Document how to write a SQL integration
SQL integrations such as Entity Framework, Core Data or Room create breadcrumbs and spans (for performance monitoring). The operations involved in such integration are documented: https://develop.sentry.dev/sdk/performance/span-operations/#database
The docs should mention:
- The query shouldn't include the value of parameters because those could include PII
- If a query can't be created with the parameter names, use
?as a value instead (what was done on Room) - Optionally add the parameter name and value to
dataifsendDefaultPiiis true.