Static-web-apps: Logs/Monitoring for Azure Functions

Created on 25 May 2020  路  8Comments  路  Source: Azure/static-web-apps

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

Functions enhancement

Most helpful comment

All 8 comments

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?

Looks like @craigshoemaker is working on the official doc for this. Looking at an end of February time frame right now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wictorwilen picture wictorwilen  路  3Comments

krisnuttall picture krisnuttall  路  3Comments

mahmoudajawad picture mahmoudajawad  路  3Comments

henryjcee picture henryjcee  路  5Comments

ShanonJackson picture ShanonJackson  路  3Comments