Would be great to see some kind of monitoring or logs for the Azure Functions. I'm unable to see anything about what's happening on there, just that I have functions
Thank you for trying out the service.
AppInsights is supported https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#appinsights_instrumentationkey
https://docs.microsoft.com/en-us/azure/static-web-apps/apis#constraints
Note: This must give you enough to get logs/metrics. But there is still some work on our end to improve observability overall.
@anganti with that will we be able to get the request metrics as well, or only where we do telemetry within the Function? For me, I'd like to be able to click on the Function name and get the minimal monitoring like I can do when deployed to a Function App.
@aaronpowell sounds like a valid ask that we could add to our backlog as we invest more into logs/metrics @dariagrigoriu
Can we add App Insights by default but turn on the daily cap so that it is free to use?
@anthonychu we had managed AppInsights but took it away for the preview release. Need more deeper understanding on the scale/limits of AppInsights per subscription and billing for it, if resource is managed onbehalf. Happy to have that conversation again. @dariagrigoriu
Would it be possible to get some sort of documentation on how to attach App Insights. For those of us coming from the existing Azure Functions panel, logging was basically automatic. How do we do that here?
Not official docs @oadrian2, but I blogged about it - https://www.aaron-powell.com/posts/2020-08-12-getting-logs-from-static-web-apps-apis/
Looks like @craigshoemaker is working on the official doc for this. Looking at an end of February time frame right now.
Most helpful comment
Not official docs @oadrian2, but I blogged about it - https://www.aaron-powell.com/posts/2020-08-12-getting-logs-from-static-web-apps-apis/