UNPKG
traceapm
Version:
latest (2.0.0)
2.0.0
1.0.1
1.0.0
SDK for OpenTelemetry auto-instrumentation and OTLP export for Node.js apps.
traceapm
/
src
/
proxy.js
7 lines
(5 loc)
•
169 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
HttpsProxyAgent
=
require
(
'https-proxy-agent'
);
function
getProxyAgent
(
proxyUrl
) {
return
new
HttpsProxyAgent
(proxyUrl); }
module
.
exports
= { getProxyAgent };