Azure Function App¶
You can declare to scrape an Azure Function App via the
When using declared resources, the following fields need to be provided:
functionAppName- The name of the Azure Function App
slotName- 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,
productionwill be used.
Here is an example configuration:
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://docs.promitor.io/latest/how-it-works#using-resource-discovery) - name: function-app-landscape