Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 331 Bytes

File metadata and controls

13 lines (10 loc) · 331 Bytes

Attach Detach Context Example

This example demonstrates context propagation using the attach/detach context APIs.

The example produces two traces represented by the following diagram:

flowchart LR
  r1[Root 1 Span] --> c[Child Span]
  c --> g1[Grandchild 1 Span]
  c --> g2[Grandchild 2 Span]
  r2[Root 2 Span]
Loading