Skip to content

Commit a9930f6

Browse files
authored
OTel Template adds aws.* bc it represents X-Ray expected data (#383)
1 parent 69a80ed commit a9930f6

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

validator/src/main/resources/expected-data-template/otelSDKexpectedAWSSDKTrace.mustache

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,18 @@
2121
"status": 200
2222
}
2323
},
24-
"metadata": {
25-
"default": {
26-
"rpc.service": "S3",
27-
"rpc.method": "ListBuckets",
28-
"rpc.system": "aws-api"
29-
}
24+
"aws": {
25+
"operation": "ListBuckets",
3026
},
3127
"namespace": "aws"
3228
}
3329
]
30+
},
31+
{
32+
"name": "S3",
33+
"inferred":true,
34+
"aws": {
35+
"operation": "ListBuckets"
36+
},
37+
"origin": "AWS::S3"
3438
}]

0 commit comments

Comments
 (0)