- 25 Sep 2020
- 1 Minute to read
Function Apps Monitoring
- Updated on 25 Sep 2020
- 1 Minute to read
When an Azure Function App is associated with a Serverless360 Composite Application, it is possible to monitor the Function app in various perspectives using the monitors in Serverless360.
Monitor Azure Function App State
If the intention is to monitor the state, say the business demands the Function App, that handles the critical computation, to be always running, Serverless360 can monitor the current sate of the Function App against the expected state.
By associating a Function App to a Status Monitor or Threshold Monitor, it is possible to monitor the state and alert through configured notification channels) by comparing the current state against the expected state. You can read extensive documentation on Status Monitor and Threshold Monitor.
Monitor Azure Function based on Metrics
If the intention is to understand the efficiency, reliability or consumption of the Azure Function App then the choice should be a Serverless360 Data Monitor. Data Monitoring can be configured for an Azure Function App on an extensive set of metrics. If the requirement is to monitor, any errors encountered by the Azure Function App that makes it unavailable for the consuming application. Configure a data monitor with Http Server Errors being monitored against appropriate warning and error threshold values set as in figure below
To monitor on the consumption of the Azure Function App it would be required to define a Data Monitor with configuration done for metrics like Memory Working Set, Executions, as the billing on an Azure Function is influenced by the number of executions and the memory consumed.
There is an extensive set of metrics available based on which Azure Function App data monitoring can be configured as per the monitoring requirement.
Monitor Azure Function for Failure
Serverless360 Watch Monitor can be a solution to get notified on the failure in any invocation of an Azure Function. When an Azure Function App in a Composite Application is associated to a Watch Monitor, it can be monitored for failure in any of its Functions and the alert will be sent on the configured notification channels within 5 minutes of the failure occurrence.
We recommend you to read these interesting Use Cases to understand the above mentioned capabilities better