|
| 1 | +{ |
| 2 | + "spans": [ |
| 3 | + { |
| 4 | + "trace_id": "t-checkout", |
| 5 | + "span_id": "frontend-1", |
| 6 | + "service": "frontend", |
| 7 | + "kind": "server", |
| 8 | + "name": "GET /checkout", |
| 9 | + "attributes": { |
| 10 | + "http.request.method": "GET", |
| 11 | + "http.route": "/checkout" |
| 12 | + } |
| 13 | + }, |
| 14 | + { |
| 15 | + "trace_id": "t-checkout", |
| 16 | + "span_id": "checkout-1", |
| 17 | + "parent_span_id": "frontend-1", |
| 18 | + "service": "checkout", |
| 19 | + "kind": "server", |
| 20 | + "name": "POST /process", |
| 21 | + "attributes": { |
| 22 | + "http.request.method": "POST", |
| 23 | + "http.route": "/process" |
| 24 | + } |
| 25 | + }, |
| 26 | + { |
| 27 | + "trace_id": "t-checkout", |
| 28 | + "span_id": "payment-1", |
| 29 | + "parent_span_id": "checkout-1", |
| 30 | + "service": "payment", |
| 31 | + "kind": "consumer", |
| 32 | + "name": "kafka consume payment-events", |
| 33 | + "attributes": { |
| 34 | + "messaging.system": "kafka", |
| 35 | + "messaging.destination": "payment-events" |
| 36 | + } |
| 37 | + }, |
| 38 | + { |
| 39 | + "trace_id": "t-checkout", |
| 40 | + "span_id": "inventory-1", |
| 41 | + "parent_span_id": "checkout-1", |
| 42 | + "service": "inventory", |
| 43 | + "kind": "client", |
| 44 | + "name": "reserve inventory" |
| 45 | + }, |
| 46 | + { |
| 47 | + "trace_id": "t-health", |
| 48 | + "span_id": "frontend-2", |
| 49 | + "service": "frontend", |
| 50 | + "kind": "server", |
| 51 | + "name": "GET /health", |
| 52 | + "attributes": { |
| 53 | + "http.request.method": "GET", |
| 54 | + "http.route": "/health" |
| 55 | + } |
| 56 | + } |
| 57 | + ] |
| 58 | +} |
| 59 | + |
0 commit comments