Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NewExceptionTelemetry generates Problem Id: string #71

Open
saraseward opened this issue Jul 25, 2024 · 0 comments
Open

NewExceptionTelemetry generates Problem Id: string #71

saraseward opened this issue Jul 25, 2024 · 0 comments

Comments

@saraseward
Copy link

client := appinsights.NewTelemetryClient(instrumentationKey)
trace3 := appinsights.NewExceptionTelemetry("esempiooooo")
w.client.Track(trace3)

This generates an error on Azure:
Screenshot 2024-07-25 at 12 33 16

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)
	w.client.TrackException("esempio3")
Screenshot 2024-07-25 at 12 36 33 What am I doing wrong?
@saraseward saraseward changed the title NewExceptionTelemetry not working NewExceptionTelemetry generates Problem Id: string Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant