Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Golang proxy config



I am attempting to use a proxy with the golang agent, and cannot see anywhere in the readme that mentions how to do it, other than a small reference to “transport”. Does anyone have an example implementation using an internal proxy for forwarding?


I too am eager to see if anyone in the community has an example implementation to share, @david.binney!

Let us know if you have made progress with this since the last time we heard from you! :blush:


In the Transport field just needs to be set to a RoundTripper that takes the request and sends it instead to your proxy (probably with a host header so the proxy knows where to send it on).