Skip to content

Commit

Permalink
Upgrade agent to 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yansam-amazon committed Feb 2, 2024
1 parent a3486cb commit 2c01a64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ uploading the result back to S3.

Make sure you have installed the latest version of [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html).

Setup the required components by running the following ```aws``` commands:
Setup the required components by running the following `aws` commands:

1. Create two profiling groups in CodeGuru Profiler, named `DemoApplication-WithIssues` and `DemoApplication-WithoutIssues`
2. Create an SQS queue
Expand All @@ -60,7 +60,7 @@ aws sqs create-queue --queue-name DemoApplicationQueue
The demo application can be run in two modes: `with-issues` and `without-issues`. Thus, you can compare how an
optimized version of the application compares to one with performance issues.

* To run the `with-issues` version, use the following instructions. Remember to replace `YOUR-ACCOUNT-ID`, `YOUR-AWS-REGION` and `YOUR-BUCKET-REPLACE-ME` as appropriate.
- To run the `with-issues` version, use the following instructions. Remember to replace `YOUR-ACCOUNT-ID`, `YOUR-AWS-REGION` and `YOUR-BUCKET-REPLACE-ME` as appropriate.

```bash
# These need to be set according to your setup:
Expand All @@ -71,11 +71,11 @@ export AWS_CODEGURU_TARGET_REGION=YOUR-AWS-REGION
# Run the demo!
export AWS_CODEGURU_PROFILER_GROUP_NAME=DemoApplication-WithIssues
mvn clean install # generates the DemoApplication-1.0-jar-with-dependencies.jar
java -javaagent:codeguru-profiler-java-agent-standalone-1.2.2.jar \
java -javaagent:codeguru-profiler-java-agent-standalone-1.2.3.jar \
-jar target/DemoApplication-1.0-jar-with-dependencies.jar with-issues
```

* To run the `without-issues` version, use the following instructions. Remember to replace `YOUR-ACCOUNT-ID`, `YOUR-AWS-REGION` and `YOUR-BUCKET-REPLACE-ME` as appropriate.
- To run the `without-issues` version, use the following instructions. Remember to replace `YOUR-ACCOUNT-ID`, `YOUR-AWS-REGION` and `YOUR-BUCKET-REPLACE-ME` as appropriate.

```bash
# These need to be set according to your setup:
Expand All @@ -86,7 +86,7 @@ export AWS_CODEGURU_TARGET_REGION=YOUR-AWS-REGION
# Run the demo!
export AWS_CODEGURU_PROFILER_GROUP_NAME=DemoApplication-WithoutIssues
mvn clean install # generates the DemoApplication-1.0-jar-with-dependencies.jar
java -javaagent:codeguru-profiler-java-agent-standalone-1.2.2.jar \
java -javaagent:codeguru-profiler-java-agent-standalone-1.2.3.jar \
-jar target/DemoApplication-1.0-jar-with-dependencies.jar without-issues
```

Expand Down
Binary file not shown.

0 comments on commit 2c01a64

Please sign in to comment.