Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@lmolkova
Copy link

@lmolkova lmolkova commented Feb 22, 2017

This change addresses post-review comments for PR #15971:

  1. new DiagnosticListener.IsEnabled() API is used to very efficiently determine if there is a subscriber to HttpDiagnoticListener and enable diagnostics.

  2. Exceptions are sent in a separate event System.Net.Http.Exception, and System.Net.Http.Response is still fired for all requests (successful, faulted and cancelled)

  3. Events documentation concerns will be addressed in next part (with Activity implementation)

/cc @stephentoub @vancem @avanderhoorn @nbilling @cwe1ss @karolz-ms @SergeyKanzhelev @brahmnes

DiagnosticListener, send exception as separate event
Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@vancem
Copy link
Contributor

vancem commented Feb 22, 2017

LGTM

@vancem vancem merged commit 9ae1d51 into dotnet:master Feb 22, 2017
@karelz karelz modified the milestone: 2.0.0 Mar 1, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…activity_part1_refactoring_review

Refactor HTTP DiagnosticSource logging (part1 continued)

Commit migrated from dotnet/corefx@9ae1d51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants