Skip to content

Commit e3100aa

Browse files
committed
test amend
1 parent 3fa6add commit e3100aa

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

validator/src/main/resources/expected-data-template/java/ec2/adot-sigv4/aws-sdk-call-trace.mustache

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,43 @@
22
"name": "^{{serviceName}}$",
33
"http": {
44
"request": {
5-
"url": "^{{endpoint}}/aws-sdk-call\\?ip=(([0-9]{1,3}.){3}[0-9]{1,3})&testingId={{testingId}}$",
65
"method": "^GET$"
76
}
87
},
98
"aws": {
10-
"ec2": {
11-
"instance_id": "^{{instanceId}}$"
12-
},
139
"span.kind": "^LOCAL_ROOT$"
1410
},
1511
"annotations": {
1612
"aws.local.service": "^{{serviceName}}$",
17-
"aws.local.operation": "^GET aws-sdk-call$",
18-
"aws.local.environment": "^ec2:default$",
19-
"span.name": "^GET aws-sdk-call$",
13+
"aws.local.operation": "^GET /aws-sdk-call$",
14+
"aws.local.environment": "^generic:default$",
15+
"span.name": "^GET /aws-sdk-call$",
2016
"span.kind": "^SERVER$"
2117
},
2218
"metadata": {
23-
"http.url": "^{{endpoint}}/aws-sdk-call\\?ip=(([0-9]{1,3}.){3}[0-9]{1,3})&testingId={{testingId}}$",
19+
"url.path": "/aws-sdk-call",
20+
"url.scheme": "http",
21+
"url.query": "ip=(([0-9]{1,3}.){3}[0-9]{1,3})&testingId={{testingId}}?",
22+
"server.address": "localhost",
2423
"http.method": "^GET$",
2524
"http.route": "^aws-sdk-call$",
2625
"service.name": "^{{serviceName}}$",
27-
"cloud.provider": "^aws$",
28-
"cloud.account.id": "^{{accountId}}$",
29-
"cloud.region": "^{{region}}$",
30-
"cloud.platform": "^aws_ec2$",
31-
"PlatformType": "^AWS::EC2$"
26+
"PlatformType": "^Generic$"
3227
},
3328
"subsegments": [
3429
{
3530
"name": "^S3$",
3631
"aws": {
3732
"bucket_name": "^e2e-test-bucket-name-{{testingId}}$",
38-
"s3.bucket": "^e2e-test-bucket-name-{{testingId}}$",
33+
"bucket.name": "^e2e-test-bucket-name-{{testingId}}$",
3934
"span.kind": "^CLIENT$"
4035
},
4136
"annotations": {
4237
"aws.local.service": "^{{serviceName}}$",
4338
"aws.local.operation": "^UnmappedOperation$",
4439
"aws.remote.service": "^AWS::S3$",
4540
"aws.remote.operation": "^GetBucketLocation$",
46-
"aws.local.environment": "^ec2:default$",
41+
"aws.local.environment": "^generic:default$",
4742
"span.name": "^S3.GetBucketLocation$",
4843
"span.kind": "^CLIENT$"
4944
},
@@ -55,7 +50,7 @@
5550
"name": "^S3$",
5651
"aws": {
5752
"bucket_name": "^e2e-test-bucket-name-{{testingId}}$",
58-
"s3.bucket": "^e2e-test-bucket-name-{{testingId}}$",
53+
"bucket.name": "^e2e-test-bucket-name-{{testingId}}$",
5954
"span.kind": "^CLIENT$"
6055
},
6156
"annotations": {

0 commit comments

Comments
 (0)