Add set_sql_body helper
tombruijn opened this issue · 0 comments
tombruijn commented
Add a helper that sets a magic attribute that contains a SQL query. It will then be auto sanitized by the agent.
To do
- Add magic attribute
appsignal.sql_body
to agent - Run the attribute value through the sql_lexer
- Add Python helper
set_sql_body
to package - Document
set_sql_body
helper on custom instrumentation page - Document
appsignal.sql_body
attribute on OpenTelemetry attributes page