# 06 Micrometer build plus net.ttddyy.observation:datasource-micrometer-spring-boot 2.3.1 (third-party)
== spans

-- span tree (one line per span: name [kind, instrumentation scope])
trace 1  (7 spans)
  http get /orders/{id}  [SERVER, scope=org.springframework.boot]
    connection  [CLIENT, scope=org.springframework.boot]
    query  [CLIENT, scope=org.springframework.boot]
    result-set  [CLIENT, 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  (7 spans)
  http get /orders/{id}/audited  [SERVER, scope=org.springframework.boot]
    connection  [CLIENT, scope=org.springframework.boot]
    query  [CLIENT, scope=org.springframework.boot]
    result-set  [CLIENT, 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  (3 spans)
  audit.write  [INTERNAL, scope=org.springframework.boot]
    connection  [CLIENT, scope=org.springframework.boot]
    query  [CLIENT, scope=org.springframework.boot]

-- attribute keys per span name
connection [CLIENT]
    jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool
--
query [CLIENT]
    jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool, jdbc.query[0], jdbc.row-affected, peer.service
result-set [CLIENT]
    jdbc.datasource.driver, jdbc.datasource.name, jdbc.datasource.pool, jdbc.row-count, peer.service
