Skip to content

HTTP Metrics: Uncoditionally report server.port#104741

Merged
antonfirsov merged 11 commits into
dotnet:mainfrom
antonfirsov:server-port-always-forever
Jul 13, 2024
Merged

HTTP Metrics: Uncoditionally report server.port#104741
antonfirsov merged 11 commits into
dotnet:mainfrom
antonfirsov:server-port-always-forever

Conversation

@antonfirsov

@antonfirsov antonfirsov commented Jul 11, 2024

Copy link
Copy Markdown
Contributor

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 previous release. 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
Copy Markdown
Contributor Author

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines

Copy link
Copy Markdown
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 previous release.

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