Skip to content

Commit

Permalink
Merge pull request #98 from rackspace-infrastructure-automation/fix/c…
Browse files Browse the repository at this point in the history
…loudhealth_cf_metrics

CWConfig Updates
  • Loading branch information
cwgem authored Aug 17, 2022
2 parents dfc23c9 + dcfc648 commit 8a11382
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
10 changes: 6 additions & 4 deletions text/linux_cw_agent_param.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"metrics": {
"append_dimensions": {
"InstanceId": "$${aws:InstanceId}",
"AutoScalingGroupName": "$${aws:AutoScalingGroupName}"
"InstanceId": "$${aws:InstanceId}"
},
"aggregation_dimensions": [
["InstanceId"],
["AutoScalingGroupName"],
["InstanceId", "device"]
],
"metrics_collected": {
Expand All @@ -24,7 +22,11 @@
],
"metrics_collection_interval": 60,
"resources": ["*"],
"measurement": ["used_percent"]
"measurement": [
"used_percent",
"disk_total",
"disk_used"
]
}
}
},
Expand Down
7 changes: 3 additions & 4 deletions text/windows_cw_agent_param.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,17 @@
},
"metrics": {
"append_dimensions": {
"AutoScalingGroupName": "$${aws:AutoScalingGroupName}",
"InstanceId": "$${aws:InstanceId}"
},
"aggregation_dimensions": [["InstanceId"], ["AutoScalingGroupName"]],
"aggregation_dimensions": [["InstanceId"]],
"metrics_collected": {
"LogicalDisk": {
"measurement": [{ "name": "% Free Space", "unit": "Percent" }],
"measurement": [{ "name": "% Free Space"}],
"metrics_collection_interval": 60,
"resources": ["*"]
},
"Memory": {
"measurement": ["Available MBytes"],
"measurement": ["Available MBytes", {"name": "% Committed Bytes In Use"}],
"metrics_collection_interval": 60
}
}
Expand Down

0 comments on commit 8a11382

Please sign in to comment.