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

Update HTTPEventSourceListener to trace the right events. #2727

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang commented Aug 1, 2023

Dotnet core changed their network tracing event source name as part of dotnet core 5.0

dotnet/runtime#37428

We need to react these changes otherwise we are not going to get any trace from the network layer from dotnet core.

TLDR:

Microsoft-System-Net-Http -> System.Net.Http and Private.InternalDiagnostics.System.Net.Http
Microsoft-System-Net-Security -> System.Net.Security and Private.InternalDiagnostics.System.Net.Security

I noticed this when check support issue https://github.com/github/c2c-actions-support/issues/2691

@TingluoHuang TingluoHuang requested a review from a team as a code owner August 1, 2023 21:21
Comment on lines -359 to -360
"Enter",
"Exit"
Copy link
Member Author

Choose a reason for hiding this comment

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

these 2 events no longer exists in the newer version dotnet.

Copy link
Contributor

@nikola-jokic nikola-jokic left a comment

Choose a reason for hiding this comment

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

LGTM

@TingluoHuang TingluoHuang merged commit 8eefd84 into main Aug 2, 2023
17 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/fixcheck2 branch August 2, 2023 12:39
ashb pushed a commit to ashb/runner that referenced this pull request Aug 3, 2023
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.

2 participants