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
I'm building an application which leverages the app insights go client and, in order to run the resulting application in a minimal container (i.e. one without an OS CA certificate store), I need the ability to programmatically include trusted CA certificates in the transmitter's http.Client.
To enable this, I was thinking of adding the option to include a *http.Client option in TelemetryConfig which can then be leveraged during Transmit to call the app insights endpoint. If the value of the TelemetryConfig.Client option is nil, the call to newTransmitter would substitute the http.DefaultClient automatically.
The text was updated successfully, but these errors were encountered:
I'm building an application which leverages the app insights go client and, in order to run the resulting application in a minimal container (i.e. one without an OS CA certificate store), I need the ability to programmatically include trusted CA certificates in the transmitter's http.Client.
To enable this, I was thinking of adding the option to include a
*http.Client
option inTelemetryConfig
which can then be leveraged duringTransmit
to call the app insights endpoint. If the value of theTelemetryConfig.Client
option is nil, the call tonewTransmitter
would substitute thehttp.DefaultClient
automatically.The text was updated successfully, but these errors were encountered: