Direct mode in this case means direct from your browser to the data source. Proxy means going via the grafana backend to the data source. Proxy mode is the default and direct mode is only needed in a few special cases like single sign authentication via the browser. By proxying the request through Grafana, it can add stuff like CORS headers which you would have to add yourself via a proxy like nginx otherwise.