microsoft / ApplicationInsights-Go

Microsoft Application Insights SDK for Go
MIT License
157 stars 53 forks source link

Report error for bad/wrong configuration #68

Open baluyot opened 1 year ago

baluyot commented 1 year ago

Hi. Is it possible to enhance the code so that at creation time of the client (i.e. client := appinsights.NewTelemetryClientFromConfig(telemetryConfig)) some checks are performed to verify the instrumentation key and/or the URL are good and the client can communicate with app insight and if not report an error?