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

Clarfication of issues fixed in Version 1.0.9 #418

Closed
shkrishms opened this issue Mar 6, 2017 · 4 comments
Closed

Clarfication of issues fixed in Version 1.0.9 #418

shkrishms opened this issue Mar 6, 2017 · 4 comments
Labels

Comments

@shkrishms
Copy link

There are a couple of things I am blocked on right now with ApplicationInsights. It looks like these issues are due to existing bugs and they will be resolved in 1.0.9 (https://github.com/Microsoft/ApplicationInsights-JS/milestone/24)
Nevertheless, I want to validate the above understanding so that I can be clear if I need to fix things on my side or these are bugs and just wait for the next release.

  1. Correlating client to server requests:
    My client is sending logs to application insight resource X and my server is sending to resource Y. I understand that to correlate requests from client to server (traces in X an Y have common operation is), you need to set DisableCorrelationHeaders = false.
    But doing the above does not set the required headers (ms-root-id) in my client dependency calls. I am trying with chrome.

Is this a bug that will be fixed in 1.0.9? If not what am I missing?

  1. Browser exceptions are not tracked. Again trying on chrome.

          Is this a bug that will be fixed in 1.0.9?If not what I am missing?
    

Please let me know if my understanding is correct. Also, do you know when 1.0.9 will be released?

@KamilSzostak
Copy link
Contributor

  1. Page view to dependency calls correlation only works for requests within the same domain. So if your page is making AJAX calls to a different domain they won't have the ms-root-id header and won't be correlated.
    We are planning to enable the correlation feature by default as part of 1.0.9 release.
  2. Yes, Unhandled browser exceptions not being tracked. #282 will be fixed in 1.0.9

We don't have a fixed data for 1.0.9 release. I hope to release it next week. The release schedule is available here, I'll update it as soon as I know the release data.

@shkrishms
Copy link
Author

Thanks Kamil.
How to correlate request across domains? Should we just include the headers manually?

@KamilSzostak
Copy link
Contributor

Yes, you can include ms-root-* headers manually using a telemetry processor.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants