You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The instance stats query contained a bug in which it only returned
instances that have _last_ checked in within the given time window
instead of all _active_ instances during the window.
As a result, instance count was skewed and much lower than the actual
amount of active instances.
This change updates the quey from:
last_check_for_updates > (ts - window_size)
AND last_check_for_updates < ts
to
last_check_for_updates > (ts - window_size)
AND instance_created_ts < ts
.
The change also updates the default window size from 2 hours to one day
to better match our legacy instance count metrics.
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
0 commit comments