-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathbasic_config_windows.yaml
90 lines (90 loc) · 2.46 KB
/
basic_config_windows.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
exporters:
awscloudwatch:
force_flush_interval: 1m0s
max_datums_per_call: 1000
max_values_per_datum: 150
middleware: agenthealth/metrics
namespace: CWAgent
region: us-west-2
resource_to_telemetry_conversion:
enabled: true
extensions:
agenthealth/metrics:
is_usage_data_enabled: true
stats:
operations:
- PutMetricData
usage_flags:
mode: EC2
region_type: ACJ
agenthealth/statuscode:
is_status_code_enabled: true
is_usage_data_enabled: true
stats:
usage_flags:
mode: EC2
region_type: ACJ
entitystore:
mode: ec2
region: us-west-2
processors:
awsentity/resource:
entity_type: Resource
platform: ec2
scrape_datapoint_attribute: true
ec2tagger:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- ImageId
- InstanceId
- InstanceType
imds_retries: 1
middleware: agenthealth/statuscode
refresh_tags_interval: 0s
refresh_volumes_interval: 0s
receivers:
telegraf_win_perf_counters/1492679118:
alias_name: Memory
collection_interval: 1m0s
initial_delay: 1s
timeout: 0s
telegraf_win_perf_counters/4283769065:
alias_name: LogicalDisk
collection_interval: 1m0s
initial_delay: 1s
timeout: 0s
service:
extensions:
- agenthealth/metrics
- agenthealth/statuscode
- entitystore
pipelines:
metrics/host:
exporters:
- awscloudwatch
processors:
- ec2tagger
- awsentity/resource
receivers:
- telegraf_win_perf_counters/1492679118
- telegraf_win_perf_counters/4283769065
telemetry:
logs:
development: false
disable_caller: false
disable_stacktrace: false
encoding: console
level: info
output_paths:
- c:\ProgramData\Amazon\AmazonCloudWatchAgent\Logs\amazon-cloudwatch-agent.log
sampling:
enabled: true
initial: 2
thereafter: 500
tick: 10s
metrics:
address: ""
level: None
traces:
level: None