SSWConsulting / SSW.Rules

Generator for ssw.com.au/rules
https://www.ssw.com.au/rules
MIT License
13 stars 13 forks source link

👨‍💻 AppInsights - No events/logs coming though #1323

Closed JackDevAU closed 4 months ago

JackDevAU commented 5 months ago

CC @adamcogan @drwharris @Aibono1225 @bradystroud

Hey Team,

Description

We don't seem to be tracking events and logs anymore? I think we should be seeing successful requests and tracking errors.

See Prod AppInsights: https://portal.azure.com/#@sswcom.onmicrosoft.com/resource/subscriptions/b8b18dcf-d83b-47e2-9886-00c2e983629e/resourceGroups/SSW.Rule/providers/microsoft.insights/components/sswrules/failures

### Tasks
- [ ] Add analytics back to Rules
- [ ] Update AppInsight
wicksipedia commented 5 months ago

The app insights instance wasn't updated to use a logs analytics workspace and the classic app insights have been disabled.

Also, it looks like Rules is still using instrumentation keys instead of connection strings.

JackDevAU commented 5 months ago

Also to note I found that we can see some browser insights but can't see the errors from netlifyCMS. These are 500 errors that consistently occur.

  1. Is there a way to track and log these netlifyCMS errors?
JackDevAU commented 4 months ago

Hey @KristenHu

Timebox: 2 hours.

Check the NetlifyCMS Docs to see if we can catch their errors. If not, drop this PBI.

KristenHu commented 4 months ago

Hey @KristenHu

Timebox: 2 hours.

Check the NetlifyCMS Docs to see if we can catch their errors. If not, drop this PBI.

I've checked the Docs, GitHub issues and StackOverflow questions of Netlify CMS, and didn't find any related content.

JackDevAU commented 4 months ago

Closing + moving to blocked as we won't spend anymore time on this. We've added a tip + wiki link to the DecapCMS editor to help with the 500 issues that are commonly displayed.