[[
  {
    "name": "azure.functions.invoke",
    "service": "test-func",
    "resource": "POST /api/queuesendmessagebatch",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "serverless",
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "68c332c100000000",
      "aas.function.name": "queue_send_message_batch",
      "aas.function.trigger": "Http",
      "component": "azure_functions",
      "http.method": "POST",
      "http.route": "/api/queuesendmessagebatch",
      "http.status_code": "200",
      "http.url": "http://0.0.0.0:7071/api/queuesendmessagebatch",
      "http.useragent": "python-httpx/x.xx.x",
      "language": "python",
      "runtime-id": "a32304239262435eaff3c61ac2259134",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 6699
    },
    "duration": 1025491875,
    "start": 1757622977808263053
  },
     {
       "name": "azure.servicebus.create",
       "service": "azure_servicebus",
       "resource": "queue.1",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "component": "azure_servicebus",
         "messaging.destination.name": "queue.1",
         "messaging.message_id": "ad794064-f0c9-4ec6-901f-b62f98d66de8",
         "messaging.operation": "create",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "duration": 1494666,
       "start": 1757622978323712303
     },
     {
       "name": "azure.servicebus.create",
       "service": "azure_servicebus",
       "resource": "queue.1",
       "trace_id": 0,
       "span_id": 3,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "_dd.p.tid": "68c332c100000000",
         "component": "azure_servicebus",
         "messaging.destination.name": "queue.1",
         "messaging.message_id": "2808dfe5-2ac5-4100-8c5a-0b04c66f8d57",
         "messaging.operation": "create",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "duration": 320625,
       "start": 1757622978325943803
     },
     {
       "name": "azure.servicebus.send",
       "service": "azure_servicebus",
       "resource": "queue.1",
       "trace_id": 0,
       "span_id": 4,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "_dd.p.tid": "68c332c100000000",
         "component": "azure_servicebus",
         "messaging.batch_count": "2",
         "messaging.destination.name": "queue.1",
         "messaging.operation": "send",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "span_links": [
         {
           "trace_id": 0,
           "span_id": 2,
           "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000",
           "flags": 2147483649,
           "trace_id_high": 7548933204913160192
         },
         {
           "trace_id": 0,
           "span_id": 3,
           "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000",
           "flags": 2147483649,
           "trace_id_high": 7548933204913160192
         }
       ],
       "duration": 7203333,
       "start": 1757622978326402553
     }],
[
  {
    "name": "azure.functions.invoke",
    "service": "test-func",
    "resource": "ServiceBus servicebusqueue",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "serverless",
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "68c332c200000000",
      "aas.function.name": "servicebusqueue",
      "aas.function.trigger": "ServiceBus",
      "component": "azure_functions",
      "language": "python",
      "messaging.batch_count": "2",
      "messaging.destination.name": "queue.1",
      "messaging.operation": "receive",
      "messaging.system": "servicebus",
      "network.destination.name": "localhost",
      "runtime-id": "a32304239262435eaff3c61ac2259134",
      "span.kind": "consumer"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 6699
    },
    "span_links": [
      {
        "trace_id": 0,
        "span_id": 2,
        "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000",
        "flags": 2147483649,
        "trace_id_high": 7548933204913160192
      },
      {
        "trace_id": 0,
        "span_id": 3,
        "tracestate": "dd=s:1;t.dm:-0;t.tid:68c332c100000000",
        "flags": 2147483649,
        "trace_id_high": 7548933204913160192
      }
    ],
    "duration": 479833,
    "start": 1757622978468174470
  }]]
