We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b459b commit 19278b8Copy full SHA for 19278b8
packer/linux/conf/cloudwatch-agent/config.json
@@ -2,6 +2,29 @@
2
"agent": {
3
"run_as_user": "root"
4
},
5
+ "metrics": {
6
+ "metrics_collected": {
7
+ "mem": {
8
+ "measurement": [
9
+ "mem_used_percent"
10
+ ]
11
+ },
12
+ "disk": {
13
14
+ "used_percent"
15
+ ],
16
+ "resources": [
17
+ "*"
18
19
+ }
20
21
+ "append_dimensions": {
22
+ "ImageId": "${aws:ImageId}",
23
+ "InstanceId": "${aws:InstanceId}",
24
+ "InstanceType": "${aws:InstanceType}",
25
+ "AutoScalingGroupName": "${aws:AutoScalingGroupName}"
26
27
28
"logs": {
29
"logs_collected": {
30
"files": {
0 commit comments