Giter VIP home page Giter VIP logo

ad-capital-docker's Introduction

AD-Capital-Docker

AppDynamics Transaction Analytics demo application with Docker support

PLEASE NOTE: This repository has been recreated. If you previously cloned this repository, you should delete the original and re-clone. Apologies for any inconveience

See AppDynamics/AD-Capital for application source code

Building the Container Images

To build the containers, you need to supply paths to the AppDynamics agent installers used by the demo containers.
Download the latest versions directly from the AppDynamics download site

  1. Run build.sh without commandline args to be prompted (with autocomplete) for the agent installer paths or
  2. Run build.sh -a <App Server Agent zip> -m <Machine Agent zip> [-j <Oracle JDK7>] to supply agent installer paths

Note: Run build.sh with the -p flag to prepare the build environment but skip the actual docker container builds. This will build the Dockerfiles and add the AppDynamics agents to the build dirs: the containers can then be built manually with docker build -t <container-name> . Using this option saves time when making updates to only one or two containers. You can also use the -j flag to avoid downloading the Oracle JDK.

Optimizing network download time

If you want to (re-)build the containers with different agents and want to skip git clones, gradle download/builds or JDK/Tomcat downloads, you can use the following optional flags to build using local copies of all these artifacts:

  • -j <location of the Oracle JDK rpm distro>
  • -t <location of the Apache Tomcat tar.gz distro>
  • -b <path to the AD-Capital project>
  • -l <path to the AD-Capital-Load project>

When using these flags, make sure that the paths are correct on your build system and that the downloaded artifacts are in the correct format. You will need to run gradle build on the AD-Capital and AD-Capital-Load projects manually to generate the correct libraries.

Running the AD-Capital Demo

Run ./run.sh to start all the applications containers. Note: The run.sh script will expect app name (default = AD-Capital), docker container version (default = latest) , controller host/port, account name and access key configuration. These should be set and exported in your shell before running the script. The script expects the following env vars to be set:

  • CONTR_HOST
  • CONTR_PORT
  • ACCOUNT_NAME
  • ACCESS_KEY
  • EVENT_ENDPOINT

ad-capital-docker's People

Contributors

mqprichard avatar

Watchers

 avatar  avatar

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.