0Pricing
System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · Lesson

Span Attributes, Events, and Status

Learn to enrich spans with meaningful attributes, record timed events, and set span status so traces are diagnostic and not just timing data.

Beyond Timing

A span knows its duration automatically, but raw timing is rarely enough. Enriching spans with attributes, events, and status makes traces tell a story.

Span Attributes

Attributes are key-value pairs that add context to a span, like the route handled or the number of rows returned.

span.set_attribute("http.route", "/orders/:id")
span.set_attribute("db.rows", 42)

All lessons in this course

  1. Auto-Instrumentation Techniques
  2. Manual Instrumentation Best Practices
  3. Context Propagation and Baggage
  4. Span Attributes, Events, and Status
← Back to System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)