Skip to content

Update HeaderParsing README with current metric and tag names - #7838

Merged
evgenyfedorov2 merged 1 commit into
dotnet:mainfrom
evgenyfedorov2:evgenyfedorov2-update-headerparsing-readme-metrics
Oct 15, 2026
Merged

evgenyfedorov2 merged 1 commit into
dotnet:mainfrom
evgenyfedorov2:evgenyfedorov2-update-headerparsing-readme-metrics

Conversation

@evgenyfedorov2

@evgenyfedorov2 evgenyfedorov2 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

The Metrics table in the Microsoft.AspNetCore.HeaderParsing README still lists the metric and tag names from before they were renamed in #4482. This updates the table to the names the library emits today (see Metric.cs):

Before After
HeaderParsing.ParsingErrors aspnetcore.header_parsing.parse_errors
HeaderParsing.CacheAccess aspnetcore.header_parsing.cache_accesses
HeaderName aspnetcore.header_parsing.header.name
Kind error.type
Type aspnetcore.header_parsing.cache_access.type

Only the names change. The table's structure and wording stay the same. Docs-only.

Microsoft Reviewers: Open in CodeFlow

The metric and tag names were changed in dotnet#4482, but the README's
Metrics table still listed the old ones.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 14, 2026 09:53
@evgenyfedorov2
evgenyfedorov2 requested a review from a team as a code owner October 14, 2026 09:53

Copilot AI 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.

🟒 Approval recommended

The documentation now accurately matches the library’s metric declarations.

0 open findings

What changed in this PR

Updates HeaderParsing metric documentation to match the names emitted by Metric.cs.

Changes:

  • Replaces legacy metric names.
  • Updates associated dimension/tag names.
File Description
src/​Libraries/​Microsoft.AspNetCore.HeaderParsing/​README.md Documents current HeaderParsing metric and tag names.

🧠 Review effort: Balanced


πŸ’‘ Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@evgenyfedorov2
evgenyfedorov2 enabled auto-merge (squash) October 14, 2026 09:55
@dotnet-comment-bot

Copy link
Copy Markdown
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.Diagnostics.Testing Line 99 98.65 πŸ”»
Microsoft.Extensions.Telemetry Line 93 92.71 πŸ”»
Microsoft.Extensions.AI.OpenAI Line 75 68.24 πŸ”»
Microsoft.Extensions.AI.OpenAI Branch 75 57.54 πŸ”»
Microsoft.Extensions.DataIngestion.MarkItDown Line 75 4.46 πŸ”»
Microsoft.Extensions.DataIngestion.MarkItDown Branch 75 0 πŸ”»
Microsoft.Extensions.Diagnostics.ResourceMonitoring Line 99 96.03 πŸ”»
Microsoft.Extensions.Diagnostics.ResourceMonitoring Branch 99 92.76 πŸ”»
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes Line 99 97.73 πŸ”»
Microsoft.Extensions.ServiceDiscovery.Dns Line 75 71.61 πŸ”»
Microsoft.Extensions.ServiceDiscovery Line 75 68.26 πŸ”»
Microsoft.Extensions.ServiceDiscovery Branch 75 71.43 πŸ”»
Microsoft.Extensions.ServiceDiscovery.Abstractions Line 75 42.11 πŸ”»
Microsoft.Extensions.ServiceDiscovery.Abstractions Branch 75 42.86 πŸ”»
Microsoft.Extensions.ServiceDiscovery.Yarp Line 75 73.85 πŸ”»
Microsoft.Extensions.ServiceDiscovery.Yarp Branch 75 70 πŸ”»
Microsoft.Extensions.VectorData.Abstractions Line 75 37.39 πŸ”»
Microsoft.Extensions.VectorData.Abstractions Branch 75 22.73 πŸ”»

πŸŽ‰ Good job! The coverage increased πŸŽ‰
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Extensions.Http.Diagnostics 94 95
Microsoft.Gen.BuildMetadata 97 100
Microsoft.Gen.MetadataExtractor 57 73
Microsoft.Gen.MetricsReports 67 69
Microsoft.Extensions.AI.Abstractions 82 86
Microsoft.Extensions.AI.Evaluation.NLP 0 78
Microsoft.Extensions.Caching.Hybrid 82 85
Microsoft.Extensions.DataIngestion 75 89
Microsoft.Extensions.DataIngestion.Markdig 75 90
Microsoft.Extensions.Http.Resilience 97 100

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1634796&view=codecoverage-tab

@evgenyfedorov2
evgenyfedorov2 merged commit 126e976 into dotnet:main Oct 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants