Skip to content

Instantly share code, notes, and snippets.

@gc-garcol
Last active July 19, 2024 02:05
Show Gist options
  • Save gc-garcol/7b198dd87b660db96a25846517f91f9a to your computer and use it in GitHub Desktop.
Save gc-garcol/7b198dd87b660db96a25846517f91f9a to your computer and use it in GitHub Desktop.
Tracing

Tracing

  • Span: The basic unit of work. Spans can be started and stopped, and they keep track of their timing information. Once you create a span, you must stop it at some point in the future.
  • Trace: A set of spans forming a tree-like structure.
  • Tracing context: For distributed tracing to work, the tracing context (trace identifier, span identifier, and so on) must be propagated through the process (for example, over threads) and over the network.

overview

parent-child relationships of spans overview

Java spring - tracing

Netcat

nc -l 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment