Grafana datasources connection using proxy
<p>How Grafana can be configured to connect to the data sources (for example Graphite) via proxy?</p>

<p>Grafana -> Proxy -> Graphite</p>

<p>When adding Graphite data source in Grafana there is an option to choose access with proxy (Proxy=Grafana backend will proxy the request) but there is no place in the configureation.ini to specify the IP of the proxy to be used for backend data transfer. </p>

<p>In the ini file there is location to specify "authentication proxy" for accessing the Grafana UI but  can this be used for proxy between Grafana and Graphite?</p>

<p><code>[auth.proxy]</code></p>

<p><code>enabled = true</code></p>

<p><code>header_name = X-WEBAUTH-USER</code></p>

<p><code>header_property = username</code></p>

<p><code>auto_sign_up = true</code></p>

<p>Where the proxy details between Grafana and its data sources can be configured?</p>

<p>Thanks for the reply of AussieDan</p>

<p>I have added the environment variables :</p>

<pre><code>set HTTP_PROXY="http://proxy_IP:proxy_port"   
set HTTPS_PROXY="https://proxy_IP:proxy_port"  
</code></pre>

<p>And started the Grafana in same command prompt .
When trying to save the Graphite data source in Grafana UI, it says in the log "proxy error: Service Unavailable". Telnet to the proxy on same port works fine so the port is open. </p>

<pre><code>`    2016/12/13 15:55:05 http: proxy error: Service Unavailable ←[31mEROR←[0m[12-13|15:55:05] Request Completed                        ←[31mlogger←[0m=context ←[31muserId←[0m=1 ←[31morgId←[0m=1 ←[31muname←[0m=admin ←[31mmethod←[0m=GET ←[31mpath←[0m=/metrics/find ←[31mstatus←[0m=500 ←[31mremote_addr←[0m=IP ←[31mtime_ns←[0m=15ns ←[31msize←[0m=0    `    
</code></pre>

<p>Is there anything additional that needs to be configured for proxy communication?</p>