Skip to content
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

SqlClient: Provide db.system when creating activity #1979

Merged
merged 3 commits into from
Apr 14, 2021

Conversation

johnduhart
Copy link
Contributor

Fixes #1971, but only for SqlClient (still needed for Redis).

@johnduhart johnduhart requested a review from a team April 13, 2021 20:49
@johnduhart
Copy link
Contributor Author

Let me know if this warrants a changelog entry, if so I'll add it.

@codecov
Copy link

codecov bot commented Apr 13, 2021

Codecov Report

Merging #1979 (6ebad82) into main (6a7f321) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1979      +/-   ##
==========================================
+ Coverage   83.76%   83.83%   +0.06%     
==========================================
  Files         192      192              
  Lines        6165     6172       +7     
==========================================
+ Hits         5164     5174      +10     
+ Misses       1001      998       -3     
Impacted Files Coverage Δ
...qlClient/Implementation/SqlActivitySourceHelper.cs 100.00% <100.00%> (ø)
...ient/Implementation/SqlClientDiagnosticListener.cs 83.09% <100.00%> (+5.15%) ⬆️
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 79.41% <0.00%> (-2.95%) ⬇️
src/OpenTelemetry/Trace/SamplingParameters.cs 76.92% <0.00%> (+7.69%) ⬆️

@cijothomas
Copy link
Member

Let me know if this warrants a changelog entry, if so I'll add it.

Yes please as this is an improvement which may be leveraged by end users.

Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide db.system attribute when activity is created for use with sampling
3 participants