mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: add logging around agent app health reporting (#12071)
This commit is contained in:
@ -24,6 +24,11 @@ func (a *AppsAPI) BatchUpdateAppHealths(ctx context.Context, req *agentproto.Bat
|
||||
return nil, err
|
||||
}
|
||||
|
||||
a.Log.Debug(ctx, "got batch app health update",
|
||||
slog.F("agent_id", workspaceAgent.ID.String()),
|
||||
slog.F("updates", req.Updates),
|
||||
)
|
||||
|
||||
if len(req.Updates) == 0 {
|
||||
return &agentproto.BatchUpdateAppHealthResponse{}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user