-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Flow the IMeterFactory to SocketsHttpHandler on Mobile #90298
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsI realized that what was actually happening here is that we weren't passing the You would end up with 2 separate meters:
The test that only listened to the metrics from one factory wouldn't see the
|
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
Not seeing the failure mentioned in #90225 (comment) on Android runs anymore, so this seems to do the trick. |
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.
LGTM
I realized that what was actually happening here is that we weren't passing the
IMeterFactory
to theSocketsHttpHandler
in ourHttpClientHandler.AnyMobile.cs
implementation.You would end up with 2 separate meters:
The test that only listened to the metrics from one factory wouldn't see the
SocketsHttpHander
metrics, which is why I thought we weren't using the correct handler in #90225.