validator

command
v0.0.0-...-c4a3a4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MIT-0 Imports: 13 Imported by: 0

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

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL