Skip to content

Application to support a hands-on lab for Browser RUM. This Spring Boot app mimics an online banking app and has several pages. Each page has a unique problem and/or special consideration for BRUM.

Notifications You must be signed in to change notification settings

derrekyoung/SE-CERT-BRUM-L1-Lab2

 
 

Repository files navigation

Summary

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.

Lab Manual

Follow this lab manual. Copy the text into a Doc for recording your responses to the lab questions.

Lab Manual

Usage

  • 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.env if using Docker to run the app.

java

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

docker

  • 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

docker-compose

  • Update the .yml to match your agent version
  • Update appdynamics.env with your Controller details
  • Build and start: docker-compose up

About

Application to support a hands-on lab for Browser RUM. This Spring Boot app mimics an online banking app and has several pages. Each page has a unique problem and/or special consideration for BRUM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 82.3%
  • Java 10.6%
  • Shell 3.2%
  • Batchfile 2.1%
  • Other 1.8%