-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpSemanticConventions - new metric in AspNetCore Instrumentation. #4802
Merged
Merged
Changes from 44 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
91f08c8
update AspNetCore for new metric 'http.server.request.duration'
TimothyMothra c111eea
cleanup
TimothyMothra 32d8946
remove attributes
TimothyMothra 3208431
comment
TimothyMothra d2f7ef4
readme
TimothyMothra 1a49dab
comment
TimothyMothra 7c11551
update readme
TimothyMothra 93fe6ad
cleanup
TimothyMothra 3842aa8
check flag in ctor
TimothyMothra ec2b825
Merge branch 'main' into 4484_newMetrics
TimothyMothra 5f74488
update tags on metrics
TimothyMothra 9fb75e5
refactor
TimothyMothra c335f65
Merge branch 'main' into 4484_newMetrics
TimothyMothra 6c86a4a
fix name in log
TimothyMothra 3bcefae
another fix
TimothyMothra e588453
more fixes
TimothyMothra 88355cd
big refactor, split Old and New into two methods
TimothyMothra 6a3f651
investigating test fix
TimothyMothra 1a72356
final fix for test issue
TimothyMothra b9d194c
Merge branch 'main' into 4484_newMetrics
TimothyMothra ac76993
Merge branch 'main' into 4484_newMetrics
TimothyMothra b57320d
change unit to seconds
TimothyMothra 7fdc29f
update Readme
TimothyMothra a782b51
cleanup if condition
TimothyMothra 3788d15
fix indentation
TimothyMothra 275de4e
update readme
TimothyMothra c6d5d76
change test to use IConfiguration
TimothyMothra 3789fdd
markdown lint
TimothyMothra f110b29
split test methods
TimothyMothra 6a52fcf
Merge branch 'main' into 4484_newMetrics
TimothyMothra 7c11aac
Update src/OpenTelemetry.Instrumentation.AspNetCore/README.md
TimothyMothra 9ab958c
cleanup Readme after suggestion conflict
TimothyMothra 3646823
update changelog
TimothyMothra 314c9d9
update changelog
TimothyMothra 255b2da
refactor tests
TimothyMothra 12d10cf
Update src/OpenTelemetry.Instrumentation.AspNetCore/README.md
TimothyMothra c38a93e
update changelog
TimothyMothra 26ea138
Merge branch '4484_newMetrics' of https://github.com/TimothyMothra/op…
TimothyMothra 1fd022b
Merge branch 'main' into 4484_newMetrics
TimothyMothra 1f787be
markdownlint
TimothyMothra 0b257af
rewrite changelog
TimothyMothra 4987540
rewrite Readme
TimothyMothra 0cfa424
markdownlint
TimothyMothra 163d4d7
Merge branch 'main' into 4484_newMetrics
TimothyMothra 80df848
rewrite changelog
TimothyMothra 9f83898
Merge branch '4484_newMetrics' of https://github.com/TimothyMothra/op…
TimothyMothra 744a980
edit changelog & readme
TimothyMothra 1d694bc
update
TimothyMothra 390d563
Merge branch 'main' into 4484_newMetrics
TimothyMothra 6d4bb65
Merge branch '4484_newMetrics' of https://github.com/TimothyMothra/op…
TimothyMothra 0015a20
feedback
TimothyMothra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduced a new metric,
http.server.request.duration
, for users who opt-into the new semantic convention by configuring the
OTEL_SEMCONV_STABILITY_OPT_IN
environment variable to value "fillthis". This metric measures time in seconds, but histogram buckets are adjusted
automatically for this metric by OTel SDK which specially treat this metric. This metric follows the OTel Semantic Conventions from (add link).
http.server.request.duration
seconds
0, 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10
(due to OpenTelemetry SDK's special treatment)http.server.duration
miliseconds
0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000, 7500, 10000
(the general default of Histogram buckets)OTEL_SEMCONV_STABILITY_OPT_IN
may be set to "fillthis", to help an easier transition, at the cost of emitting both old and new metrics.^did some refactoring. Feel free to take it with modifications.
A user who do not have any experience with OTel sem. conventions and the new vs old, should find it easy to follow the changelog. Key things I'd prefer to convey here are:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the refactor. I'll take another pass at this today.
Do we typically put instructions in the changelog? I was trying to keep the changelog succinct, and use the readme for the full information. The challenge is that this change has a LOT of details :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just pushed my rewrite. I think I've addressed all your points. please re-review.