Simple application to illustrate the usage of and troubleshooting with AppDynamics Browser RUM.
There are performance problems built into this app so that someone can learn to use BRUM.
Follow this lab manual. Copy the text into a Doc for recording your responses to the lab questions.
- Download a zip file for the Sun/JRocket java agent and place the .zip in this directory.
- Any of these will work. Pick the startup flavor that's easiest for you.
- Update
appdynamics.envif using Docker to run the app.
Requires Java 8 and Maven 3.
Build the jar: mvn clean package
Execute the jar: java -jar mybanking/target/mybanking-1.0.jar
Or include the AppDynamics Java agent:
- Download and unzip the java agent into AppServerAgent/
- Change Controller properties as necessary.
java \
-Dappdynamics.controller.hostName=XXXXXX.example.com \
-Dappdynamics.controller.port=8090 \
-Dappdynamics.controller.ssl.enabled=false \
-Dappdynamics.agent.accountName=XXXXXXX \
-Dappdynamics.agent.accountAccessKey=XXXXXXXX \
-Dappdynamics.agent.applicationName=MyBankingApp \
-Dappdynamics.agent.tierName=MyBankingTier \
-Dappdynamics.agent.reuse.nodeName=true \
-Dappdynamics.agent.reuse.nodeName.prefix=MyBanking \
-javaagent:AppServerAgent/javaagent.jar
-jar mybanking/target/mybanking-1.0.jar
- Update the commands to match your agent version
- Build the image:
docker build --build-arg APPDYNAMICS_AGENT_VERSION=4.3.5.10 -t lab2 . - Run the container:
docker run --env-file=appdynamics.env -p 8080:8080 lab2
- Update the .yml to match your agent version
- Update
appdynamics.envwith your Controller details - Build and start:
docker-compose up