Skip to content

Files

Latest commit

e3509ca · Dec 3, 2024

History

History

validator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Validator

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)

Architectural

Validator Type

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.

Validator Configuration

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"

Run as a command

go run ./validator/main.go --validator-config=/tmp/parameters.yml --preparation-mode=true

Add a validation suite

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)