# 02 Micrometer Tracing via spring-boot-starter-opentelemetry, Spring Boot 4.2.0, default conventions
# Requests sent after warm-up: GET /orders/1, then GET /orders/1/audited (audit.executor=raw)
== spans

-- span tree (one line per span: name [kind, instrumentation scope])
trace 1  (4 spans)
  http get /orders/{id}  [SERVER, scope=org.springframework.boot]
    http get  [CLIENT, scope=org.springframework.boot]
      http get /inventory/{sku}  [SERVER, scope=org.springframework.boot]
    pricing.compute  [INTERNAL, scope=org.springframework.boot]
trace 2  (4 spans)
  http get /orders/{id}/audited  [SERVER, scope=org.springframework.boot]
    http get  [CLIENT, scope=org.springframework.boot]
      http get /inventory/{sku}  [SERVER, scope=org.springframework.boot]
    pricing.compute  [INTERNAL, scope=org.springframework.boot]
trace 3  (1 spans)
  audit.write  [INTERNAL, scope=org.springframework.boot]

-- attribute keys per span name
audit.write [INTERNAL]
    
http get /inventory/{sku} [SERVER]
    exception, http.url, method, outcome, status, uri
http get /orders/{id} [SERVER]
    exception, http.url, method, outcome, status, uri
http get /orders/{id}/audited [SERVER]
    exception, http.url, method, outcome, status, uri
http get [CLIENT]
    client.name, exception, http.url, method, outcome, status, uri
pricing.compute [INTERNAL]
    pricing.sku
