Open andrewmitchell21 opened 5 years ago
Also having this issue
What does the output for the respective metrics look like?
I just get a tonne of 400 errors for metrics that don't exist for x resource type. But that seems to stop any valid metrics coming through also. Config below
resource_tags:
- resource_tag_name: "prometheus"
resource_tag_value: "tomonitor"
resource_types:
- "Microsoft.Network/loadbalancers"
- "Microsoft.Network/virtualnetworkgateways"
- "Microsoft.Compute/virtualMachines"
metrics:
- name: "CPU Credits Consumed"
- name: "Percentage CPU"
- name: "Inbound Flows"
- name: "Outbound Flows"
- name: "Network In Total"
- name: "Network Out Total"
- name: "OS Disk Queue Depth"
- name: "Byte Count"
- name: "Health Probe Status"
- name: "Tunnel Ingress Bytes"
- name: "Tunnel Egress Bytes"
- name: "Tunnel Bandwidth"
Any idea where we can go from here?
At present this module doesn't appear to support exporting different metrics for resource groups that have multiple resource Ids, for example, we should be able to to the following:
At the moment the config expects the following:
resource types have different metrics, and this causes 400's