Skip to content

Add SocketsHttpHandler connection metrics - #88893

Merged
MihaZupan merged 4 commits into
dotnet:mainfrom
MihaZupan:http-meter-3
Jul 14, 2023
Merged

Add SocketsHttpHandler connection metrics#88893
MihaZupan merged 4 commits into
dotnet:mainfrom
MihaZupan:http-meter-3

Conversation

@MihaZupan

Copy link
Copy Markdown
Member

Closes#84978

Implements the following counters (final names TBD):

  • http-client-current-connections
  • http-client-current-idle-connections
  • http-client-connection-duration

Unlike the description from #84978, I dropped the reason tag from http-client-connection-duration as it feels out of place on the duration counter, and it's not clear what values we'd want to report.

Merge conflicts with #88853 are expected.

@MihaZupanMihaZupan added this to the 8.0.0 milestone Jul 14, 2023
@MihaZupanMihaZupan self-assigned this Jul 14, 2023
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Closes #84978

Implements the following counters (final names TBD):

  • http-client-current-connections
  • http-client-current-idle-connections
  • http-client-connection-duration

Unlike the description from #84978, I dropped the reason tag from http-client-connection-duration as it feels out of place on the duration counter, and it's not clear what values we'd want to report.

Merge conflicts with #88853 are expected.

Author:MihaZupan
Assignees:MihaZupan
Labels:

area-System.Net.Http

Milestone:8.0.0

@MihaZupan

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@antonfirsovantonfirsov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with a few questions and suggestions.

Sign up for freeto 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.

[API Proposal]: HttpClient/HttpMessageInvoker metrics

2 participants

@MihaZupan@antonfirsov