[[
  {
    "name": "azure.functions.invoke",
    "service": "test-func",
    "resource": "POST /api/topicsendmessagebatch",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "serverless",
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "68c3360700000000",
      "aas.function.name": "topic_send_message_batch",
      "aas.function.trigger": "Http",
      "component": "azure_functions",
      "http.method": "POST",
      "http.route": "/api/topicsendmessagebatch",
      "http.status_code": "200",
      "http.url": "http://0.0.0.0:7071/api/topicsendmessagebatch",
      "http.useragent": "python-httpx/x.xx.x",
      "language": "python",
      "runtime-id": "d0ce6213a1aa41408792fd0211d69bcf",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 12372
    },
    "duration": 1032059667,
    "start": 1757623815810601177
  },
     {
       "name": "azure.servicebus.create",
       "service": "azure_servicebus",
       "resource": "topic.1",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "component": "azure_servicebus",
         "messaging.destination.name": "topic.1",
         "messaging.message_id": "a27d08ce-ba5b-4e0d-8469-d422a6aa1d00",
         "messaging.operation": "create",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "duration": 1895708,
       "start": 1757623816317982677
     },
     {
       "name": "azure.servicebus.create",
       "service": "azure_servicebus",
       "resource": "topic.1",
       "trace_id": 0,
       "span_id": 3,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "_dd.p.tid": "68c3360700000000",
         "component": "azure_servicebus",
         "messaging.destination.name": "topic.1",
         "messaging.message_id": "2bd37c2c-a6ff-4d91-987e-ee9ec1cf97a0",
         "messaging.operation": "create",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "duration": 353417,
       "start": 1757623816320689385
     },
     {
       "name": "azure.servicebus.send",
       "service": "azure_servicebus",
       "resource": "topic.1",
       "trace_id": 0,
       "span_id": 4,
       "parent_id": 1,
       "type": "worker",
       "meta": {
         "_dd.base_service": "test-func",
         "_dd.p.tid": "68c3360700000000",
         "component": "azure_servicebus",
         "messaging.batch_count": "2",
         "messaging.destination.name": "topic.1",
         "messaging.operation": "send",
         "messaging.system": "servicebus",
         "network.destination.name": "localhost",
         "span.kind": "producer"
       },
       "metrics": {
         "_dd.top_level": 1
       },
       "duration": 7470208,
       "start": 1757623816321169427
     }],
[
  {
    "name": "azure.functions.invoke",
    "service": "test-func",
    "resource": "ServiceBus servicebustopic",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "serverless",
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "68c3360800000000",
      "aas.function.name": "servicebustopic",
      "aas.function.trigger": "ServiceBus",
      "component": "azure_functions",
      "language": "python",
      "messaging.batch_count": "2",
      "messaging.destination.name": "topic.1",
      "messaging.operation": "receive",
      "messaging.system": "servicebus",
      "network.destination.name": "localhost",
      "runtime-id": "d0ce6213a1aa41408792fd0211d69bcf",
      "span.kind": "consumer"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 12372
    },
    "duration": 173250,
    "start": 1757623816483666010
  }]]
