package
0.0.0-20241004152351-11f625312c93
Repository: https://github.com/aws/amazon-cloudwatch-agent-test.git
Documentation: pkg.go.dev

# README

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

NameDescription
performanceRecord CloudWatchAgent's performance metrics by using procstat (e.g cpu_usage) and send it to DynamoDB.
stressRecord 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.

NameDescriptionDefault
preparation-modethe 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)

# Packages

No description provided by the author
No description provided by the author