ApplicationInsights-Go icon indicating copy to clipboard operation
ApplicationInsights-Go copied to clipboard

Microsoft Application Insights SDK for Go

Results 26 ApplicationInsights-Go issues
Sort by recently updated
recently updated
newest added

The current implementation of the SDK does not support AAD based authentication to App Insights as described here https://learn.microsoft.com/en-us/azure/azure-monitor/app/azure-ad-authentication?tabs=net This has significant advantages over Instrumentation Key/Connection String based authentication in...

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...

Ideally, the SDK should respect HTTP_PROXY env variable.

```go panic: runtime error: index out of range [2] with length 2 [recovered] panic: runtime error: index out of range [2] with length 2 goroutine 3828 [running]: encoding/json.(*encodeState).marshal.func1() /opt/hostedtoolcache/go/1.18.10/x64/src/encoding/json/encode.go:328 +0x6e...

![image](https://github.com/user-attachments/assets/46c1c798-7536-4251-bfab-53f20ccc322b)

``` client := appinsights.NewTelemetryClient(instrumentationKey) trace3 := appinsights.NewExceptionTelemetry("esempiooooo") w.client.Track(trace3) ``` This generates an error on Azure: I also tried with: ``` trace3 := appinsights.NewExceptionTelemetry("esempio1") w.client.Track(trace3) w.client.TrackException(trace3) trace6 := appinsights.NewExceptionTelemetry(errors.New("esempio2")) w.client.Track(trace6) w.client.TrackException(trace6)...