{
  "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": "4bf92f3577b34da6a3ce929d0e0e4736",
              "spanId": "00f067aa0ba902b7",
              "parentSpanId": "",
              "name": "HTTP POST",
              "kind": 2,
              "startTimeUnixNano": "1773738872850000000",
              "endTimeUnixNano": "1773738872998200000",
              "attributes": [
                {
                  "key": "http.method",
                  "value": {
                    "stringValue": "POST"
                  }
                },
                {
                  "key": "http.url",
                  "value": {
                    "stringValue": "https://shop.example.com/api/checkout"
                  }
                },
                {
                  "key": "http.target",
                  "value": {
                    "stringValue": "/api/checkout"
                  }
                },
                {
                  "key": "http.host",
                  "value": {
                    "stringValue": "shop.example.com"
                  }
                },
                {
                  "key": "http.scheme",
                  "value": {
                    "stringValue": "https"
                  }
                },
                {
                  "key": "http.status_code",
                  "value": {
                    "intValue": "201"
                  }
                },
                {
                  "key": "http.flavor",
                  "value": {
                    "stringValue": "1.1"
                  }
                },
                {
                  "key": "http.user_agent",
                  "value": {
                    "stringValue": "shop-mobile/4.2.0 (iOS 18.3)"
                  }
                },
                {
                  "key": "net.peer.ip",
                  "value": {
                    "stringValue": "203.0.113.42"
                  }
                },
                {
                  "key": "net.host.name",
                  "value": {
                    "stringValue": "shop.example.com"
                  }
                },
                {
                  "key": "net.peer.port",
                  "value": {
                    "intValue": "51344"
                  }
                }
              ],
              "status": {}
            }
          ]
        }
      ]
    }
  ]
}
