You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
I have the following sql query in my project:
"select location from test where name = @name", and then I can see this query is logged in the application insights.
But I wonder if it's possible to record the value of the parameter "@name" in the query in application insights? like if the "@name"'s value is "jack", then in the application insights, it's logged this query as "select location from test where name = jack".
The text was updated successfully, but these errors were encountered:
@imeya, Application Insights SDK does not collect SQL parameters by default (as per my understanding, it's done to decrease chances of collecting PII in the telemetry by default).
If you have a way to retrieve the values you'd like to put into Dependency Telemetry on your own - then you can set them in Telemetry Initializer on the outgoing telemetry item.
I have the following sql query in my project:
"select location from test where name = @name", and then I can see this query is logged in the application insights.
But I wonder if it's possible to record the value of the parameter "@name" in the query in application insights? like if the "@name"'s value is "jack", then in the application insights, it's logged this query as "select location from test where name = jack".
The text was updated successfully, but these errors were encountered: