- Start containers
docker compose --profile all up -d --build
- Run load-test:
artillery run artillery-load-test.yml
- Start cluster
minikube start --cpus=3 --memory=4000
- Run apps:
skaffold dev
- Run load-test:
artillery run artillery-load-test.yml
- Start containers
docker compose up -d
- Run apps:
mvn -pl price-service -am spring-boot:run
mvn -pl order-service -am spring-boot:run
mvn -pl spring-boot-admin -am spring-boot:run
- Run load-test:
artillery run artillery-load-test.yml
Open - Zipkin
Open - Spring Admin
Open - Prometheus
Open - Grafana
curl --location 'http://localhost:8090/price/iphone' \
--header 'x-request-id: A8j24hu81b33' \
--header 'x-application-id: Web'
curl --location 'http://localhost:8080/order' \
--request POST \
--header 'Content-Type: application/json' \
--header 'x-request-id: Ju439a8o1yr4' \
--header 'x-application-id: Web' \
--data '{
"productIdentifier": "iphone",
"productName": "N/A",
"quantity": 3
}'
Spring Boot Grafana Dashboards
Spring Boot 3 Dashboard file for Grafana
Get Artillery