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

HTTP Metrics: Uncoditionally report server.port #104741

Merged
merged 11 commits into from
Jul 13, 2024

Conversation

antonfirsov
Copy link
Member

@antonfirsov antonfirsov commented Jul 11, 2024

Since server.port is required, we should not omit it for default ports in http.client.request.duration.

For consistency, this PR also makes http.client.connection.duration and http.client.open_connections REQUIRED, meaning port will be uncoditionally present in those metrics too.

Resolves #94829.

@antonfirsov antonfirsov added this to the 9.0.0 milestone Jul 11, 2024
@antonfirsov antonfirsov added breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet labels Jul 11, 2024
@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

This comment was marked as outdated.

@antonfirsov
Copy link
Member Author

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@antonfirsov antonfirsov merged commit 5ab200c into dotnet:main Jul 13, 2024
83 of 91 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP client metrics: url.scheme should be opt-in, server.port should be required
4 participants