-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcloudwatch-config.json
More file actions
44 lines (44 loc) · 902 Bytes
/
cloudwatch-config.json
File metadata and controls
44 lines (44 loc) · 902 Bytes
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
{
"metrics": {
"namespace": "ECommerce/API",
"metrics_collected": {
"cpu": {
"measurement": [
"cpu_usage_idle",
"cpu_usage_iowait",
"cpu_usage_user",
"cpu_usage_system"
],
"metrics_collection_interval": 60
},
"disk": {
"measurement": [
"used_percent"
],
"metrics_collection_interval": 60,
"resources": [
"*"
]
},
"mem": {
"measurement": [
"mem_used_percent"
],
"metrics_collection_interval": 60
}
}
},
"logs": {
"logs_collected": {
"files": {
"collect_list": [
{
"file_path": "/var/log/ecommerce-api.log",
"log_group_name": "/aws/ecs/ecommerce-api",
"log_stream_name": "{instance_id}"
}
]
}
}
}
}