Skip to content
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

Merged
merged 13 commits into from
Jan 28, 2023
Merged

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Jan 26, 2023

@codecov
Copy link

codecov bot commented Jan 26, 2023

Codecov Report

Merging #3182 (4700605) into main (405e2e4) will increase coverage by 5.1%.
The diff coverage is 82.3%.

Additional details and impacted files

Impacted file tree graph

@@           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     
Impacted Files Coverage Δ
detectors/aws/ec2/ec2.go 89.0% <ø> (ø)
detectors/aws/ecs/ecs.go 18.0% <ø> (ø)
detectors/aws/eks/detector.go 35.6% <ø> (ø)
detectors/aws/lambda/detector.go 92.8% <ø> (ø)
detectors/gcp/cloud-function.go 100.0% <ø> (ø)
detectors/gcp/cloud-run.go 100.0% <ø> (ø)
detectors/gcp/detector.go 83.7% <ø> (ø)
detectors/gcp/gce.go 8.7% <ø> (ø)
detectors/gcp/gke.go 0.0% <ø> (ø)
.../github.com/aws/aws-lambda-go/otellambda/lambda.go 88.6% <ø> (ø)
... and 41 more

@MrAlias MrAlias force-pushed the bump-semconv-v1.17 branch from b9bebd2 to 7c3b1f6 Compare January 26, 2023 16:35
@MrAlias MrAlias changed the title WIP: Upgrade to semconv/v1.17.0 Upgrade to semconv/v1.17.0 Jan 26, 2023
@MrAlias MrAlias marked this pull request as ready for review January 26, 2023 17:07
@MrAlias
Copy link
Contributor Author

MrAlias commented Jan 26, 2023

I'm looking into the test failure on Windows for otelgrpc...

@MrAlias
Copy link
Contributor Author

MrAlias commented Jan 27, 2023

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 ctxDialer and using it to actually do the connection setup for grpc.DialContext.

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Comment on lines +218 to 222
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...)
Copy link

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).

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.

5 participants