-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add set_sql_body helper #140
Labels
Comments
tombruijn
added a commit
that referenced
this issue
Oct 20, 2023
Make it easier to set SQL queries as the span body attribute without danger of storing unsanitized SQL queries. When `set_sql_body` is used in combination with `set_body`, the `set_sql_body` call is leading. Part of #140
tombruijn
added a commit
to appsignal/appsignal-nodejs
that referenced
this issue
Nov 2, 2023
Make it easier to set SQL queries as the span body attribute without danger of storing unsanitized SQL queries. When `setSqlBody` is used in combination with `setBody`, the `setSqlBody` call is leading. Related to appsignal/appsignal-python#140 This change was made available in the agent in PR #955
tombruijn
added a commit
to appsignal/appsignal-nodejs
that referenced
this issue
Nov 2, 2023
Make it easier to set SQL queries as the span body attribute without danger of storing unsanitized SQL queries. When `setSqlBody` is used in combination with `setBody`, the `setSqlBody` call is leading. Related to appsignal/appsignal-python#140 This change was made available in the agent in PR #955 Part of #956
tombruijn
added a commit
to appsignal/appsignal-nodejs
that referenced
this issue
Nov 2, 2023
Make it easier to set SQL queries as the span body attribute without danger of storing unsanitized SQL queries. When `setSqlBody` is used in combination with `setBody`, the `setSqlBody` call is leading. Related to appsignal/appsignal-python#140 This change was made available in the agent in PR #955 Part of #956
tombruijn
added a commit
to appsignal/appsignal-nodejs
that referenced
this issue
Nov 3, 2023
Make it easier to set SQL queries as the span body attribute without danger of storing unsanitized SQL queries. When `setSqlBody` is used in combination with `setBody`, the `setSqlBody` call is leading. Related to appsignal/appsignal-python#140 This change was made available in the agent in PR #955 Part of #956
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a helper that sets a magic attribute that contains a SQL query. It will then be auto sanitized by the agent.
To do
appsignal.sql_body
to agentset_sql_body
to packageset_sql_body
helper on custom instrumentation pageappsignal.sql_body
attribute on OpenTelemetry attributes pageThe text was updated successfully, but these errors were encountered: