-
Notifications
You must be signed in to change notification settings - Fork 767
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
AspNet.TelemetryHttpModule public api + test fixes + renames #2240
AspNet.TelemetryHttpModule public api + test fixes + renames #2240
Conversation
@@ -30,8 +30,7 @@ Telemetry correlation http module enables cross tier telemetry tracking. | |||
|
|||
public void OnNext(DiagnosticListener listener) | |||
{ | |||
if (listener.Name == "Microsoft.AspNet.TelemetryCorrelation" || | |||
listener.Name == "System.Net.Http" ) |
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.
Was this used previously?
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.
I don't think so. My guess is the example snippet came from some code listening to this module and something else instrumenting outgoing requests?
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.
Roger that, thanks!
@reyang @cijothomas @alanwest Everyone OK renaming the diagnostic source from "Microsoft.AspNet.TelemetryCorrelation" -> "OpenTelemetry.Instrumentation.AspNet.Telemetry"? At the moment, it is backwards compatible and could use the same name. But I'm thinking we'll add more features to it so it might be nice to break with the past and not be tied to the existing contract(s). |
Part of #2222.
Changes