Test ‐ Chaos Monkey - dnwls16071/Backend_Study_TIL GitHub Wiki
📚 카오스 엔지니어링 툴
- 프로덕션 환경, 분산 시스템 환경에서 불확실성을 파악하고 해결 방안을 모색하는데 사용하는 툴
spring.profiles.active=chaos-monkey
management.endpoint.chaosmonkey.enabled=true
management.endpoints.web.exposure.include=health,info,chaosmonkey
📚 응답 지연 이슈 재현 방법
chaos.monkey.watcher.repository=true
http post localhost:8080/actuator/chaosmonkey/enable
http localhost:8080/actuator/chaosmonkey/status
http localhost:8080/actuator/chaosmonkey/watchers
http POST localhost:8080/actuator/chaosmonkey/assaults level=3 latencyRangeStart=2000 latencyRangeEnd=5000 latencyActive=true