fn: add container state to eviction stats (#1296)

This commit is contained in:
Tolga Ceylan
2018-11-02 13:32:13 -07:00
committed by GitHub
parent 494fb1827b
commit ac17825a36
3 changed files with 45 additions and 3 deletions

View File

@@ -1010,7 +1010,7 @@ func (a *agent) runHotReq(ctx context.Context, call *call, state ContainerState,
if call.slots.acquireSlot(s) {
slot.Close()
if isEvictEvent {
statsContainerEvicted(ctx)
statsContainerEvicted(ctx, state.GetState())
}
return false
}