StatsD Backend to push metrics to AppDynamics
For easy of testing a Dockerfile is incuded that builds a container with StatsD, AppDynamics StatsD Backend, the AppDynamics Machine Agent and a load generator. Alterantivelty the AppDynamics StatsD Backend can be installed into an existing StatsD deployment.
git clone https://github.com/APPDRYDER/AppD-StatsD-Backend.git
git clone https://github.com/statsd/statsd.git
Download machineagent-bundle-64bit-linux-4.5.18.2430.zip in the directory Agents
From https://download.appdynamics.com/
Edit envvars.controller1.sh to align to an AppDynamcis Controller and Account
. envvars.sh
./docker-ctl.sh build
./docker-ctl run
This will start the Machine Agent, the StatsD daemon with the AppDynamics Backend, and the sample metrics load generator test1.py
Sample metrics will be pushed to statsd every second using the metric generator test1.py. The AppDynamics Backend will push the metrics to the Machine Agent
./docker-ctl bash
tail -f logs/statsd.log
Find the server appdstatsd1_dock in the Servers view to make sure the machine agent is working. In the Metics Browser look for metrics under: "Application Infrastructure Perforamnce | Root | Individual Nodes | appdstatsd1_doc"
exit
./docker-ctl stop