The code for Snippet based setup on this documentation page is different than the one in github's readme of appinsight-js (https://github.com/microsoft/ApplicationInsights-JS). Which one is correct? Or are they equivalent?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@yohny Thank you for the feedback! We are investigating this and will get back to you shortly.
I see this was asked 3 weeks ago. I am seeing this same issue. Is there an update?
My understanding is that this snippet does belong in the docs, however there are additional steps that need to be taken before the docs are updated. @lgayhardt is currently working on this.
@yohny Thanks for the reminder, the snippet on github README is the most updated one, and the doc page is now up to date: https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript#snippet-based-setup
Please close the issue if no further question, thanks.@lgayhardt
@yohny We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
@yohny Sorry for the confusion... updating again, it should be all good today. 👀
Most helpful comment
@yohny Sorry for the confusion... updating again, it should be all good today. 👀