-
Notifications
You must be signed in to change notification settings - Fork 182
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
Add .NET network + HTTP connection spans #1192
Open
lmolkova
wants to merge
16
commits into
open-telemetry:main
Choose a base branch
from
lmolkova:dotnet-http-connection-spans
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add .NET network + HTTP connection spans #1192
lmolkova
wants to merge
16
commits into
open-telemetry:main
from
lmolkova:dotnet-http-connection-spans
+582
−6
Conversation
This file contains 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
lmolkova
commented
Jun 27, 2024
antonfirsov
reviewed
Jun 28, 2024
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
July 3, 2024 00:59
7d7c232
to
9a4ba14
Compare
antonfirsov
reviewed
Jul 5, 2024
antonfirsov
reviewed
Jul 5, 2024
antonfirsov
reviewed
Jul 5, 2024
antonfirsov
reviewed
Jul 5, 2024
antonfirsov
reviewed
Jul 5, 2024
antonfirsov
reviewed
Jul 5, 2024
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
July 6, 2024 03:51
9a4ba14
to
eb80b71
Compare
antonfirsov
reviewed
Jul 6, 2024
antonfirsov
reviewed
Jul 6, 2024
antonfirsov
reviewed
Jul 6, 2024
antonfirsov
reviewed
Jul 7, 2024
antonfirsov
reviewed
Jul 8, 2024
antonfirsov
reviewed
Jul 8, 2024
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
July 8, 2024 19:49
f6f4a99
to
0e56f65
Compare
lmolkova
changed the title
Add .NET HTTP connection spans
Add .NET network + HTTP connection spans
Jul 8, 2024
2 tasks
antonfirsov
reviewed
Jul 10, 2024
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
July 11, 2024 06:41
ae799fd
to
46d772f
Compare
lmolkova
added
never stale
PRs marked with this label will be never staled and automatically closed
and removed
Stale
labels
Oct 20, 2024
antonfirsov
reviewed
Dec 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, I wanted to do it in tandem with dotnet/docs#43872 to make sure the review goes deep enough.
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
December 10, 2024 05:59
e101225
to
16bbfee
Compare
@antonfirsov I think I addressed you comments (all except listing error codes), could you please take another look? |
lmolkova
force-pushed
the
dotnet-http-connection-spans
branch
from
December 10, 2024 07:02
859c881
to
e521e1d
Compare
antonfirsov
added a commit
to dotnet/docs
that referenced
this pull request
Dec 10, 2024
.NET 9 introduced additions to `System.Net` distributed tracing which define a contract following OTel recommendations: - dotnet/runtime#104251 adjusted the HTTP client request activity so it natively complies with OTel recommendations. This included adding standard tags. - dotnet/runtime#103922 introduced activities breaking down the HTTP connection setup. This PR documents the activities together with their attributes in a manner similar to the metrics docs added by #37213. The matching semconv PR is open-telemetry/semantic-conventions#1192. Conceptual docs are being introduced in #42830. Moreover, the PR also adjusts certain parts of the metrics doc in order to make it more accurate, synchronize it with the activities doc and incorporate the changes from #42810. --------- Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Miha Zupan <[email protected]>
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.
This PR introduces additional network-level spans to-be emitted by .NET 9 🤞
Related to #454, #1226
In particular:
On .NET every
ActivitySource
(aka tracer) is opt-in, so users have full control over what they are enabling.The volume of new telemetry is expected to be low (with caveats):
Overall, the feature is intended to help debug issues like: