Mask database server name and add user name

Anonymous
2023-03-19T23:50:15.8833333+00:00

I am trying to migrate app insights from 2.x to 3.x for our java application. With 2.x we managed to mask the database server and added user name to each request by implementing TelemetryInitializer. Since TelemetryInitializer is not supported with 3.x what is the best way to achieve this?

With basic integration following properties are recorded. We need to mask the highlighted database name and add logged in user name as customer property in the same area. Can someone advice on this matter?

database-name-mask-and-add-user

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.