Description
Component(s)
exporter/azuredataexplorer
What happened?
Description
When using the azure data explorer exporter on a machine with a flaky network (in this case it was a windows container which was seeing network issues on launch), I saw the data explorer fail permanently due to a failed network call during initialization which gets memoized and never retried.
Steps to Reproduce
Try to init azure data explorer exporter in an environment with flaky network.
Expected Result
The init eventually succeeds
Actual Result
The exporter gets stuck in a permanent failed state due to memoization in the azure-kusto-go component
Collector version
v0.77.0
Environment information
Environment
OS: Windows 2019
Compiler(if manually compiled): go 1.19.8
OpenTelemetry Collector configuration
No response
Log output
Kind(KInternal): Error while getting token : Get \"https://****.eastus.kusto.windows.net/v1/rest/auth/metadata\": net/http: TLS handshake timeout
Additional context
This issue was logged in azure-kusto-go and fixed in 0.13.1
Azure/azure-kusto-go#188
I have tested the fix locally and confirmed the issue is resolved.