mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: add container state to eviction stats (#1296)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user