-
Notifications
You must be signed in to change notification settings - Fork 70
/
azure-example.yml
41 lines (38 loc) · 1.15 KB
/
azure-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
active_directory_authority_url: "https://login.microsoftonline.com/"
resource_manager_url: "https://management.azure.com/"
credentials:
subscription_id: <secret>
client_id: <secret>
client_secret: <secret>
tenant_id: <secret>
targets:
- resource: "/resourceGroups/blog-group/providers/Microsoft.Web/sites/blog"
metrics:
- name: "BytesReceived"
- name: "BytesSent"
- resource: "/resourceGroups/app-group/providers/Microsoft.Web/sites/app"
metrics:
- name: "Http2xx"
- name: "Http5xx"
- resource: "/resourceGroups/vm-group/providers/Microsoft.Compute/virtualMachines/vm"
metric_namespace: "Azure.VM.Windows.GuestMetrics"
metrics:
- name: 'Process\Thread Count'
resource_groups:
- resource_group: "webapps"
resource_types:
- "Microsoft.Compute/virtualMachines"
resource_name_include_re:
- "testvm.*"
resource_name_exclude_re:
- "testvm12"
metrics:
- name: "CPU Credits Consumed"
resource_tags:
- resource_tag_name: "monitoring"
resource_tag_value: "enabled"
resource_types:
- "Microsoft.Compute/virtualMachines"
metrics:
- name: "CPU Credits consumed"