Azure Function App -
You can declare to scrape an Azure Function App via the FunctionApp
resource
type.
The following fields need to be provided:
functionAppName
- The name of the Azure Function AppslotName
- The name of the deployment slot (optional)
All supported metrics are documented in the official Azure Monitor documentation.
The following scraper-specific metric label will be added:
slot_name
- Name of the deployment slot. If none is specified,production
will be used.
Example:
name: azure_function_requests
description: "Amount of requests for an Azure Function App"
resourceType: FunctionApp
azureMetricConfiguration:
metricName: Requests
aggregation:
type: Total
resources:
- functionAppName: promitor-function-app