Skip to content

Commit

Permalink
clarify how trace context works for kubelet tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Sep 22, 2023
1 parent 0ee79d3 commit fec3ca7
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -105,8 +105,12 @@ span will be sent to the exporter.

The kubelet in Kubernetes v{{< skew currentVersion >}} collects spans from
the garbage collection, pod synchronization routine as well as every gRPC
method. Connected container runtimes like CRI-O and containerd can link the
traces to their exported spans to provide additional context of information.
method. The kubelet propagates trace context with gRPC requests so that
container runtimes with trace instrumentation, such as CRI-O and containerd,
can associate their exported spans with the trace context from the kubelet.
The resulting traces will have parent-child links between kubelet and
container runtime spans, providing helpful context when debugging node
issues.

Please note that exporting spans always comes with a small performance overhead
on the networking and CPU side, depending on the overall configuration of the
Expand Down

0 comments on commit fec3ca7

Please sign in to comment.