Skip to content

Add trace context to the downward API#13

Open
Monkeyanator wants to merge 5 commits intocontext-propagation-etcdfrom
trace-context-downward-api
Open

Add trace context to the downward API#13
Monkeyanator wants to merge 5 commits intocontext-propagation-etcdfrom
trace-context-downward-api

Conversation

@Monkeyanator
Copy link
Owner

What this PR does / why we need it:

This PR modifies the downward API to allow for the injection of trace context into a pod's containers.

Which issue(s) this PR fixes

This PR is an extension of other work done on this fork with respect to adding tracing to Kubernetes components. This work holds special promise because of the possibilities in linking application-level traces back into the pod startup traces.

Below is an image that shows an application level trace, running in one of the pod's containers, and the fact that it is linked to the pod startup trace that spawned it:

linked-trace-span

Special notes for your reviewer:

To run this PR, the container from the downward-trace-experiment/downward-application must be built and pushed to a public, accessible registry. Then, you must point the image for tracedPod.yaml at the pushed image. Next, run kubectl create -f downward-trace-experiment/downwardTraceTestCustomConfig to run the container in your cluster. The linked application-level traces should then be in Stackdriver.

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.

1 participant