pivotal / skenario

A simulator toolkit for Knative
Apache License 2.0
29 stars 10 forks source link

Introduce Metrics Lag #108

Closed juliababkina closed 4 years ago

juliababkina commented 4 years ago

Currently Skenario gets metrics from a replica now and passes to autoscaler now. This change introduces a new way to send metrics: get them from a replica now and pass to autoscaler later. The data is stale by metrics lag time, which is usual thing in reality. In real life the metric freshness of each replica will vary slightly. Therefore every replica has its own tick tock mechanism. Metrics for each replica will be passed to autoscaler independently from each other, depending on when its tick tock were started.