@@ -51,22 +51,19 @@ func handleRequests() {
51
51
}
52
52
53
53
func main () {
54
- //TODO
54
+ // TODO
55
55
//1. Wait for a request to run a test
56
56
//4. Find out what relevant metrics would be (if only testing CPU, only CPU metrics matter)
57
- //5. Get relevant metrics from datadog for the past 3 minutes
58
- //6. Deploy the version to test
59
- //7. Once the testing version is deployed and read, depending on the request, create individual disruptions
60
- //8. For each disruption, let it bake for 3 minutes
61
- //9. After baking, grab the last 3 minutes of data to compare to the stable 3 minutes of data
62
- //10. If data looks rights, pass the test and move on to the next disruption and repeat starting from 8 until all
57
+ //5. Get relevant metrics from datadog for the past 3 minutes, stable metrics
58
+ //6. Depending on the request, create individual disruptions
59
+ //7. For each disruption, let it bake for 3 minutes
60
+ //8. After baking, grab the last 3 minutes of data to compare to the stable 3 minutes of data
61
+ //9. If data looks rights, pass the test and move on to the next disruption and repeat starting from 8 until all
63
62
// disruptions are completed for the given request
64
63
//11. For each disruption removal, wait 2 minutes to make sure the state of world goes back to stable values measured
65
64
// in the beginning
66
- //12. Once the entire request is finished, do 1 of 2 things:
67
- // a. If queue is empty, return the chaos controller in the staging cluster back to latest:stable
68
- // b. If queue is not empty, take the next request
69
65
STATUS = "initializing"
70
66
logger = & zap.SugaredLogger {}
67
+
71
68
handleRequests ()
72
69
}
0 commit comments