[
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "00f067aa0ba902b7",
    "name": "post /api/checkout",
    "timestamp": 1773738872850000,
    "duration": 148200,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "http.request.method": "POST",
      "url.path": "/api/checkout",
      "url.scheme": "https",
      "http.response.status_code": "201",
      "http.route": "/api/checkout",
      "server.address": "shop.example.com",
      "client.address": "203.0.113.42",
      "user_agent.original": "shop-mobile/4.2.0 (iOS 18.3)",
      "enduser.id": "cust-000418",
      "shop.order.id": "ord-2026-0317-004182",
      "shop.cart.items": "3",
      "shop.order.total_minor": "8497",
      "shop.currency": "EUR"
    },
    "kind": "SERVER",
    "annotations": [
      {
        "timestamp": 1773738872851200,
        "value": "request.body.parsed"
      }
    ]
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "1a2b3c4d5e6f7081",
    "name": "auth.verify_token",
    "timestamp": 1773738872850900,
    "duration": 4100,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "auth.mechanism": "jwt",
      "auth.token.kid": "k-2026-03",
      "auth.cache.hit": "true"
    },
    "parentId": "00f067aa0ba902b7"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "2b3c4d5e6f708192",
    "name": "get /cart/{cartid}",
    "timestamp": 1773738872855600,
    "duration": 21400,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "http.request.method": "GET",
      "server.address": "cart-api.shop.svc",
      "server.port": "8080",
      "http.response.status_code": "200",
      "network.protocol.version": "1.1"
    },
    "parentId": "00f067aa0ba902b7",
    "kind": "CLIENT"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "3c4d5e6f708192a3",
    "name": "get /cart/{cartid}",
    "timestamp": 1773738872856200,
    "duration": 20100,
    "localEndpoint": {
      "serviceName": "cart-api",
      "ipv4": "192.0.2.12"
    },
    "tags": {
      "http.request.method": "GET",
      "http.route": "/cart/{cartId}",
      "http.response.status_code": "200",
      "shop.cart.id": "cart-9f31a7"
    },
    "parentId": "2b3c4d5e6f708192",
    "kind": "SERVER"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "4d5e6f708192a3b4",
    "name": "select shop.carts",
    "timestamp": 1773738872857300,
    "duration": 17800,
    "localEndpoint": {
      "serviceName": "cart-api",
      "ipv4": "192.0.2.12"
    },
    "tags": {
      "db.system.name": "postgresql",
      "db.namespace": "shop",
      "db.collection.name": "carts",
      "db.operation.name": "SELECT",
      "db.query.text": "SELECT id, customer_id, currency\n  FROM shop.carts\n WHERE id = $1\n   AND deleted_at IS NULL",
      "db.response.returned_rows": "1",
      "server.address": "pg-primary.shop.svc"
    },
    "parentId": "3c4d5e6f708192a3",
    "kind": "CLIENT"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "5e6f708192a3b4c5",
    "name": "post /inventory/reserve",
    "timestamp": 1773738872878000,
    "duration": 39500,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "http.request.method": "POST",
      "server.address": "inventory-api.shop.svc",
      "http.response.status_code": "200",
      "http.request.body.size": "214"
    },
    "parentId": "00f067aa0ba902b7",
    "kind": "CLIENT"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "6f708192a3b4c5d6",
    "name": "post /inventory/reserve",
    "timestamp": 1773738872878700,
    "duration": 38200,
    "localEndpoint": {
      "serviceName": "inventory-api",
      "ipv4": "192.0.2.21"
    },
    "tags": {
      "http.request.method": "POST",
      "http.route": "/inventory/reserve",
      "http.response.status_code": "200",
      "shop.sku.count": "3"
    },
    "parentId": "5e6f708192a3b4c5",
    "kind": "SERVER",
    "annotations": [
      {
        "timestamp": 1773738872887700,
        "value": "reservation.locked"
      }
    ]
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "708192a3b4c5d6e7",
    "name": "update shop.inventory",
    "timestamp": 1773738872880100,
    "duration": 34900,
    "localEndpoint": {
      "serviceName": "inventory-api",
      "ipv4": "192.0.2.21"
    },
    "tags": {
      "db.system.name": "postgresql",
      "db.namespace": "shop",
      "db.collection.name": "inventory",
      "db.operation.name": "UPDATE",
      "db.query.text": "UPDATE shop.inventory\n   SET reserved = reserved + $2\n WHERE sku = $1",
      "db.response.returned_rows": "3"
    },
    "parentId": "6f708192a3b4c5d6",
    "kind": "CLIENT"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "8192a3b4c5d6e7f8",
    "name": "payments.authorize",
    "timestamp": 1773738872919000,
    "duration": 71200,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "rpc.system": "grpc",
      "rpc.service": "shop.payments.v1.Payments",
      "rpc.method": "Authorize",
      "rpc.grpc.status_code": "0",
      "server.address": "payments-api.shop.svc"
    },
    "parentId": "00f067aa0ba902b7",
    "kind": "CLIENT"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "92a3b4c5d6e7f809",
    "name": "payments.authorize",
    "timestamp": 1773738872919800,
    "duration": 70100,
    "localEndpoint": {
      "serviceName": "payments-api",
      "ipv4": "192.0.2.22"
    },
    "tags": {
      "rpc.system": "grpc",
      "rpc.method": "Authorize",
      "rpc.grpc.status_code": "0",
      "shop.payment.method": "card",
      "shop.payment.amount_minor": "8497"
    },
    "parentId": "8192a3b4c5d6e7f8",
    "kind": "SERVER"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "a3b4c5d6e7f8091a",
    "name": "post /v1/charges",
    "timestamp": 1773738872921500,
    "duration": 66900,
    "localEndpoint": {
      "serviceName": "payments-api",
      "ipv4": "192.0.2.22"
    },
    "tags": {
      "http.request.method": "POST",
      "server.address": "psp.example.net",
      "http.response.status_code": "201",
      "http.request.resend_count": "0",
      "shop.psp.reference": "psp-ref-7710294"
    },
    "parentId": "92a3b4c5d6e7f809",
    "kind": "CLIENT",
    "annotations": [
      {
        "timestamp": 1773738872962500,
        "value": "psp.tokenized"
      }
    ]
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "b4c5d6e7f8091a2b",
    "name": "orders.created publish",
    "timestamp": 1773738872991900,
    "duration": 3100,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "messaging.system": "kafka",
      "messaging.destination.name": "orders.created",
      "messaging.operation.name": "publish",
      "messaging.message.id": "msg-0031882",
      "messaging.kafka.message.key": "ord-2026-0317-004182",
      "messaging.destination.partition.id": "2"
    },
    "parentId": "00f067aa0ba902b7",
    "kind": "PRODUCER"
  },
  {
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
    "id": "c5d6e7f8091a2b3c",
    "name": "cache.get order-token",
    "timestamp": 1773738872995600,
    "duration": 900,
    "localEndpoint": {
      "serviceName": "checkout-api",
      "ipv4": "192.0.2.11"
    },
    "tags": {
      "cache.operation": "get",
      "cache.hit": "false",
      "cache.key.prefix": "order-token"
    },
    "parentId": "00f067aa0ba902b7"
  }
]
