Removing the SQL command text from the dependency name for Framework #1723
Merged
TimothyMothra merged 5 commits intomicrosoft:developfrom Mar 27, 2020
Merged
Conversation
added 2 commits
March 10, 2020 13:41
…SQL processing to reduce event bloat.
Contributor
Author
Contributor
Author
|
Is this something that can be looked at @TimothyMothra? Don't know if I'm supposed to add a reviewer or if that's all on your end :) |
|
Hi @stebet ! |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@cijothomas I'm okay with this change. I just wanted to double-check with you... do you know if anything was dependent on this behavior? |
cijothomas
approved these changes
Mar 27, 2020
Contributor
|
Thanks. The full sql text was supposed to be part of .Data only . Thanks for fixing this. |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Removing the SQL command text from the dependency name for Framework processing to reduce event bloat.
Changes
When using the Microsoft.Data.SqlClient NuGet package for SQL statements, which now provides the SQL Command Text, the SQL dependency telemetry are all bloated with the SQL Command text for ad-hoc queries when running under .NET Framework.
For comparison, the .NET Core SQL dependency collector does not use the command text in the dependency name, and just relies on the
Dataproperty to provide that information, so this should bring more parity between .NET Framework and .NET Core SQL dependencies, and reduce the amount of data sent when running under the .NET Framework and executing ad-hoc statements (like when using Entity Framework).Checklist