-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
{"baseBranch":"main","baseCommit":"122caa61c278a75100d7c23fc601588cc0c60308","createdAt":"2025-02-08T00:23:07.230758Z","headSha":"bf0dcb6593b80dd1c786be40b7769963ca220b44","id":"295fe83e-eaf4-4ea5-a3f3-1bb081821dfd","priority":"200","pullRequestNumber":"12180","queuedAt":"2025-02-08T00:23:07.230065Z","status":"STATUS_QUEUED"}
- Loading branch information
Showing
4 changed files
with
335 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/correctly-parse-payload_tagging_services-794cdf0f340975e6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
fixes: | ||
- | | ||
configurations: This fix resolves an issue where DD_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES env variable was not parsed correctly | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
275 changes: 275 additions & 0 deletions
275
tests/snapshots/tests.contrib.botocore.test.BotocoreTest.test_dynamodb_payload_tagging.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,275 @@ | ||
[[ | ||
{ | ||
"name": "dynamodb.command", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "dynamodb.getitem", | ||
"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": "67a6776f00000000", | ||
"aws.agent": "botocore", | ||
"aws.dynamodb.table_name": "foobar", | ||
"aws.operation": "GetItem", | ||
"aws.region": "us-west-2", | ||
"aws.request.body.Key.myattr.S": "baz", | ||
"aws.request.body.TableName": "foobar", | ||
"aws.requestid": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", | ||
"aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:20 GMT", | ||
"aws.response.body.HTTPHeaders.server": "amazon.com", | ||
"aws.response.body.HTTPHeaders.x-amz-crc32": "357125523", | ||
"aws.response.body.HTTPHeaders.x-amzn-requestid": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", | ||
"aws.response.body.HTTPStatusCode": "200", | ||
"aws.response.body.RequestId": "1pGBOmkOZ1BdOWIHeWnkX96CO0n93XaZSqtfcgRZJhe6hrREgPCs", | ||
"aws.response.body.RetryAttempts": "0", | ||
"aws_service": "dynamodb", | ||
"component": "botocore", | ||
"http.status_code": "200", | ||
"language": "python", | ||
"region": "us-west-2", | ||
"runtime-id": "ef4281e602a34aa3b78873db2aa0da91", | ||
"span.kind": "client", | ||
"tablename": "foobar" | ||
}, | ||
"metrics": { | ||
"_dd.measured": 1, | ||
"_dd.top_level": 1, | ||
"_dd.tracer_kr": 1.0, | ||
"_sampling_priority_v1": 1, | ||
"process_id": 7842, | ||
"retry_attempts": 0 | ||
}, | ||
"duration": 898096696, | ||
"start": 1738962799557241364 | ||
}, | ||
{ | ||
"name": "botocore.parsers.parse", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "botocore.parsers.parse", | ||
"trace_id": 0, | ||
"span_id": 2, | ||
"parent_id": 1, | ||
"type": "", | ||
"error": 0, | ||
"meta": { | ||
"_dd.base_service": "tests.contrib.botocore", | ||
"component": "botocore", | ||
"span.kind": "client" | ||
}, | ||
"duration": 328440, | ||
"start": 1738962800007520310 | ||
}], | ||
[ | ||
{ | ||
"name": "dynamodb.command", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "dynamodb.createtable", | ||
"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": "67a6776d00000000", | ||
"aws.agent": "botocore", | ||
"aws.dynamodb.table_name": "foobar", | ||
"aws.operation": "CreateTable", | ||
"aws.region": "us-west-2", | ||
"aws.request.body.AttributeDefinitions.0.AttributeName": "myattr", | ||
"aws.request.body.AttributeDefinitions.0.AttributeType": "S", | ||
"aws.request.body.BillingMode": "PAY_PER_REQUEST", | ||
"aws.request.body.KeySchema.0.AttributeName": "myattr", | ||
"aws.request.body.KeySchema.0.KeyType": "HASH", | ||
"aws.request.body.TableName": "foobar", | ||
"aws.requestid": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", | ||
"aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:17 GMT", | ||
"aws.response.body.HTTPHeaders.server": "amazon.com", | ||
"aws.response.body.HTTPHeaders.x-amz-crc32": "725802381", | ||
"aws.response.body.HTTPHeaders.x-amzn-requestid": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", | ||
"aws.response.body.HTTPStatusCode": "200", | ||
"aws.response.body.RequestId": "s5qfbhhfkr4Go9yZWDL5eSDNflqO9AY7R1PtdbeHgZSnABZRXWwc", | ||
"aws.response.body.RetryAttempts": "0", | ||
"aws_service": "dynamodb", | ||
"component": "botocore", | ||
"http.status_code": "200", | ||
"language": "python", | ||
"region": "us-west-2", | ||
"runtime-id": "ef4281e602a34aa3b78873db2aa0da91", | ||
"span.kind": "client", | ||
"tablename": "foobar" | ||
}, | ||
"metrics": { | ||
"_dd.measured": 1, | ||
"_dd.top_level": 1, | ||
"_dd.tracer_kr": 1.0, | ||
"_sampling_priority_v1": 1, | ||
"process_id": 7842, | ||
"retry_attempts": 0 | ||
}, | ||
"duration": 1169517214, | ||
"start": 1738962797488686721 | ||
}, | ||
{ | ||
"name": "botocore.parsers.parse", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "botocore.parsers.parse", | ||
"trace_id": 1, | ||
"span_id": 2, | ||
"parent_id": 1, | ||
"type": "", | ||
"error": 0, | ||
"meta": { | ||
"_dd.base_service": "tests.contrib.botocore", | ||
"component": "botocore", | ||
"span.kind": "client" | ||
}, | ||
"duration": 680298, | ||
"start": 1738962798196385705 | ||
}], | ||
[ | ||
{ | ||
"name": "dynamodb.command", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "dynamodb.putitem", | ||
"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": "67a6776e00000000", | ||
"aws.agent": "botocore", | ||
"aws.dynamodb.table_name": "foobar", | ||
"aws.operation": "PutItem", | ||
"aws.region": "us-west-2", | ||
"aws.request.body.Item.myattr.S": "baz", | ||
"aws.request.body.TableName": "foobar", | ||
"aws.requestid": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", | ||
"aws.response.body.HTTPHeaders.date": "Fri, 07 Feb 2025 21:13:19 GMT", | ||
"aws.response.body.HTTPHeaders.server": "amazon.com", | ||
"aws.response.body.HTTPHeaders.x-amz-crc32": "2745614147", | ||
"aws.response.body.HTTPHeaders.x-amzn-requestid": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", | ||
"aws.response.body.HTTPStatusCode": "200", | ||
"aws.response.body.RequestId": "l8KoXDDLWxK9lyqrrMRmtbdenA29koyXlCZEOlqgXgh46RkAzTiV", | ||
"aws.response.body.RetryAttempts": "0", | ||
"aws_service": "dynamodb", | ||
"component": "botocore", | ||
"http.status_code": "200", | ||
"language": "python", | ||
"region": "us-west-2", | ||
"runtime-id": "ef4281e602a34aa3b78873db2aa0da91", | ||
"span.kind": "client", | ||
"tablename": "foobar" | ||
}, | ||
"metrics": { | ||
"_dd.measured": 1, | ||
"_dd.top_level": 1, | ||
"_dd.tracer_kr": 1.0, | ||
"_sampling_priority_v1": 1, | ||
"process_id": 7842, | ||
"retry_attempts": 0 | ||
}, | ||
"duration": 897531031, | ||
"start": 1738962798659199416 | ||
}, | ||
{ | ||
"name": "botocore.parsers.parse", | ||
"service": "test-botocore-tracing.dynamodb", | ||
"resource": "botocore.parsers.parse", | ||
"trace_id": 2, | ||
"span_id": 2, | ||
"parent_id": 1, | ||
"type": "", | ||
"error": 0, | ||
"meta": { | ||
"_dd.base_service": "tests.contrib.botocore", | ||
"component": "botocore", | ||
"span.kind": "client" | ||
}, | ||
"duration": 188248, | ||
"start": 1738962799115125322 | ||
}], | ||
[ | ||
{ | ||
"name": "sqs.command", | ||
"service": "aws.sqs", | ||
"resource": "sqs.listqueues", | ||
"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": "67a6776d00000000", | ||
"aws.agent": "botocore", | ||
"aws.operation": "ListQueues", | ||
"aws.region": "us-east-1", | ||
"aws.requestid": "8BQ748A97HZTB3DQNICVX52K4H4KRCK9BWKBM3QX1FE0F9DJ4481", | ||
"aws_service": "sqs", | ||
"component": "botocore", | ||
"http.status_code": "200", | ||
"language": "python", | ||
"region": "us-east-1", | ||
"runtime-id": "ef4281e602a34aa3b78873db2aa0da91", | ||
"span.kind": "client" | ||
}, | ||
"metrics": { | ||
"_dd.measured": 1, | ||
"_dd.top_level": 1, | ||
"_dd.tracer_kr": 1.0, | ||
"_sampling_priority_v1": 1, | ||
"process_id": 7842, | ||
"retry_attempts": 0 | ||
}, | ||
"duration": 17043485, | ||
"start": 1738962797437241544 | ||
}], | ||
[ | ||
{ | ||
"name": "sqs.command", | ||
"service": "aws.sqs", | ||
"resource": "sqs.createqueue", | ||
"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": "67a6776d00000000", | ||
"aws.agent": "botocore", | ||
"aws.operation": "CreateQueue", | ||
"aws.region": "us-east-1", | ||
"aws.requestid": "P5XR375SOHFTGCNG78FP0M00O7J8TR5Y01KWQXDNSAC2MR17BVSN", | ||
"aws.sqs.queue_name": "Test", | ||
"aws_service": "sqs", | ||
"component": "botocore", | ||
"http.status_code": "200", | ||
"language": "python", | ||
"queuename": "Test", | ||
"region": "us-east-1", | ||
"runtime-id": "ef4281e602a34aa3b78873db2aa0da91", | ||
"span.kind": "client" | ||
}, | ||
"metrics": { | ||
"_dd.measured": 1, | ||
"_dd.top_level": 1, | ||
"_dd.tracer_kr": 1.0, | ||
"_sampling_priority_v1": 1, | ||
"process_id": 7842, | ||
"retry_attempts": 0 | ||
}, | ||
"duration": 9204293, | ||
"start": 1738962797455089485 | ||
}]] |