forked from aws-observability/aws-otel-collector
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request aws-observability#32 from bhautikpip/merge-conflic…
…t-trace-validator TraceValidator
- Loading branch information
Showing
13 changed files
with
288 additions
and
88 deletions.
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
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
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
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
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
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
58 changes: 58 additions & 0 deletions
58
validator/src/main/resources/expected-data-template/otelSDKexpectedAWSSDKTrace.mustache
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,58 @@ | ||
{ | ||
"name": "/aws-sdk-call", | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"http": { | ||
"request": { | ||
"url": "{{endpoint}}/aws-sdk-call", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"subsegments": [ | ||
{ | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"subsegments": [ | ||
{ | ||
"name": "S3", | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"http": { | ||
"request": { | ||
"url": "https://s3.{{region}}.amazonaws.com/", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"namespace": "aws", | ||
"subsegments": [ | ||
{ | ||
"name": "s3.{{region}}.amazonaws.com", | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"http": { | ||
"request": { | ||
"url": "https://s3.{{region}}.amazonaws.com/", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"namespace": "remote" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
40 changes: 40 additions & 0 deletions
40
validator/src/main/resources/expected-data-template/otelSDKexpectedHTTPTrace.mustache
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,40 @@ | ||
{ | ||
"name": "/outgoing-http-call", | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"http": { | ||
"request": { | ||
"url": "{{endpoint}}/outgoing-http-call", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"subsegments": [ | ||
{ | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"subsegments": [ | ||
{ | ||
"name": "aws.amazon.com", | ||
"fault": false, | ||
"error": false, | ||
"throttle": false, | ||
"http": { | ||
"request": { | ||
"url": "https://aws.amazon.com/", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"namespace": "remote" | ||
} | ||
] | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
validator/src/main/resources/expected-data-template/xraySDKexpectedAWSSDKTrace.mustache
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,27 @@ | ||
{ | ||
"in_progress": false, | ||
"http": { | ||
"request": { | ||
"url": "{{endpoint}}/aws-sdk-call", | ||
"method": "GET" | ||
}, | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"subsegments": [ | ||
{ | ||
"name": "S3", | ||
"in_progress": false, | ||
"http": { | ||
"response": { | ||
"status": 200 | ||
} | ||
}, | ||
"aws": { | ||
"operation": "ListBuckets" | ||
}, | ||
"namespace": "aws" | ||
} | ||
] | ||
} |
Oops, something went wrong.