Hi Folks,
I was going through this blog post regarding connecting power apps and azure application insights. I'm clear with the basic procedure of using the instrumentation to make the connection. My concern is does it log all unhandled errors in the connected canvas app without any further action from our end?
Or should we have to use trace everywhere we would like to log error? Also how can we differentiate data from power apps to that from other services if we just have the one insights workspace for all services?
Thank you.
Solved! Go to Solution.
Hi @ddevine , thank you for the suggestion.
Traces are good enough for me as long as it is logged. I was able to use trace function in App.error property to sent any unhandled exceptions to Azure. Also added the azure insights instrumentation key to the app.
Reference: https://www.youtube.com/watch?v=Zc4mE_4U7lI&t=167s
Thank you.
Traces seems to be the only table you can write to natively. In fact, even when enabling the experimental feature for logging Unhanded exceptions it documented they are also logged to Traces.
Hi @ddevine , thank you for the suggestion.
Traces are good enough for me as long as it is logged. I was able to use trace function in App.error property to sent any unhandled exceptions to Azure. Also added the azure insights instrumentation key to the app.
Reference: https://www.youtube.com/watch?v=Zc4mE_4U7lI&t=167s
Thank you.
User | Count |
---|---|
260 | |
109 | |
92 | |
56 | |
41 |