Skip to content

Conversation

@antonfirsov
Copy link
Contributor

@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
@ghost ghost added the area-System.Net.Http label 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.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@antonfirsov
Copy link
Contributor Author

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@antonfirsov antonfirsov merged commit 5ab200c into dotnet:main Jul 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2024
@antonfirsov antonfirsov removed the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label Nov 6, 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.

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