Open ogix opened 1 month ago
Can you share the following details for us to debug further?
I would also like you to confirm if the application insights connection is present as an app setting.
name: func-we-tst-westeu-2 bindings: mostly timer triggered
yes, app insights connection string is present:
Thanks for the information, will get back.
This is currently work in progress. Will notify this thread once the metrics support is out for Functions on ACA resources. Currently FunctionExecutionCount metrics are been looked into. Please let me know if there are other metrics that you need.
I would be interested to have Instance count
Thanks for the update. But it looks like Functions on ACA are still in Preview stage. At least I would expect some message saying that metrics widgets are currently not working..
Well Function on ACA got GA, so this is rather strange that metrics are not available. But as far as I know, there are also issues with metrics when Functions are hosted in a Linux-based App Service plan.
Metrics are not working, not able to setup alerts
@raorugan is there any ETA for this?
@eduards-vavere - please let us know which metrics you need to setup alerts?
@kmadof - this is work in progress , by end of november we may get some idea on this. May I know which metrics are you looking for?
Failed execution count number 1
Nice to have:
Cpu, memory, replica restarts, avg response time, http 4xx 5xx
@eduards-vavere - these are available from underlying ACA resource of function app. You can follow guidance in this link to capture and configure alerts - https://learn.microsoft.com/en-us/azure/container-apps/metrics
@raorugan, how can we access the metrics of underlying container apps? I can't find a way to do this.
And speaking about metrics (apart of course all metrics from underlying container apps) I would like to see these:
Ideally, it would be able to split them by Function Name.
Sure, May I know the use-case for consuming FunctionExecutionUnits, Automatic Scaling Instance Count?
FunctionExecutionUnits
would be useful to monitor costs
Automatic Scaling Instance Count
- here we want to scale from 0 and this would be good for monitoring the performance o processed messages
@raorugan Can you explain how we can capture metrics of underlying container apps?
Azure Functions on ACA are not billed on execution count . Please check billing meters here - https://azure.microsoft.com/en-us/pricing/details/container-apps/?msockid=0a425015a13d6de6067d418da0d56c26 Check out the replica count metrics of the underlying container app. Link - https://learn.microsoft.com/en-us/azure/container-apps/metrics#available-metrics
@kmadof - You can follow guidance in this link to capture and configure alerts - https://learn.microsoft.com/en-us/azure/container-apps/metrics
@raorugan, I still don't know how to get the name of the underlying container app. It is easy for a regular Container App. But Azure Functions on ACA is just shown as Azure Function.
I have set up a function app in dotnet-isolated mode with ACA. Functions are running but Metrics do not show anything.
Have I done something wrong or this is a known issue?