-
Notifications
You must be signed in to change notification settings - Fork 572
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
Upgrade to semconv/v1.17.0 #3182
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3182 +/- ##
=======================================
+ Coverage 69.5% 74.6% +5.1%
=======================================
Files 147 152 +5
Lines 6859 6955 +96
=======================================
+ Hits 4772 5194 +422
+ Misses 1971 1624 -347
- Partials 116 137 +21
|
b9bebd2
to
7c3b1f6
Compare
I'm looking into the test failure on Windows for otelgrpc... |
Fixed in d18cfe2. Looks like the issue was on Windows the connection setup to a fake target hung indefinitely causing a goroutine to be abandoned. This was resolved by adding the |
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
attributes := append(labeler.Get(), httpconv.ServerRequest(h.server, r)...) | ||
if rww.statusCode > 0 { | ||
attributes = append(attributes, semconv.HTTPStatusCodeKey.Int(rww.statusCode)) | ||
} | ||
h.counters[RequestContentLength].Add(ctx, bw.read, attributes...) |
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.
ServerRequest
returns trace attributes not appropriate for metric. This change is adding high cardinality attributes to metric (#3765).
semconv
use to the new, unreleased,v1.17.0
packagehttpconv
andnetconv
pacakges, and update any directsemconv
references to rely on new semantic conventions