You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Infra-Agent is configured to use a Proxy, this should be added to self-instrumentation if enabled.
This can be done passing a custom Transport the APM agent (or using environment variables)
// collectorDefaultTransport is the http.Transport to be used with// communication to the collector backend if a Transport is not set on the// Config.collectorDefaultTransport=&http.Transport{
Proxy: http.ProxyFromEnvironment,
DialContext: (&net.Dialer{
Timeout: 30*time.Second,
KeepAlive: 30*time.Second,
DualStack: true,
}).DialContext,
ForceAttemptHTTP2: true, // added in go 1.13MaxIdleConns: 100,
MaxIdleConnsPerHost: 100, // note: different from default global transportIdleConnTimeout: 90*time.Second,
TLSHandshakeTimeout: 10*time.Second,
ExpectContinueTimeout: 1*time.Second,
}
The text was updated successfully, but these errors were encountered:
When the Infra-Agent is configured to use a Proxy, this should be added to self-instrumentation if enabled.
This can be done passing a custom Transport the APM agent (or using environment variables)
The text was updated successfully, but these errors were encountered: