Merged in MON-231-update-readme-for-every-monitors (pull request #100)
MON-231 update readme for every monitors Approved-by: Quentin Manfroi <quentin.manfroi@yahoo.fr> Approved-by: Laurent Piroelle <laurent.piroelle@fr.clara.net> Approved-by: Alexandre Gaillet <alexandre.gaillet@fr.clara.net>
This commit is contained in:
commit
7a9c97be81
@ -1,15 +1,25 @@
|
||||
image: hashicorp/terraform:0.10.8
|
||||
image: hashicorp/terraform:full
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
- step:
|
||||
name: Format
|
||||
name: Terraform format
|
||||
script:
|
||||
- terraform fmt -write=false -diff -check
|
||||
- step:
|
||||
name: Validate
|
||||
name: Terraform validate
|
||||
script:
|
||||
- mv main.tf.ci main.tf
|
||||
- mv terraform.tfvars.ci terraform.tfvars
|
||||
- terraform init
|
||||
- terraform validate
|
||||
- step:
|
||||
name: Readme update
|
||||
script:
|
||||
- apk update
|
||||
- apk upgrade
|
||||
- apk add --no-cache bash git grep
|
||||
- go get github.com/segmentio/terraform-docs
|
||||
- ./scripts/update_readme.sh
|
||||
- git status
|
||||
- git diff --exit-code
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,30 +1,30 @@
|
||||
AWS ELB DataDog monitors
|
||||
========================
|
||||
|
||||
How to use this module
|
||||
----------------------
|
||||
|
||||
```
|
||||
module "datadog-monitors-aws-elb" {
|
||||
source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}"
|
||||
|
||||
environment = "${var.environment}"
|
||||
message = "${module.datadog-message-alerting.alerting-message}"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Purpose
|
||||
-------
|
||||
Creates DataDog monitors with the following checks :
|
||||
|
||||
* ELB no healthy hosts
|
||||
* ELB latency too high
|
||||
* ELB http code 4xx percent to high
|
||||
* ELB http code 5xx percent to high
|
||||
* ELB backend http code 4xx percent to high
|
||||
* ELB backend http code 5xx percent to high
|
||||
|
||||
AWS ELB DataDog monitors
|
||||
========================
|
||||
|
||||
How to use this module
|
||||
----------------------
|
||||
|
||||
```
|
||||
module "datadog-monitors-aws-elb" {
|
||||
source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}"
|
||||
|
||||
environment = "${var.environment}"
|
||||
message = "${module.datadog-message-alerting.alerting-message}"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Purpose
|
||||
-------
|
||||
Creates DataDog monitors with the following checks :
|
||||
|
||||
* ELB no healthy hosts
|
||||
* ELB latency too high
|
||||
* ELB http code 4xx percent to high
|
||||
* ELB http code 5xx percent to high
|
||||
* ELB backend http code 4xx percent to high
|
||||
* ELB backend http code 5xx percent to high
|
||||
|
||||
Inputs
|
||||
------
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -305,4 +305,3 @@ Related documentation
|
||||
DataDog documentation: [https://docs.datadoghq.com/integrations/azure/](https://docs.datadoghq.com/integrations/azure/)
|
||||
|
||||
Azure metrics documentation: [https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics)
|
||||
| ||||