-
Notifications
You must be signed in to change notification settings - Fork 287
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
Adding a flag to enable/disable collection of SQL Command text #1514
Adding a flag to enable/disable collection of SQL Command text #1514
Conversation
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thank you @stebet for being patient with us while we go through our re-organization. @lmolkova @cijothomas , it looks like you both informally approved this PR back in October. We had some internal questions about supportability, but I don't remember where we landed on this. |
Happy New Year! |
I am OK with the PR (allowing users to control), however disabling SQL commands by default is a breaking change as they are collected by default today. Do we require major version update to do behavior changes? |
I found my comment on the matter in the old PR:
So, if it's a privacy bug that we collect SQL command text by default and a bug was there with the original release, technically the major version update is not required. However, there is a debatable point I came across multiple times in the community that long-standing bugs are "features" and fixing them changes the behavior people learned to expect from the software, so it still requires major version update. We can make major version decision when we learn how serious the privacy aspect is. I email Dave CC'ing us. |
Is collecting SQL commands really a privacy/security issue though? It's up to the users to make sure they aren't putting private stuff in there, and from a security perspective I can't really see how a SQL command text could be considered sensitive. However, from a "opt-in" perspective I'd totally understand it being off by default. Maybe @blowdart has some input into this? |
It can be yes, we prefer it to be disabled by default. People still built SQL command strings, despite the risk of SQL injection. |
@stebet Thank you again for your patience. Everybody on the team wants to merge this. The plan is to take this in 2.14-beta1 (before the end of Feb). That will give us a little over a month to review the impact before releasing it in the 2.14 stable release (ETA early April). |
Will do. |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/AzurePipelines run AI-DotNetSDK-Gated+REORG(Everything) |
Azure Pipelines successfully started running 1 pipeline(s). |
I'm going to close and re-open this PR to reset the build results. |
/AzurePipelines run |
Azure Pipelines successfully started running 4 pipeline(s). |
@stebet My apologies for all the build agent spam. It appears that one of our build machines got stuck and it was failing builds. Anyways... I'm working to get the build results public. Can you please review and let me know if you're able to see the build errors? |
I'll review and make changes if necessary. Might not happen until on Monday though. |
Fixing inconsistent CultureInfo used when conerting double to string and vice versa.
|
/AzurePipelines run |
Commenter does not have sufficient privileges for PR 1514 in repo microsoft/ApplicationInsights-dotnet |
@TimothyMothra Can you kick off the pipeline tests again? |
/AzurePipelines run |
Azure Pipelines successfully started running 4 pipeline(s). |
Weird, I don't see these tests in the project. Will take a closer look tomorrow. |
The Functional Tests are in a different set of projects in the "dotnet\WEB\Test" directory. |
I'm working on those :) will update tomorrow. |
… (they expect it to be enabled).
If @TimothyMothra, @Dmitry-Matveev or @lmolkova could kick off another pipelines build, that'd be great :) Think I have fixed the E2E tests (by enabling SQL Command Text gathering since it's opt-in now). |
/AzurePipelines run |
Azure Pipelines successfully started running 4 pipeline(s). |
Seems like they timed out but still ran successfully? Can't see any obvious failures. |
Yeah, I'm looking at it. Seems like Azure DevOps might be having issues today, it won't let me rerun the failed job. Seeing the same behavior on another build I'm working on. I can re-queue that task, but I want to give them a couple of hours to resolve whatever issues they're having today before I try again. |
/AzurePipelines run AI_WebSDK_FunctionalTests+Reorg2 |
Azure Pipelines successfully started running 1 pipeline(s). |
@TimothyMothra can we rerun the tests or are there still problems when running them? |
Probably needs another forced test run... |
Sorry for the interruption I was prepping the 2.13.0 stable release last Friday. |
/AzurePipelines run |
Azure Pipelines successfully started running 4 pipeline(s). |
@stebet I know this was a long process, but I want to share an emphatic THANK YOU for your patience and willingness to work with us :) |
The pleasure was all mine @TimothyMothra. Completely understand with the repo move and stuff being improved, things can take time. Just happy being able to contribute :) |
Recreating this PR since it wasn't completed before the repo move: microsoft/ApplicationInsights-dotnet-server#1285
Description of original PR