Azure has a variety of resources that facilitate onboarding our business from a native platform to the Cloud. Comparatively, AIS (Azure Integration Services) is the easiest method to implement business in the cloud by quick creating components and correlating them to complete our business needs. After deploying our business applications in Azure, the next essential step is to monitor the participating resources.
Monitoring Azure Application
For any business implemented as Azure Serverless Applications, monitoring them is critical. Lack of concentration in this area might have a huge impact on your business. A single application can involve various resources from the Azure portal, monitoring these huge resources individually becomes an overhead for us. So, we need the Application level of monitoring which will intimate the malfunction or unavailability of any resource in an application. Serverless360 can help you achieve application-level monitoring which will keep the stakeholders informed about the status and performance of the participating Azure resources.
Azure Status Monitoring
Consider an e-commerce scenario where you have an application built using Service Bus Queues, Topics, Logic app, and Function app. A new order request is placed using HTTP request and the order request is sent to a Service Bus Queue and a Logic app is constantly picking the order messages from the queue in the peek-lock mode for further processing. The orders picked by the logic app is sent to a Function app for validation and the function app returns the Validation status to the same logic app and then this message is pushed to a Topic with defined Subscription rules so that the order is sent to the appropriate subscription based on the validation status of each order.
Azure provides some native monitoring solutions for the resources we have used in our scenario.
Azure Status Monitor for Logic Apps
- Native Azure Monitor for Logic Apps can be found inside the Alerts settings as shown below
In the subscription list, select the respective subscription under which, the Logic App to be monitored is present. Then select the resource group and the corresponding resource will be selected by default. Once the alert configuration is done, an error will be displayed as per the Time range configured.
- To configure an alert, click on the New Alert Rule icon
- In the Create Alert Rule blade, we have the option to Add Conditions, which compares the threshold value with Logic App real-time performance.
- After selecting the parameters, we can configure the threshold value to get alerts whenever there is a breach.
Learn more about Azure metric monitoring here.
Azure Status Monitor for Function Apps
Like Azure Logic Apps, Function Apps also have an extensive set of metrics that can be configured to track the performance of your Function Apps.
Metrics available for monitoring Azure Function Apps in the Azure portal are displayed below.
Need for a Better Monitoring Solution
Though Azure has got the metric-based monitoring, for an Operations/ Support/ Business user, it is difficult to understand the performance of the Application without a holistic view. If we try to understand the performance at the application level, we must move into various subscriptions and drill deeper into the resource group to find each resource status manually. This consumes a lot of time and leads to overhead.
It is also not possible for us to visualize our application. But in Servereless360 all these challenges can be addressed with minimal efforts.
Serverless360 is one platform to manage and monitor your Azure serverless Application. It is crafted with capabilities to complement the Azure portal. Serverless360 serves as an entry point for the support person to better manage their Azure Serverless services. Some of the most common challenges faced by every Azure user are:
- No Application Visibility
- No Consolidated Monitoring
- No Deep/Integrated Tooling
- No Application Level Security
Serverless360 addresses all these challenges and to know more, Explore Serverless360
Why Business Needs a Proactive Approach
The native Azure monitor helps its users to be reactive, but any real-world business would require a proactive approach. To brief on this, let us consider a scenario where Queue acts as a messaging bridge and the Function app is validating the messages received from the queue. Since we are retrieving the messages in peek-lock mode, when the validation fails, messages get stagnated in the same queue. Beyond the TTL(Time To Live), the message gets pushed to the DDL(Dead-Lettered Queue). In our scenario TTL is configured for 1min.
Now consider that the orders are failing to pass the validation and DDL messages are getting piled up in the queue. In this case, if we use the Azure monitor, we can get the alert only when the maximum threshold value is breached. But by the time we get the alert, there will be lot more DDL messages piled up in our queue. It would be helpful for us if we have a proactive alert before reaching the threshold value.
A Proactive Approach for Azure Serverless with Serverless360
Serverless360 with its exclusive monitoring capabilities ensures that the end-user is well informed about the performance and status of their business application. It has a range of monitors each working with its unique ability to benefit the end-users. Attain a proactive business environment with the help of these monitors.
Threshold Monitor – Azure Violation Detection Monitor
Being updated on the status of resources is always essential. But it will be even profitable for any business to make use of an auto-correct option available in Serverless360’s Threshold monitor. With the Threshold monitor being activated on the resources involved in your business, you can rest assured that your resources will always remain in an active state. The Threshold monitor helps you to be proactive than being reactive during the downtime of a resource.
In our scenario Logic App is the key resource as it is connecting different working modules to complete the business needs. So, we need to ensure that the Logic App is always in the enabled state. This can be done by enabling the auto-correct option in the Threshold monitor. A lot of manual work is suppressed here which will increase the efficiency of the business operations.
Data Monitor – Azure Performance Monitor
With the help of the Data Monitor in Serverless360, the user can configure a warning threshold value for the metrics of the Resources which will send us an alert on breach of the configured threshold value.
Similarly, when the Error Value is breached you will get notified. Servereless360’s data monitor does not stop there. With data monitor users can perform cross monitoring among various metrics. In the above image cross, metric monitoring is performed to check whether all the incoming requests are near equal to the outgoing messages to analyse the performance of the Queue.
Status Monitor – Azure Status Monitor
Knowing the status of your Azure resources is an important factor to ensure the smooth flow of business hosted on a cloud platform. The Status monitor helps users to better understand the health status of each resource at prescribed time intervals. Report generated in Serverless360 will be a consolidated monitoring report, where the application level of visibility is achieved.
The above is obtained by adding our Logic apps, Function apps, Service bus queues, and Topics into a single status monitor. This helps users to attain the application-level monitoring.
Watch Monitor – Failure Detection Monitor
Status and Threshold monitor will give you an alert when there is a failure in the status of Azure resources. Watch Monitor will give you an alert report whenever there is a failure in Logic App runs or Function app executions.
In our scenario, we have a fine usage of the Azure Logic App and Function App. The Status monitor and threshold monitor will alert us on the status of the resource. But there are chances that a logic app run may fail, or a function app execution may fail. During these failures, Serverless360’s Watch monitor can send an alert report within 5 minutes from the time of failure. The alert report sent will have the necessary information to take proactive actions.
Service Map in Serverless360 serves as a physical representation of the architecture, the user can derive relationships between the entities that constitute the composite application. It provides a clean dashboard with a full application view and displays the state of each entity based on its monitoring configuration.
Every business needs a proactive approach than being reactive to any downtime or failure. Especially, for any business running in the cloud there is an indispensable need for a tool like Serverless360.Utilizing the different monitors available in Serverless360, monitoring the Business Application in Azure Cloud Space can be made more effective. Serverless360 does not stop with monitoring, but also provides better Management solutions for Operations and Support people to enhance their day in and day out tasks.