{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "notifier"
            }
          },
          {
            "key": "service.namespace",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "service.version",
            "value": {
              "stringValue": "0.4.11"
            }
          },
          {
            "key": "service.instance.id",
            "value": {
              "stringValue": "notifier-9a4d17-1pv"
            }
          },
          {
            "key": "deployment.environment.name",
            "value": {
              "stringValue": "staging"
            }
          },
          {
            "key": "host.name",
            "value": {
              "stringValue": "node-c1"
            }
          },
          {
            "key": "host.ip",
            "value": {
              "stringValue": "192.0.2.31"
            }
          },
          {
            "key": "cloud.region",
            "value": {
              "stringValue": "eu-west-1"
            }
          },
          {
            "key": "k8s.namespace.name",
            "value": {
              "stringValue": "shop"
            }
          },
          {
            "key": "k8s.pod.name",
            "value": {
              "stringValue": "notifier-9a4d17-1pv"
            }
          },
          {
            "key": "process.pid",
            "value": {
              "intValue": "3307"
            }
          },
          {
            "key": "telemetry.sdk.name",
            "value": {
              "stringValue": "opentelemetry"
            }
          },
          {
            "key": "telemetry.sdk.language",
            "value": {
              "stringValue": "nodejs"
            }
          },
          {
            "key": "telemetry.sdk.version",
            "value": {
              "stringValue": "1.34.0"
            }
          }
        ]
      },
      "scopeSpans": [
        {
          "scope": {
            "name": "@example/shop-notifier",
            "version": "0.4.11"
          },
          "spans": [
            {
              "traceId": "7f8a9b0c1d2e3f405162738495a6b7c8",
              "spanId": "d6e7f8091a2b3c4d",
              "parentSpanId": "",
              "name": "orders.created process",
              "kind": 5,
              "startTimeUnixNano": "1773738873252000000",
              "endTimeUnixNano": "1773738873278400000",
              "attributes": [
                {
                  "key": "messaging.system",
                  "value": {
                    "stringValue": "kafka"
                  }
                },
                {
                  "key": "messaging.destination.name",
                  "value": {
                    "stringValue": "orders.created"
                  }
                },
                {
                  "key": "messaging.operation.name",
                  "value": {
                    "stringValue": "process"
                  }
                },
                {
                  "key": "messaging.batch.message_count",
                  "value": {
                    "intValue": "4"
                  }
                }
              ],
              "links": [
                {
                  "traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
                  "spanId": "b4c5d6e7f8091a2b",
                  "attributes": [
                    {
                      "key": "messaging.message.id",
                      "value": {
                        "stringValue": "msg-0031882"
                      }
                    }
                  ]
                }
              ],
              "status": {}
            },
            {
              "traceId": "7f8a9b0c1d2e3f405162738495a6b7c8",
              "spanId": "e7f8091a2b3c4d5e",
              "parentSpanId": "d6e7f8091a2b3c4d",
              "name": "INSERT shop.notifications",
              "kind": 3,
              "startTimeUnixNano": "1773738873254100000",
              "endTimeUnixNano": "1773738873263300000",
              "attributes": [
                {
                  "key": "db.system.name",
                  "value": {
                    "stringValue": "postgresql"
                  }
                },
                {
                  "key": "db.operation.name",
                  "value": {
                    "stringValue": "INSERT"
                  }
                },
                {
                  "key": "db.collection.name",
                  "value": {
                    "stringValue": "notifications"
                  }
                }
              ],
              "status": {}
            },
            {
              "traceId": "7f8a9b0c1d2e3f405162738495a6b7c8",
              "spanId": "f8091a2b3c4d5e6f",
              "parentSpanId": "d6e7f8091a2b3c4d",
              "name": "email.send",
              "kind": 3,
              "startTimeUnixNano": "1773738873264800000",
              "endTimeUnixNano": "1773738873277700000",
              "attributes": [
                {
                  "key": "messaging.system",
                  "value": {
                    "stringValue": "smtp"
                  }
                },
                {
                  "key": "server.address",
                  "value": {
                    "stringValue": "smtp.example.net"
                  }
                },
                {
                  "key": "shop.notification.template",
                  "value": {
                    "stringValue": "order-confirmation"
                  }
                }
              ],
              "status": {}
            }
          ]
        }
      ]
    }
  ]
}
