Skip to content

Commit

Permalink
Adding aws_sdk_2 trace suffic
Browse files Browse the repository at this point in the history
  • Loading branch information
PaurushGarg committed Nov 15, 2023
1 parent f7aa645 commit 87a5d64
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public enum PredefinedExpectedTemplate implements FileConfig {
"/expected-data-template/springboot/springbootAppExpectedHTTPTrace.mustache"),
SPRINGBOOT_SDK_AWSSDK_EXPECTED_TRACE(
"/expected-data-template/springboot/springbootAppExpectedAWSSDKTrace.mustache"),
SPRINGBOOT_SDK_AWSSDK_2_EXPECTED_TRACE(
"/expected-data-template/springboot/springbootAppExpectedAWSSDK2Trace.mustache"),
GO_SDK_HTTP_EXPECTED_TRACE("/expected-data-template/go/goAppExpectedHTTPTrace.mustache"),
GO_SDK_AWSSDK_EXPECTED_TRACE("/expected-data-template/go/goAppExpectedAWSSDKTrace.mustache"),
JS_SDK_HTTP_EXPECTED_TRACE("/expected-data-template/js/jsAppExpectedHTTPTrace.mustache"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[{
"name": "aws-otel-integ-test",
"http": {
"request": {
"url": "{{endpoint}}/aws-sdk-call",
"method": "GET"
},
"response": {
"status": 200
}
},
"subsegments": [
{
"subsegments": [
{
"name": "AWS.SDK.S3",
"http": {
"request": {
"url": "https://s3\\.{{region}}\\.amazonaws\\.com/",
"method": "GET"
},
"response": {
"status": 200
}
},
"namespace": "aws"
}
]
}
]
}]
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
httpPath: "/aws-sdk-call"
httpMethod: "get"
callingType: "http"
expectedTraceTemplate: "SPRINGBOOT_SDK_AWSSDK_EXPECTED_TRACE"
expectedTraceTemplate: "SPRINGBOOT_SDK_AWSSDK_2_EXPECTED_TRACE"

0 comments on commit 87a5d64

Please sign in to comment.