-
Notifications
You must be signed in to change notification settings - Fork 876
[http] Add http.client.request.duration metric and .NET Framework support #4870
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
Merged
CodeBlanch
merged 55 commits into
open-telemetry:main
from
matt-hensley:net462httpclientmetricsv3
Oct 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
17d67e0
snapshot
matt-hensley 800a71d
null actvitiy is tracing is disabled
matt-hensley 4a9239e
setup metics without tracing
matt-hensley d7b2472
only emit when there is a listener
matt-hensley 46de1a9
modify tests for netfx
matt-hensley 4e445b5
always capture response status code
matt-hensley f0ca432
Merge branch 'main' into net462httpclientmetricsv3
matt-hensley bed7b2b
undo conditional extraction
matt-hensley ba04ac0
activity duration or stopwatch
matt-hensley 48c354a
activity duration or stopwatch
matt-hensley 872ce63
Merge branch 'net462httpclientmetricsv3' of https://github.com/matt-h…
matt-hensley 6999167
activity may be null here
matt-hensley 42e9022
duration -> durationMs for now
matt-hensley 527106f
StartTimestamp handling
matt-hensley e31f687
adopt taglist
matt-hensley 01840c0
using directive is unnecessary
matt-hensley 9ef2915
using directive is unnecessary
matt-hensley 47fc955
Merge branch 'net462httpclientmetricsv3' of https://github.com/matt-h…
matt-hensley d9ca497
remove URL attribute
matt-hensley 308ca8f
status enum to int
matt-hensley 480940e
remove ternary
matt-hensley 27ad5ab
early return if tracing and metrics are not enabled
matt-hensley 025c02d
set activity
matt-hensley dfaa8f7
Update src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebR…
matt-hensley ad10683
Merge branch 'net462httpclientmetricsv3' of https://github.com/matt-h…
matt-hensley 8bd64ef
Update src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebR…
matt-hensley 6ca5c9d
Update src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebR…
matt-hensley 61a01f7
Merge branch 'net462httpclientmetricsv3' of https://github.com/matt-h…
matt-hensley b4dd250
flag name change
matt-hensley bca1361
remove Moq from test
matt-hensley 5200afb
need to pick context off current activity for propagator to work
matt-hensley 4d15ca6
extra line
matt-hensley dd07ca0
modify tests to handle metrics and/or tracing on/off
matt-hensley fc47558
null handling
matt-hensley 9ae0193
null check for safety, tests don't blow up here for some reason?
matt-hensley 9c4c3b5
Merge branch 'main' into net462httpclientmetricsv3
matt-hensley dcdde2c
remove note that netfx does not have metrics
matt-hensley a063be1
changelog entry
matt-hensley 7ce3c51
correct whitespace
matt-hensley bef3862
Merge branch 'main' into net462httpclientmetricsv3
matt-hensley 812ad91
reorder methods per linter
matt-hensley 2cfc3e2
putting the combinations in one test is causing intermittent failures
matt-hensley 051cb42
Merge branch 'main' into net462httpclientmetricsv3
matt-hensley 0f37992
lift null checks
matt-hensley 86c8ab0
make this isn't hit when tracing is disabled
matt-hensley 7704a82
Update src/OpenTelemetry.Instrumentation.Http/CHANGELOG.md
matt-hensley 7e03ca7
Merge branch 'main' into net462httpclientmetricsv3
matt-hensley 0ce3ced
modify test to ensure duration was written
matt-hensley 5218b65
Fixes, tweaks, and cleanup.
CodeBlanch e70629b
Code review.
CodeBlanch 616f299
Add support for http.client.request.duration.
CodeBlanch 1502d64
Update src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHand…
CodeBlanch 34e39f4
MD lint.
CodeBlanch 9f1f887
Merge branch 'net462httpclientmetricsv3' of https://github.com/matt-h…
CodeBlanch f2e864b
Merge branch 'main' into net462httpclientmetricsv3
CodeBlanch 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
always capture response status code
- Loading branch information
commit 4e445b5a10825f415ed55c85d0ab5720fdbea7c0
There are no files selected for viewing
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.