Skip to content

[ASP.NET Core] replace http.target with http.route#3903

Merged
cijothomas merged 12 commits intoopen-telemetry:mainfrom
rinat16:feature/3897
Nov 18, 2022
Merged

[ASP.NET Core] replace http.target with http.route#3903
cijothomas merged 12 commits intoopen-telemetry:mainfrom
rinat16:feature/3897

Conversation

@rinat16
Copy link
Copy Markdown
Contributor

@rinat16 rinat16 commented Nov 15, 2022

Fixes #3897

Changes

http.target was replaced with http.route

For significant contributions please make sure you have completed the following items:

  • Appropriate CHANGELOG.md updated for non-trivial changes
  • Design discussion issue #
  • Changes in public API reviewed

@rinat16 rinat16 requested a review from a team November 15, 2022 10:30
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Nov 15, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 15, 2022

Codecov Report

Merging #3903 (469ff4f) into main (bf95a54) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3903      +/-   ##
==========================================
- Coverage   87.40%   87.36%   -0.04%     
==========================================
  Files         278      278              
  Lines       10757    10757              
==========================================
- Hits         9402     9398       -4     
- Misses       1355     1359       +4     
Impacted Files Coverage Δ
...AspNetCore/Implementation/HttpInMetricsListener.cs 65.71% <100.00%> (ø)
...ZPages/Implementation/ZPagesExporterEventSource.cs 56.25% <0.00%> (-6.25%) ⬇️
...p/Implementation/HttpInstrumentationEventSource.cs 72.00% <0.00%> (-4.00%) ⬇️
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 79.41% <0.00%> (-2.95%) ⬇️
...ter.ZPages/Implementation/ZPagesActivityTracker.cs 97.14% <0.00%> (-2.86%) ⬇️

Copy link
Copy Markdown
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. Thank you.

Left a comment about better changelog for end users to quickly see what is changing.

@cijothomas
Copy link
Copy Markdown
Member

@rinat16 Could you fix the markdownlint failure in CI?

Co-authored-by: Robert Pająk <pellared@hotmail.com>
@cijothomas
Copy link
Copy Markdown
Member

@rinat16 Unfortunately other PRs got merged, and this one needs to resolve the conflicts!

`net.host.name` and `net.host.port` attributes will be populated instead.
([#3858](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3858))

* The `http.server.duration` metric's `http.target` attribute is replaced
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking change

@cijothomas cijothomas merged commit 490b9b1 into open-telemetry:main Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ASP.NET Core] replace http.target with http.route

5 participants