Validator is used to get the generator configuration (e.g statsd stress parameters.yml) to generate the required loads (e.g 1000 statsd metrics, 1000 logs for a single log file, etc) to CloudWatchAgent and get the required metrics/logs/traces for validation and validate with an appropriate action (e.g stress validates the required metrics within bounds)
Name | Description |
---|---|
performance |
Record CloudWatchAgent's performance metrics by using procstat (e.g cpu_usage) and send it to DynamoDB. |
stress |
Record CloudWatchAgent's performance metrics when sending high metrics/logs/traces loads and ensure the performance stays consistent between releases. |
The following receiver configuration parameters are supported.
Name | Description | Default |
---|---|---|
preparation-mode |
the option to prepare the appropriate action for CloudWatchAgent before running CloudWatchAgent (e.g inject dynamically 1000 log file for CloudWatchAgent to monitor | "false" |
go run ./validator/main.go --validator-config=/tmp/parameters.yml --preparation-mode=true
Step 1: Add a parameters.yml
to generate the generator config (e.g statsd). For full configuration of generator configuration, here are all the configuration options
Step 2: Add an CloudWatchAgent json configuration that runs along with the validator (e.g statsd)