apm-agent-nodejs
apm-agent-nodejs copied to clipboard
HTTP proxy support?
Hey guys,
Sorry if this was asked before, but does this client (and more generally the NodeJS APM client) support a HTTP(s) proxy? I've quickly scrolled through the docs and I couldn't find a way to configure my proxy... Is there some undocumented, automagic environment variable ?
EDIT: A bit of context: my Node apps are running behind a corporate HTTP proxy, and MUST go through it to talk to the Internet. You guessed it, the APM server will be accessed remotely, through Internet
Regards, David
Not currently, no. It shouldn't be too hard to make it accept a custom http.Agent instance though and just swap in http-proxy-agent. 🤔
PRs are, of course, welcome. 😉
Thx for the quick answer @Qard
Happy to help. Sorry we don't support this yet. 😅