Git Product home page Git Product logo

derrekyoung / se-cert-brum-l1-lab2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appdynamics/se-cert-brum-l1-lab2

0.0 2.0 0.0 78 KB

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.

Shell 3.16% Batchfile 2.11% Java 10.62% CSS 82.31% JavaScript 1.03% HTML 0.77%

se-cert-brum-l1-lab2's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.