-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend CloudWatch Agent AppSignals EC2 tests for MacOS and Window (#405)
- Loading branch information
Showing
10 changed files
with
522 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,109 @@ | ||
{ | ||
"agent": { | ||
"debug": true | ||
}, | ||
"metrics": { | ||
"namespace": "CloudWatchAgentMacFeature", | ||
"metrics_collected": { | ||
"statsd": { | ||
"metrics_aggregation_interval": 60, | ||
"metrics_collection_interval": 60, | ||
"service_address": ":8125" | ||
}, | ||
"cpu": { | ||
"agent": { | ||
"debug": true | ||
}, | ||
"metrics": { | ||
"namespace": "CloudWatchAgentMacFeature", | ||
"metrics_collected": { | ||
"statsd": { | ||
"metrics_aggregation_interval": 60, | ||
"metrics_collection_interval": 60, | ||
"service_address": ":8125" | ||
}, | ||
"cpu": { | ||
"measurement": [ | ||
"time_active", | ||
"time_guest" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"swap": { | ||
"measurement": [ | ||
"free", | ||
"used_percent" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"processes": { | ||
"measurement": [ | ||
"blocked", | ||
"running" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"netstat": { | ||
"measurement": [ | ||
"tcp_close", | ||
"udp_socket" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"mem": { | ||
"measurement": [ | ||
"available_percent", | ||
"used_percent" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"disk": { | ||
"resources": [ | ||
"*" | ||
], | ||
"measurement": [ | ||
"free", | ||
"used_percent" | ||
], | ||
"drop_device": true, | ||
"metrics_collection_interval": 1 | ||
}, | ||
"net": { | ||
"resources": [ | ||
"en0" | ||
], | ||
"measurement": [ | ||
"bytes_sent", | ||
"bytes_recv" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"procstat": [ | ||
{ | ||
"exe": "amazon-cloudwatch-agent", | ||
"measurement": [ | ||
"time_active", | ||
"time_guest" | ||
"cpu_usage", | ||
"memory_rss" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"swap": { | ||
"measurement": [ | ||
"free", | ||
"used_percent" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"processes": { | ||
"measurement": [ | ||
"blocked", | ||
"running" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"netstat": { | ||
"measurement": [ | ||
"tcp_close", | ||
"udp_socket" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"mem": { | ||
"measurement": [ | ||
"available_percent", | ||
"used_percent" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"disk": { | ||
"resources": [ | ||
"*" | ||
], | ||
"measurement": [ | ||
"free", | ||
"used_percent" | ||
], | ||
"drop_device": true, | ||
"metrics_collection_interval": 1 | ||
}, | ||
"net": { | ||
"resources": [ | ||
"en0" | ||
], | ||
"measurement": [ | ||
"bytes_sent", | ||
"bytes_recv" | ||
], | ||
"metrics_collection_interval": 1 | ||
}, | ||
"procstat": [ | ||
{ | ||
"exe": "amazon-cloudwatch-agent", | ||
"measurement": [ | ||
"cpu_usage", | ||
"memory_rss" | ||
], | ||
"metrics_collection_interval": 1 | ||
} | ||
] | ||
}, | ||
"append_dimensions": { | ||
"InstanceId": "${aws:InstanceId}" | ||
}, | ||
"force_flush_interval": 30 | ||
} | ||
] | ||
}, | ||
"logs": { | ||
"logs_collected": { | ||
"files": { | ||
"append_dimensions": { | ||
"InstanceId": "${aws:InstanceId}" | ||
}, | ||
"force_flush_interval": 30 | ||
}, | ||
"logs": { | ||
"logs_collected": { | ||
"files": { | ||
"collect_list": [ | ||
{ | ||
"file_path": "/tmp/test1.log", | ||
"log_group_name": "{instance_id}", | ||
"log_stream_name": "test1.log", | ||
"timezone": "UTC" | ||
"file_path": "/tmp/test1.log", | ||
"log_group_name": "{instance_id}", | ||
"log_stream_name": "test1.log", | ||
"timezone": "UTC" | ||
} | ||
] | ||
} | ||
}, | ||
"metrics_collected": { | ||
"emf": { } | ||
}, | ||
"force_flush_interval": 5 | ||
} | ||
}, | ||
"metrics_collected": { | ||
"app_signals": {}, | ||
"emf": { } | ||
}, | ||
"force_flush_interval": 5 | ||
}, | ||
"traces": { | ||
"traces_collected": { | ||
"app_signals": {} | ||
} | ||
} | ||
} |
Oops, something went wrong.