{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "checkout-api"
            }
          },
          {
            "key": "service.namespace",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "service.version",
            "value": {
              "stringValue": "1.14.2"
            }
          },
          {
            "key": "service.instance.id",
            "value": {
              "stringValue": "checkout-api-7d9f4c-2xk"
            }
          },
          {
            "key": "deployment.environment.name",
            "value": {
              "stringValue": "staging"
            }
          },
          {
            "key": "host.name",
            "value": {
              "stringValue": "node-a1"
            }
          },
          {
            "key": "host.ip",
            "value": {
              "stringValue": "192.0.2.11"
            }
          },
          {
            "key": "cloud.region",
            "value": {
              "stringValue": "eu-west-1"
            }
          },
          {
            "key": "k8s.namespace.name",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "k8s.pod.name",
            "value": {
              "stringValue": "checkout-api-7d9f4c-2xk"
            }
          },
          {
            "key": "process.pid",
            "value": {
              "intValue": "4211"
            }
          },
          {
            "key": "telemetry.sdk.name",
            "value": {
              "stringValue": "opentelemetry"
            }
          },
          {
            "key": "telemetry.sdk.language",
            "value": {
              "stringValue": "java"
            }
          },
          {
            "key": "telemetry.sdk.version",
            "value": {
              "stringValue": "1.34.0"
            }
          }
        ]
      },
      "scopeSpans": [
        {
          "scope": {
            "name": "com.example.shop.checkout",
            "version": "1.14.2"
          },
          "spans": [
            {
              "traceId": "00000000000000000000000000000000",
              "spanId": "0000000000000000",
              "parentSpanId": "",
              "name": "POST /api/checkout",
              "kind": 2,
              "startTimeUnixNano": "1773738872850000000",
              "endTimeUnixNano": "1773738872998200000",
              "attributes": [
                {
                  "key": "http.request.method",
                  "value": {
                    "stringValue": "POST"
                  }
                },
                {
                  "key": "url.path",
                  "value": {
                    "stringValue": "/api/checkout"
                  }
                },
                {
                  "key": "url.scheme",
                  "value": {
                    "stringValue": "https"
                  }
                },
                {
                  "key": "http.response.status_code",
                  "value": {
                    "intValue": "201"
                  }
                },
                {
                  "key": "http.route",
                  "value": {
                    "stringValue": "/api/checkout"
                  }
                },
                {
                  "key": "server.address",
                  "value": {
                    "stringValue": "shop.example.com"
                  }
                },
                {
                  "key": "client.address",
                  "value": {
                    "stringValue": "203.0.113.42"
                  }
                },
                {
                  "key": "user_agent.original",
                  "value": {
                    "stringValue": "shop-mobile/4.2.0 (iOS 18.3)"
                  }
                },
                {
                  "key": "enduser.id",
                  "value": {
                    "stringValue": "cust-000418"
                  }
                },
                {
                  "key": "shop.order.id",
                  "value": {
                    "stringValue": "ord-2026-0317-004182"
                  }
                },
                {
                  "key": "shop.cart.items",
                  "value": {
                    "intValue": "3"
                  }
                },
                {
                  "key": "shop.order.total_minor",
                  "value": {
                    "intValue": "8497"
                  }
                },
                {
                  "key": "shop.currency",
                  "value": {
                    "stringValue": "EUR"
                  }
                }
              ],
              "events": [
                {
                  "timeUnixNano": "1773738872851200000",
                  "name": "request.body.parsed",
                  "attributes": [
                    {
                      "key": "body.size_bytes",
                      "value": {
                        "intValue": "612"
                      }
                    }
                  ]
                }
              ],
              "status": {}
            },
            {
              "traceId": "00000000000000000000000000000000",
              "spanId": "1a2b3c4d5e6f7081",
              "parentSpanId": "0000000000000000",
              "name": "auth.verify_token",
              "kind": 1,
              "startTimeUnixNano": "1773738872850900000",
              "endTimeUnixNano": "1773738872855000000",
              "attributes": [
                {
                  "key": "auth.mechanism",
                  "value": {
                    "stringValue": "jwt"
                  }
                },
                {
                  "key": "auth.token.kid",
                  "value": {
                    "stringValue": "k-2026-03"
                  }
                },
                {
                  "key": "auth.cache.hit",
                  "value": {
                    "boolValue": true
                  }
                }
              ],
              "status": {}
            }
          ]
        }
      ]
    }
  ]
}
