Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 5, 2025

Backport of #60129 to release/8.0

/cc @BrennanConroy

Readd DiagnosticSource to KestrelServerImpl

Description

During 8.0 we did a bunch of metrics work and accidentally removed DiagnosticSource support in Kestrel. We document how to monitor your app for bad requests and it doesn't work anymore.

Fixes #58911

Customer Impact

Our docs on how to monitor your app for bad requests doesn't work anymore. Customers would instead need to rely on/add logging capturing for this scenario if they even notice that the feature is broken.

1st party as well as a couple customers have hit this.

Regression?

  • Yes
  • No

Regressed in .NET 8

Risk

  • High
  • Medium
  • Low

Simple fix, added smoke test to verify, and did a manual test to check it works now.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No

@ghost ghost added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Feb 5, 2025
@dotnet-policy-service dotnet-policy-service bot added this to the 8.0.x milestone Feb 5, 2025
@BrennanConroy BrennanConroy added Servicing-consider Shiproom approval is required for the issue Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Feb 5, 2025
@wtgodbe wtgodbe merged commit 3c9d56e into release/8.0 Feb 5, 2025
25 checks passed
@wtgodbe wtgodbe deleted the backport/pr-60129-to-release/8.0 branch February 5, 2025 23:28
@dotnet-policy-service dotnet-policy-service bot modified the milestones: 8.0.x, 8.0.14 Feb 5, 2025
This was referenced Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants