Closed antopraveen closed 3 years ago
I am trying to fetch metrics from multiple resource type using the below config is not working, can you please let me know how to achieve this.
targets: resource_groups: - resource_group: "RG-AZURE" resource_types: - "Microsoft.Network/loadBalancers" metrics: - name: "PacketCount" resource_groups: - resource_group: "RG-AZURE" resource_types: - "Microsoft.DBforPostgreSQL/servers" metrics: - name: "active_connections" - name: "storage_used"
This is an invalid configuration, you can't have two keys called resource_groups.
Is there a way i can tweak the config file to get statistics of multiple resource types like
Done
targets: resource_groups:
I am trying to fetch metrics from multiple resource type using the below config is not working, can you please let me know how to achieve this.