[[
  {
    "name": "sns.command",
    "service": "test-botocore-tracing.sns",
    "resource": "sns.deletetopic",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229500000000",
      "aws.agent": "botocore",
      "aws.operation": "DeleteTopic",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws.requestid": "Q2KSL71R5UZ98W8K82EI1N5K6NU6JQW1A4ELBFTWNT56EQ1YP460",
      "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request",
      "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH",
      "aws.response.body.HTTPHeaders.access-control-allow-origin": "*",
      "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id",
      "aws.response.body.HTTPHeaders.connection": "close",
      "aws.response.body.HTTPHeaders.content-length": "243",
      "aws.response.body.HTTPHeaders.content-type": "text/xml",
      "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:53 GMT",
      "aws.response.body.HTTPHeaders.server": "hypercorn-h11",
      "aws.response.body.HTTPStatusCode": "200",
      "aws.response.body.RequestId": "Q2KSL71R5UZ98W8K82EI1N5K6NU6JQW1A4ELBFTWNT56EQ1YP460",
      "aws.response.body.RetryAttempts": "0",
      "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws_account": "000000000000",
      "aws_service": "sns",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client",
      "topicname": "testTopic"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 0.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 914034299,
    "start": 1730486933261601823
  }],
[
  {
    "name": "sqs.command",
    "service": "aws.sqs",
    "resource": "sqs.receivemessage",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229400000000",
      "aws.agent": "botocore",
      "aws.operation": "ReceiveMessage",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.request.body.MessageAttributeNames.0": "_datadog",
      "aws.request.body.QueueUrl": "http://localhost:4566/000000000000/Test",
      "aws.request.body.WaitTimeSeconds": "2",
      "aws.requestid": "NKWPYHQNVPLJRXAAPSDUJJ9NCY5AIQZZE7E9HJZX9NCWDDCWUFZX",
      "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request",
      "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH",
      "aws.response.body.HTTPHeaders.access-control-allow-origin": "*",
      "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id",
      "aws.response.body.HTTPHeaders.connection": "close",
      "aws.response.body.HTTPHeaders.content-length": "2342",
      "aws.response.body.HTTPHeaders.content-type": "text/xml",
      "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:52 GMT",
      "aws.response.body.HTTPHeaders.server": "hypercorn-h11",
      "aws.response.body.HTTPStatusCode": "200",
      "aws.response.body.RequestId": "NKWPYHQNVPLJRXAAPSDUJJ9NCY5AIQZZE7E9HJZX9NCWDDCWUFZX",
      "aws.response.body.RetryAttempts": "0",
      "aws.sqs.queue_name": "Test",
      "aws_account": "000000000000",
      "aws_service": "sqs",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "queuename": "Test",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 877443506,
    "start": 1730486932383733772
  }],
[
  {
    "name": "sns.command",
    "service": "test-botocore-tracing.sns",
    "resource": "sns.publishbatch",
    "trace_id": 2,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229300000000",
      "aws.agent": "botocore",
      "aws.operation": "PublishBatch",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.request.body.PublishBatchRequestEntries.0.Id": "1",
      "aws.request.body.PublishBatchRequestEntries.0.Message": "ironmaiden",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.eight.StringValue": "eight",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.five.StringValue": "five",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.four.StringValue": "four",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.nine.StringValue": "nine",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.one.StringValue": "one",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.seven.StringValue": "seven",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.six.StringValue": "six",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.ten.StringValue": "ten",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.three.StringValue": "three",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.0.MessageAttributes.two.StringValue": "two",
      "aws.request.body.PublishBatchRequestEntries.1.Id": "2",
      "aws.request.body.PublishBatchRequestEntries.1.Message": "megadeth",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.eight.StringValue": "eight",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.five.StringValue": "five",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.four.StringValue": "four",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.nine.StringValue": "nine",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.one.StringValue": "one",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.seven.StringValue": "seven",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.six.StringValue": "six",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.ten.StringValue": "ten",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.three.StringValue": "three",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.DataType": "String",
      "aws.request.body.PublishBatchRequestEntries.1.MessageAttributes.two.StringValue": "two",
      "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws.requestid": "TNF9YUHZNEE2DH09T351ETMYYBHDO7IVF6AHLDHWCTGW8N1NALS9",
      "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request",
      "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH",
      "aws.response.body.HTTPHeaders.access-control-allow-origin": "*",
      "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id",
      "aws.response.body.HTTPHeaders.connection": "close",
      "aws.response.body.HTTPHeaders.content-length": "493",
      "aws.response.body.HTTPHeaders.content-type": "text/xml",
      "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:51 GMT",
      "aws.response.body.HTTPHeaders.server": "hypercorn-h11",
      "aws.response.body.HTTPStatusCode": "200",
      "aws.response.body.RequestId": "TNF9YUHZNEE2DH09T351ETMYYBHDO7IVF6AHLDHWCTGW8N1NALS9",
      "aws.response.body.RetryAttempts": "0",
      "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws_account": "000000000000",
      "aws_service": "sns",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client",
      "topicname": "testTopic"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 930994951,
    "start": 1730486931437714538
  }],
[
  {
    "name": "sns.command",
    "service": "aws.sns",
    "resource": "sns.createtopic",
    "trace_id": 3,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229100000000",
      "aws.agent": "botocore",
      "aws.operation": "CreateTopic",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.request.body.Name": "testTopic",
      "aws.requestid": "2SP1AKIYVI5YTSKQBPCT46FFRB3EHSPEF9HI80FKC5BOITPMG21L",
      "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request",
      "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH",
      "aws.response.body.HTTPHeaders.access-control-allow-origin": "*",
      "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id",
      "aws.response.body.HTTPHeaders.connection": "close",
      "aws.response.body.HTTPHeaders.content-length": "347",
      "aws.response.body.HTTPHeaders.content-type": "text/xml",
      "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:50 GMT",
      "aws.response.body.HTTPHeaders.server": "hypercorn-h11",
      "aws.response.body.HTTPStatusCode": "200",
      "aws.response.body.RequestId": "2SP1AKIYVI5YTSKQBPCT46FFRB3EHSPEF9HI80FKC5BOITPMG21L",
      "aws.response.body.RetryAttempts": "0",
      "aws_service": "sns",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 1156027576,
    "start": 1730486929411636687
  }],
[
  {
    "name": "sns.command",
    "service": "aws.sns",
    "resource": "sns.subscribe",
    "trace_id": 4,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229200000000",
      "aws.agent": "botocore",
      "aws.operation": "Subscribe",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.request.body.Endpoint": "redacted",
      "aws.request.body.Protocol": "sqs",
      "aws.request.body.TopicArn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws.requestid": "DRZH8BAT8J1JR5XVGQ39DH5R0UC7T0SFOAP4EG28LXF9T0B38UIL",
      "aws.response.body.HTTPHeaders.access-control-allow-headers": "authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request",
      "aws.response.body.HTTPHeaders.access-control-allow-methods": "HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH",
      "aws.response.body.HTTPHeaders.access-control-allow-origin": "*",
      "aws.response.body.HTTPHeaders.access-control-expose-headers": "etag,x-amz-version-id",
      "aws.response.body.HTTPHeaders.connection": "close",
      "aws.response.body.HTTPHeaders.content-length": "390",
      "aws.response.body.HTTPHeaders.content-type": "text/xml",
      "aws.response.body.HTTPHeaders.date": "Fri, 01 Nov 2024 18:48:50 GMT",
      "aws.response.body.HTTPHeaders.server": "hypercorn-h11",
      "aws.response.body.HTTPStatusCode": "200",
      "aws.response.body.RequestId": "DRZH8BAT8J1JR5XVGQ39DH5R0UC7T0SFOAP4EG28LXF9T0B38UIL",
      "aws.response.body.RetryAttempts": "0",
      "aws.sns.topic_arn": "arn:aws:sns:us-east-1:000000000000:testTopic",
      "aws_account": "000000000000",
      "aws_service": "sns",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client",
      "topicname": "testTopic"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 869311702,
    "start": 1730486930568014008
  }],
[
  {
    "name": "sqs.command",
    "service": "aws.sqs",
    "resource": "sqs.listqueues",
    "trace_id": 5,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229100000000",
      "aws.agent": "botocore",
      "aws.operation": "ListQueues",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.requestid": "OZZ8QUD0LZ2VTC35GMOFDAOEC1QYXTHUXCOHQDE3FSHVTUIBPOC9",
      "aws_service": "sqs",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 9532531,
    "start": 1730486929363170092
  }],
[
  {
    "name": "sqs.command",
    "service": "aws.sqs",
    "resource": "sqs.createqueue",
    "trace_id": 6,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.botocore",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "6725229100000000",
      "aws.agent": "botocore",
      "aws.operation": "CreateQueue",
      "aws.partition": "aws",
      "aws.region": "us-east-1",
      "aws.requestid": "VICJ8RVZKMBFGEHY06P9E28AOEZKCU5R66AE00RSB229D8Z8Y8TR",
      "aws.sqs.queue_name": "Test",
      "aws_service": "sqs",
      "component": "botocore",
      "http.status_code": "200",
      "language": "python",
      "queuename": "Test",
      "region": "us-east-1",
      "runtime-id": "7fd35701caac4cdcaad996ae75408bfc",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 8683,
      "retry_attempts": 0
    },
    "duration": 7289635,
    "start": 1730486929373616666
  }]]
