Skip to main content

Validate the Python agent configuration

The Python agent includes a script for validating and testing your agent configuration.

Steps to run the script

  1. Install contrast-agent version 5.1.0 or later using pip.

  2. Prepare your Contrast configuration using a YAML file, environment variables, or both.

  3. Run the command contrast-validate-config. This script validates your current configuration and tests your ability to communicate with Contrast.

See also