Azure Function App
You can declare to scrape an Azure Function App via the FunctionApp
resource
type.
When using declared resources, 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: # Optional, required when no resource discovery is configured
- functionAppName: promitor-function-app
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: function-app-landscape