Azure SQL Managed Instance
You can scrape an Azure SQL Managed Instance via the SqlManagedInstance
resource type.
When using declared resources, the following fields need to be provided:
instanceName
- The name of the SQL Server instance.
All supported metrics are documented in the official Azure Monitor documentation.
Example:
name: promitor_demo_azuresqlmanagedinstance_nodes
description: "The amount of nodes for an Azure SQL Managed Instance."
resourceType: SqlManagedInstance
azureMetricConfiguration:
metricName: virtual_core_count
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- instanceName: promitor-sql-managed-instance
resourceDiscoveryGroups:
- name: sql-managed-instances
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: sql-managed-instances-landscape