develop icon indicating copy to clipboard operation
develop copied to clipboard

Document how to write a SQL integration

Open bruno-garcia opened this issue 3 years ago • 0 comments

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 data if sendDefaultPii is true.

bruno-garcia avatar Jul 20 '22 21:07 bruno-garcia