This is a demonstration of Micrometer Kibana Dashboard and Elastic APM.
git clone https://github.com/acroquest/micrometer-elasticapm-demo.git
cd micrometer-elasticapm-demo
git submodule update -i
Add proxy settings if necessary.
- demo/Dockerfile_angular
# RUN npm -g config set proxy "http://xxx.xxx.xxx.xxx:xxxx/"
# RUN npm -g config set https-proxy "http://xxx.xxx.xxx.xxx:xxxx/"
- spring-petclinic-rest/.mvn/jvm.config
-Dhttp.proxyHost=
-Dhttp.proxyPort=
-Dhttps.proxyHost=
-Dhttps.proxyPort=
Run Elastic Stack services using docker-compose-elastic.yml
cd demo
docker-compose -f docker-compose-elastic.yml up -d
Run Kibana Dashboard setup script after Kibana started.
cd ../micrometer-kibana-dashboard
./kibana_setup.sh
for Windows:
cd ../micrometer-kibana-dashboard
kibana_setup.bat
Run sample applications using docker-compose-application.yml
cd ../demo
docker-compose -f docker-compose-application.yml up -d
docker-compose -f docker-compose-application.yml stop
docker-compose -f docker-compose-elastic.yml stop
docker-compose -f docker-compose-elastic.yml start
docker-compose -f docker-compose-application.yml start
docker-compose -f docker-compose-application.yml down
docker-compose -f docker-compose-elastic.yml down