Skip to content

ryandoyle/pcpconf18-java-tooling

Repository files navigation

Java tooling demo for PCPCONF2018

Demo1 - Agent

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

Demo 2.1 - Basic metrics

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 & 

Demo 2.2 - Advanced Metrics

View the metric

pmchart -c pmchart-views/demo3 & 

Demo 2.3 - Integrations

View the metric

pmchart -c pmchart-views/demo4 & 

Demo 3 - Graphite/Grafana

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published