MON-281 automatically handle forecast monitor from could reach pattern

This commit is contained in:
Quentin Manfroi 2018-08-21 15:11:30 +02:00
parent c99cdb483e
commit f4410676f1
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ EOF
IFS=$(echo -en "\n\b")
for match in $(grep -E ^[[:space:]]+name[[:space:]]+= $(basename ${path})); do
name=$(get_name "${match}")
echo "- $name" >> README.md
echo "- ${name/could reach/forecast}" >> README.md
done
IFS=$SAVEIFS
terraform-docs md ./ >> README.md

View File

@ -19,7 +19,7 @@ Creates DataDog monitors with the following checks:
- CPU usage
- CPU load 5
- Free disk space
- Disk Space could reach
- Disk Space forecast
- Free disk inodes
- Free memory