Nev

Results 393 comments of Nev

Yes, this is because you are adding the telemetry initializer "AFTER" you are triggering the page view flip the order of these 2 functions ```ts appInsights.trackPageView(); appInsights.addTelemetryInitializer(this.enrichTelemetry); ``` to ```ts...

Pinning is both good and bad, Good: Avoids issues like this Bad: If any dependency project has any security issues that they fix with a new release we would need...

> Changing distributedTracingMode to only AI or W3C didn't really give a different outcome. The default value for this is to send both AI and W3C headers, so I'm not...

The URL for this Web based SDK is obtained from the `location.href`, if this code is running on the Server side (in the NextJS runtime), then this would indicate that...

Can you please provide some more context? Application Insights doesn't perform any authentication???

Authorization is not supported from a browser. I'll forward the request onto the internal team that manages the service.

I know when we have tried this in the past (lot older browsers), JavaScript doesn't get enough information to make the determination that the request was "blocked" by the client....

Yes, that's also possible and it would require (for the example) that you also host the SDK (assuming your loading it from a CDN) on the same host. In the...

If your proxying the request, then (in theory -- I've not looked at the backend code) you should be able to [add this header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For) to the proxied request and it...