Start the sample application with the agent. The Gradle command will block until this is SIGINT'ed
./gradlew startWithAgent
Check what metrics are available
pminfo mmv.pcpcoin
Start monitoring basic metrics
pmchart -c pmchart-views/demo1 &
Start the load test
./gradlew gatlingRun
Start the app
./gradlew startWithoutAgent
Start the load test
./gradlew gatlingRun
Check what metrics are available
pminfo -f mmv.pcpcoin.customer.new
View the metric
pmchart -c pmchart-views/demo2 &
View the metric
pmchart -c pmchart-views/demo3 &
View the metric
pmchart -c pmchart-views/demo4 &
Start the app and load test
./gradlew startWithoutAgent
./gradlew gatlingRun
Setup monitoring infrastructure
docker-compose up -d
sleep 10
./configure_grafana.sh
./pcp2graphite.py -t 1sec -h localhost mmv.pcpcoin &
Import the dashboard
- Open http://localhost:3030
- Login with admin/secret
- Click on the menu icon in the top left corner and navigate to Dashboards > Import
- Upload
grafana_dashboard.json
in the project root dir