From f7c5a2530811a8543f043cd1ef6f125ac850fc8a Mon Sep 17 00:00:00 2001 From: William Armiros <54150514+willarmiros@users.noreply.github.com> Date: Tue, 27 Apr 2021 15:21:27 -0600 Subject: [PATCH] Prepares Release 2.9.0 (#102) * added benchmark 2.9.0 results * preparing release v2.9.0 * added date Co-authored-by: EC2 Default User --- CHANGELOG.md | 6 +++ README.md | 4 +- .../2.9.x/jmh/auto-instrumentation.txt | 51 +++++++++++++++++++ .../results/2.9.x/jmh/no-instrumentation.txt | 51 +++++++++++++++++++ .../results/2.9.x/jmh/sdk-instrumentation.txt | 51 +++++++++++++++++++ 5 files changed, 161 insertions(+), 2 deletions(-) create mode 100644 aws-xray-agent-benchmark/results/2.9.x/jmh/auto-instrumentation.txt create mode 100644 aws-xray-agent-benchmark/results/2.9.x/jmh/no-instrumentation.txt create mode 100644 aws-xray-agent-benchmark/results/2.9.x/jmh/sdk-instrumentation.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index f39850c..9725cb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.9.0 - 2021-04-27 +* Fixed trace ID injection for Spring Boot apps [PR #75](https://github.com/aws/aws-xray-java-agent/pull/75) +* Added default Spring Boot config location [PR #77](https://github.com/aws/aws-xray-java-agent/pull/77) +* Prefer `X-Forwarded-For` for Client IP [PR #79](https://github.com/aws/aws-xray-java-agent/pull/79) +* Added capturing of SQL prepare events [PR #92](https://github.com/aws/aws-xray-java-agent/pull/92) + ## 2.8.0 - 2020-11-25 * Fixed NPE in Servlet Response Handler [PR #63](https://github.com/aws/aws-xray-java-agent/pull/63) * Fixed bug in parsing sampling decision from upstream header [PR #66](https://github.com/aws/aws-xray-java-agent/pull/66) diff --git a/README.md b/README.md index 1be09f2..d10e110 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ To depend on the agent from your project, just add these dependencies: software.amazon.disco disco-toolkit-bom - 0.10.0 + 0.11.0 pom import @@ -70,7 +70,7 @@ To depend on the agent from your project, just add these dependencies: com.amazonaws aws-xray-agent-plugin - 2.8.0 + 2.9.0 ``` diff --git a/aws-xray-agent-benchmark/results/2.9.x/jmh/auto-instrumentation.txt b/aws-xray-agent-benchmark/results/2.9.x/jmh/auto-instrumentation.txt new file mode 100644 index 0000000..3e97f2d --- /dev/null +++ b/aws-xray-agent-benchmark/results/2.9.x/jmh/auto-instrumentation.txt @@ -0,0 +1,51 @@ +Benchmark Mode Cnt Score Error Units +AwsSdkBenchmark.awsV1Request thrpt 5 0.411 ± 0.012 ops/ms +AwsSdkBenchmark.awsV2Request thrpt 5 0.401 ± 0.021 ops/ms +HttpDownstreamBenchmark.makeHttpRequest thrpt 5 0.415 ± 0.011 ops/ms +ServletBenchmark.serviceRequest thrpt 5 0.458 ± 0.004 ops/ms +SqlBenchmark.sqlQuery thrpt 5 0.465 ± 0.020 ops/ms +AwsSdkBenchmark.awsV1Request sample 2060 2.427 ± 0.006 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.00 sample 2.347 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.50 sample 2.417 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.90 sample 2.466 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.95 sample 2.490 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.99 sample 2.562 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.999 sample 3.946 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.9999 sample 4.596 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p1.00 sample 4.596 ms/op +AwsSdkBenchmark.awsV2Request sample 2003 2.497 ± 0.006 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.00 sample 2.413 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.50 sample 2.486 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.90 sample 2.552 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.95 sample 2.593 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.99 sample 2.720 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.999 sample 3.026 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.9999 sample 5.407 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p1.00 sample 5.407 ms/op +HttpDownstreamBenchmark.makeHttpRequest sample 2085 2.399 ± 0.014 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.00 sample 2.318 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.50 sample 2.376 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.90 sample 2.437 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.95 sample 2.458 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.99 sample 2.573 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.999 sample 5.492 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.9999 sample 8.077 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p1.00 sample 8.077 ms/op +ServletBenchmark.serviceRequest sample 2294 2.180 ± 0.001 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.00 sample 2.167 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.50 sample 2.179 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.90 sample 2.187 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.95 sample 2.191 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.99 sample 2.232 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.999 sample 2.331 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.9999 sample 2.347 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p1.00 sample 2.347 ms/op +SqlBenchmark.sqlQuery sample 2329 2.148 ± 0.035 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.00 sample 2.122 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.50 sample 2.130 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.90 sample 2.146 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.95 sample 2.171 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.99 sample 2.220 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.999 sample 2.417 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.9999 sample 27.132 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p1.00 sample 27.132 ms/op diff --git a/aws-xray-agent-benchmark/results/2.9.x/jmh/no-instrumentation.txt b/aws-xray-agent-benchmark/results/2.9.x/jmh/no-instrumentation.txt new file mode 100644 index 0000000..f01d03a --- /dev/null +++ b/aws-xray-agent-benchmark/results/2.9.x/jmh/no-instrumentation.txt @@ -0,0 +1,51 @@ +Benchmark Mode Cnt Score Error Units +AwsSdkBenchmark.awsV1Request thrpt 5 0.422 ± 0.011 ops/ms +AwsSdkBenchmark.awsV2Request thrpt 5 0.416 ± 0.007 ops/ms +HttpDownstreamBenchmark.makeHttpRequest thrpt 5 0.424 ± 0.009 ops/ms +ServletBenchmark.serviceRequest thrpt 5 0.482 ± 0.003 ops/ms +SqlBenchmark.sqlQuery thrpt 5 0.483 ± 0.005 ops/ms +AwsSdkBenchmark.awsV1Request sample 2109 2.371 ± 0.010 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.00 sample 2.298 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.50 sample 2.355 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.90 sample 2.413 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.95 sample 2.458 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.99 sample 2.519 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.999 sample 6.210 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.9999 sample 7.176 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p1.00 sample 7.176 ms/op +AwsSdkBenchmark.awsV2Request sample 2076 2.408 ± 0.009 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.00 sample 2.335 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.50 sample 2.400 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.90 sample 2.445 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.95 sample 2.478 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.99 sample 2.573 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.999 sample 2.885 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.9999 sample 7.438 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p1.00 sample 7.438 ms/op +HttpDownstreamBenchmark.makeHttpRequest sample 2120 2.358 ± 0.022 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.00 sample 2.265 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.50 sample 2.335 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.90 sample 2.372 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.95 sample 2.392 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.99 sample 2.469 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.999 sample 10.463 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.9999 sample 11.125 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p1.00 sample 11.125 ms/op +ServletBenchmark.serviceRequest sample 2413 2.073 ± 0.001 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.00 sample 2.032 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.50 sample 2.071 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.90 sample 2.079 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.95 sample 2.085 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.99 sample 2.109 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.999 sample 2.134 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.9999 sample 2.380 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p1.00 sample 2.380 ms/op +SqlBenchmark.sqlQuery sample 2414 2.072 ± 0.012 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.00 sample 2.036 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.50 sample 2.066 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.90 sample 2.075 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.95 sample 2.077 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.99 sample 2.095 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.999 sample 2.184 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.9999 sample 11.059 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p1.00 sample 11.059 ms/op diff --git a/aws-xray-agent-benchmark/results/2.9.x/jmh/sdk-instrumentation.txt b/aws-xray-agent-benchmark/results/2.9.x/jmh/sdk-instrumentation.txt new file mode 100644 index 0000000..18e295c --- /dev/null +++ b/aws-xray-agent-benchmark/results/2.9.x/jmh/sdk-instrumentation.txt @@ -0,0 +1,51 @@ +Benchmark Mode Cnt Score Error Units +AwsSdkBenchmark.awsV1Request thrpt 5 0.417 ± 0.005 ops/ms +AwsSdkBenchmark.awsV2Request thrpt 5 0.412 ± 0.009 ops/ms +HttpDownstreamBenchmark.makeHttpRequest thrpt 5 0.423 ± 0.009 ops/ms +ServletBenchmark.serviceRequest thrpt 5 0.459 ± 0.019 ops/ms +SqlBenchmark.sqlQuery thrpt 5 0.466 ± 0.015 ops/ms +AwsSdkBenchmark.awsV1Request sample 2089 2.392 ± 0.009 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.00 sample 2.294 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.50 sample 2.384 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.90 sample 2.425 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.95 sample 2.449 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.99 sample 2.548 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.999 sample 4.759 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p0.9999 sample 6.971 ms/op +AwsSdkBenchmark.awsV1Request:awsV1Request·p1.00 sample 6.971 ms/op +AwsSdkBenchmark.awsV2Request sample 2063 2.424 ± 0.010 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.00 sample 2.331 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.50 sample 2.413 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.90 sample 2.466 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.95 sample 2.494 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.99 sample 2.634 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.999 sample 3.390 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p0.9999 sample 8.102 ms/op +AwsSdkBenchmark.awsV2Request:awsV2Request·p1.00 sample 8.102 ms/op +HttpDownstreamBenchmark.makeHttpRequest sample 2111 2.367 ± 0.023 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.00 sample 2.277 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.50 sample 2.343 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.90 sample 2.388 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.95 sample 2.408 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.99 sample 2.485 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.999 sample 10.281 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p0.9999 sample 12.157 ms/op +HttpDownstreamBenchmark.makeHttpRequest:makeHttpRequest·p1.00 sample 12.157 ms/op +ServletBenchmark.serviceRequest sample 2298 2.176 ± 0.030 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.00 sample 2.142 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.50 sample 2.159 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.90 sample 2.208 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.95 sample 2.224 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.99 sample 2.269 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.999 sample 2.440 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p0.9999 sample 22.807 ms/op +ServletBenchmark.serviceRequest:serviceRequest·p1.00 sample 22.807 ms/op +SqlBenchmark.sqlQuery sample 2332 2.144 ± 0.028 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.00 sample 2.105 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.50 sample 2.130 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.90 sample 2.150 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.95 sample 2.195 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.99 sample 2.224 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.999 sample 2.392 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p0.9999 sample 21.955 ms/op +SqlBenchmark.sqlQuery:sqlQuery·p1.00 sample 21.955 ms/op