File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ dependencies {
3636 compile(" com.amazonaws:aws-xray-recorder-sdk-aws-sdk-instrumentor" )
3737 compile(" com.amazonaws:aws-xray-recorder-sdk-apache-http" )
3838 compile(" com.amazonaws:aws-xray-recorder-sdk-sql-postgres" )
39- compile(" com.amazonaws:aws-xray-recorder-sdk-sql-mysql" )
4039 compile(" org.postgresql:postgresql:9.4.1211.jre7" )
4140 testCompile(" junit:junit:4.11" )
4241 compile(" com.fasterxml.jackson.core:jackson-databind:2.8.4" )
@@ -46,7 +45,7 @@ dependencies {
4645dependencyManagement {
4746 imports {
4847 mavenBom(" com.amazonaws:aws-java-sdk-bom:1.11.67" )
49- mavenBom(" com.amazonaws:aws-xray-recorder-sdk-bom:1.0.0 -beta" )
48+ mavenBom(" com.amazonaws:aws-xray-recorder-sdk-bom:1.0.1 -beta" )
5049 }
5150}
5251task wrapper (type : Wrapper ) {
Original file line number Diff line number Diff line change 44import com .amazonaws .xray .AWSXRayRecorderBuilder ;
55import com .amazonaws .xray .javax .servlet .AWSXRayServletFilter ;
66import com .amazonaws .xray .plugins .EC2Plugin ;
7+ import com .amazonaws .xray .plugins .ElasticBeanstalkPlugin ;
78import com .amazonaws .xray .strategy .sampling .DefaultSamplingStrategy ;
89import org .apache .commons .logging .Log ;
910import org .apache .commons .logging .LogFactory ;
@@ -54,7 +55,7 @@ public GameHistoryModel gameHistoryModel() {
5455 }
5556
5657 static {
57- AWSXRayRecorderBuilder builder = AWSXRayRecorderBuilder .standard ().withPlugin (new EC2Plugin ());
58+ AWSXRayRecorderBuilder builder = AWSXRayRecorderBuilder .standard ().withPlugin (new EC2Plugin ()). withPlugin ( new ElasticBeanstalkPlugin ()) ;
5859
5960 URL ruleFile = WebConfig .class .getResource ("/sampling-rules.json" );
6061 builder .withSamplingStrategy (new DefaultSamplingStrategy (ruleFile ));
You can’t perform that action at this time.
0 commit comments