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

add opentelemetry #64

Merged
merged 5 commits into from
Aug 30, 2021
Merged

add opentelemetry #64

merged 5 commits into from
Aug 30, 2021

Conversation

tobert
Copy link
Contributor

@tobert tobert commented Aug 25, 2021

Description

Adds OpenTelemetry plumbing and instrumentation for HTTP and gRPC.

How Has This Been Tested?

Existing tests pass.

How are existing users impacted? What migration steps/scripts do we need?

No change until the otel environment variables are set.

@tobert
Copy link
Contributor Author

tobert commented Aug 27, 2021

Thanks for approving @tstromberg :) I can't merge because I don't have permission on this repo.

@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #64 (4ac4930) into master (b0ea1a5) will increase coverage by 0.07%.
The diff coverage is 56.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   33.49%   33.57%   +0.07%     
==========================================
  Files           3        3              
  Lines         409      420      +11     
==========================================
+ Hits          137      141       +4     
- Misses        249      256       +7     
  Partials       23       23              
Impacted Files Coverage Δ
grpc-server/grpc_server.go 13.60% <0.00%> (-0.59%) ⬇️
http-server/http_handlers.go 44.79% <100.00%> (+0.28%) ⬆️
http-server/http_server.go 54.23% <100.00%> (+2.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0ea1a5...4ac4930. Read the comment docs.

@tstromberg tstromberg merged commit 2c3a161 into tinkerbell:master Aug 30, 2021
mmlb added a commit to mmlb/tinkerbell-hegel that referenced this pull request Oct 28, 2021
Hegel learned how to do otel tracing in Amy's otel [PR], but missed out
on picking up the distributed/linked tracing that was added to packethost/pkg/grpc.

PR: tinkerbell#64

This PR bumps packethost/pkg to pick up its automagic otel grpc middleware setup.

Signed-off-by: Manuel Mendez <[email protected]>
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.

2 participants