MON-281 automatically handle forecast monitor from could reach pattern
This commit is contained in:
parent
c99cdb483e
commit
f4410676f1
@ -55,7 +55,7 @@ EOF
|
|||||||
IFS=$(echo -en "\n\b")
|
IFS=$(echo -en "\n\b")
|
||||||
for match in $(grep -E ^[[:space:]]+name[[:space:]]+= $(basename ${path})); do
|
for match in $(grep -E ^[[:space:]]+name[[:space:]]+= $(basename ${path})); do
|
||||||
name=$(get_name "${match}")
|
name=$(get_name "${match}")
|
||||||
echo "- $name" >> README.md
|
echo "- ${name/could reach/forecast}" >> README.md
|
||||||
done
|
done
|
||||||
IFS=$SAVEIFS
|
IFS=$SAVEIFS
|
||||||
terraform-docs md ./ >> README.md
|
terraform-docs md ./ >> README.md
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Creates DataDog monitors with the following checks:
|
|||||||
- CPU usage
|
- CPU usage
|
||||||
- CPU load 5
|
- CPU load 5
|
||||||
- Free disk space
|
- Free disk space
|
||||||
- Disk Space could reach
|
- Disk Space forecast
|
||||||
- Free disk inodes
|
- Free disk inodes
|
||||||
- Free memory
|
- Free memory
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user