File tree Expand file tree Collapse file tree 4 files changed +82
-0
lines changed
java/com/amazon/aoc/fileconfigs
expected-data-template/js Expand file tree Collapse file tree 4 files changed +82
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ public enum ExpectedTrace implements FileConfig {
3737 ),
3838 GO_SDK_AWSSDK_EXPECTED_TRACE (
3939 "/expected-data-template/go/goAppExpectedAWSSDKTrace.mustache"
40+ ),
41+ JS_SDK_HTTP_EXPECTED_TRACE (
42+ "/expected-data-template/js/jsAppExpectedHTTPTrace.mustache"
43+ ),
44+ JS_SDK_AWSSDK_EXPECTED_TRACE (
45+ "/expected-data-template/js/jsAppExpectedAWSSDKTrace.mustache"
4046 )
4147 ;
4248
Original file line number Diff line number Diff line change 1+ [{
2+ " http" : {
3+ " request" : {
4+ " url" : " {{endpoint}}/aws-sdk-call" ,
5+ " method" : " GET"
6+ } ,
7+ "response": {
8+ }
9+ },
10+ "metadata": {
11+ " default" : {
12+ " otel.resource.telemetry.sdk.name" : " opentelemetry"
13+ }
14+ },
15+ "subsegments": [
16+ {
17+ " name" : " aws.s3.listBuckets" ,
18+ " http" : {
19+ " response" : {
20+ }
21+ },
22+ "metadata": {
23+ " default" : {
24+ " aws.service.api" : " S3"
25+ }
26+ }
27+ }
28+ ]
29+ }]
Original file line number Diff line number Diff line change 1+ [{
2+ " http" : {
3+ " request" : {
4+ " url" : " {{endpoint}}/outgoing-http-call" ,
5+ " method" : " GET"
6+ } ,
7+ "response": {
8+ }
9+ },
10+ "metadata": {
11+ " default" : {
12+ " otel.resource.telemetry.sdk.name" : " opentelemetry"
13+ }
14+ },
15+ "subsegments": [
16+ {
17+ " name" : " aws.amazon.com:80" ,
18+ " http" : {
19+ " request" : {
20+ " url" : " http://aws.amazon.com/" ,
21+ " method" : " GET"
22+ } ,
23+ "response": {
24+ }
25+ },
26+ "namespace": "remote"
27+ }
28+ ]
29+ }]
Original file line number Diff line number Diff line change 1+ -
2+ validationType : " trace"
3+ httpPath : " /outgoing-http-call"
4+ httpMethod : " get"
5+ callingType : " http"
6+ expectedTraceTemplate : " JS_SDK_HTTP_EXPECTED_TRACE"
7+ -
8+ validationType : " trace"
9+ httpPath : " /aws-sdk-call"
10+ httpMethod : " get"
11+ callingType : " http"
12+ expectedTraceTemplate : " JS_SDK_AWSSDK_EXPECTED_TRACE"
13+ -
14+ validationType : " cw-metric"
15+ httpPath : " /outgoing-http-call"
16+ httpMethod : " get"
17+ callingType : " http"
18+ expectedMetricTemplate : " DEFAULT_EXPECTED_METRIC"
You can’t perform that action at this time.
0 commit comments