- Documentation
- Learning Hub
- Journey Introduction to tracing
- Section 3 of 4 The tracing pipeline
Stage 1, Instrument: where spans come from
Stage 1, Instrument: where spans come from
A trace has to start somewhere. Before your application can produce spans, it needs code that watches its work and records each unit of that work as a span. Adding that code or tooling is called instrumentation.
Most teams instrument with OpenTelemetry
You don’t have to write that recording code by hand. Most teams instrument with OpenTelemetry, an open, vendor-neutral standard for generating traces, and other signals, from application code. Because it’s a shared standard rather than one vendor’s format, the traces it produces work with many backends, not just one.
Setting it up comes later
This journey doesn’t instrument an application. Choosing how to instrument your code and wiring it up is part of setup, covered in the separate setup journey and the instrumentation documentation. Here, you only need to know that spans come from an instrumented application at the start of the pipeline.