Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

inband otel traceparent propagation #34

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tobert
Copy link

@tobert tobert commented Nov 30, 2021

Adds a traceparent field to hardware records. There's an open PR to have the API service add the traceparent as an in-band key on the hardware data it pushes to cacher in addition to propagating via gRPC. The idea here is that the in-band value will be available to boots when it comes and fetches the hardware record, and can continue the trace.

Amy Tobey added 2 commits November 30, 2021 12:17
Adds "_traceparent" to Cacher's hardware data structure so we can do
in-band propagation of traceparent between API and boots.

Signed-off-by: Amy Tobey <[email protected]>
When signaling in-band my preference is to lead with an underscore so
it's fairly clear it's not app data, but since the Otel injectors
insist on setting their own 'traceparent' key we'll just use that.

Signed-off-by: Amy Tobey <[email protected]>
@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

Merging #34 (f8060e5) into master (9b918bf) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #34   +/-   ##
=======================================
  Coverage   44.51%   44.51%           
=======================================
  Files           5        5           
  Lines         620      620           
=======================================
  Hits          276      276           
  Misses        334      334           
  Partials       10       10           
Impacted Files Coverage Δ
hardware/hw.go 92.91% <ø> (ø)

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 9b918bf...f8060e5. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant