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
Normally, the pattern for Go HTTP client code is to use a single global http.Client instance, which lets connection pooling work correctly. Currently in the exporter, we use a HTTP client per collector. To use a global client, we would need to add some locking around the DC/OS auth token state.
The text was updated successfully, but these errors were encountered:
Normally, the pattern for Go HTTP client code is to use a single global
http.Client
instance, which lets connection pooling work correctly. Currently in the exporter, we use a HTTP client per collector. To use a global client, we would need to add some locking around the DC/OS auth token state.The text was updated successfully, but these errors were encountered: