Azure Function App
  • 26 Jun 2022
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Azure Function App

  • Dark
    Light
  • PDF

Introduction

Customers can associate an Azure Function App to a Serverless360 Business Application to accomplish the following operations.

Azure Function

  • In addition to the Function Apps in Serverless360, users can also associate and manage Azure Functions from different Function Apps.

  • Users can now enable or disable an Azure Function directly from Serverless360.

Function enable.png

Test Function

  • Azure Functions can be tested using Serverless360. This is supported for any type of trigger in a function.

  • For example, to test an HTTP triggered Function, the user will be allowed to select the request method say GET or POST and add Headers, Query parameters, and Message body. After providing the details, a test run can be made and the response along with its status code will be displayed.

test function.PNG

Manage Keys

  • Keys provide default security mechanisms and in Azure Functions, keys can be created at the Function level.

  • If there is a key created for a Function, then the Function expects the key as a header to authorize any HTTP request. If no key is created, no key is required for the HTTP requests to get authorized.

  • Serverless360 now provides the capability to manage keys at the Function level. These keys are scoped to the function and can be used to access the function.

Manage keys.PNG

Invoke Triggers

  • Azure Function supports different types of triggers like HTTP, Service Bus Queue, Timer, etc. There may be scenarios where an invocation of the Function fails, and the user needs to reinvoke it.

  • There is no possibility to do it apart from posting the message of the failed invocation to the Trigger of the Function (this is not feasible in Timer triggered Function).

  • Serverless360 provides the capability to invoke the Function by sending a message to the Trigger. Users can achieve this by providing the Trigger details in Invoke Function screen and by sending the message.

  • For example, if the Function is a Service Bus Queue triggered one, the user can provide the Queue connection details and post the message. Right now, the Triggers supported in Serverless360 are Service Bus Queue, Service Bus Topic, Event Grid, and HTTP.

Invoke trigger.gif

Invocation Logs

  • Access to the invocation logs of Azure Functions is a significant capability provided by Serverless360 in terms of Azure Function App management.

  • Users can now filter out the invocation logs by selecting any one of the following states: Succeeded, Failed.

  • The invocation detail contains the following information: Invocation date, Message, and Log level.

Invocation logs.gif

Monitoring

  • Users can keep track of their Azure Function resource by using the isDisabled status.

  • Navigate to the Monitoring section of the resource to configure the monitoring rules for Azure Function.

Monitoring rules.png

Properties

  • Serverless360 enables viewing the properties of the Azure Function.

Function properties.gif

Azure Function App

  • Serverless360 now makes it simple to start and stop the Azure Function app.

  • It is also possible to restart the Azure Function app.

Function app.png

Resource Dashboard

Users now have access to a default Azure Function App Dashboard, which allows them to stay up to date with real-time data through enhanced data visualisation.

Function App Dashboard.png

Users are provided with the following pre-defined Dashboard widgets, which can be customised to meet their specific needs.

1. Function Execution Count
2. Requests Count
3. Http Errors
4. Data In vs Data Out
5. Garbage Collections
6. IO Read vs IO Write

Monitoring

  • Users can monitor their Azure Function App resources by configuring the rules available for monitoring.

  • Navigate to the Monitoring section of the resource to configure the monitoring rules for Azure Function App.

  • Users can specify monitoring threshold values based on their needs.

  • When the monitoring rule type is a metric, selecting metric against metric rules is also an option.

Monitor rules.png

Properties

  • Users can view the properties of the Azure Function App by clicking the Properties option available at the top.

Function app - Properties.png


Was this article helpful?