chore: add logging around agent app health reporting (#12071)

This commit is contained in:
Colin Adler
2024-02-08 23:37:44 -06:00
committed by GitHub
parent c0e169ebf9
commit ec8e41f516
2 changed files with 21 additions and 1 deletions

View File

@ -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
}