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:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
- step:
|
- step:
|
||||||
name: Format
|
name: Terraform format
|
||||||
script:
|
script:
|
||||||
- terraform fmt -write=false -diff -check
|
- terraform fmt -write=false -diff -check
|
||||||
- step:
|
- step:
|
||||||
name: Validate
|
name: Terraform validate
|
||||||
script:
|
script:
|
||||||
- mv main.tf.ci main.tf
|
- mv main.tf.ci main.tf
|
||||||
- mv terraform.tfvars.ci terraform.tfvars
|
- mv terraform.tfvars.ci terraform.tfvars
|
||||||
- terraform init
|
- terraform init
|
||||||
- terraform validate
|
- 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
|
AWS ELB DataDog monitors
|
||||||
========================
|
========================
|
||||||
|
|
||||||
How to use this module
|
How to use this module
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
```
|
```
|
||||||
module "datadog-monitors-aws-elb" {
|
module "datadog-monitors-aws-elb" {
|
||||||
source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}"
|
source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/aws/elb?ref={revision}"
|
||||||
|
|
||||||
environment = "${var.environment}"
|
environment = "${var.environment}"
|
||||||
message = "${module.datadog-message-alerting.alerting-message}"
|
message = "${module.datadog-message-alerting.alerting-message}"
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Purpose
|
Purpose
|
||||||
-------
|
-------
|
||||||
Creates DataDog monitors with the following checks :
|
Creates DataDog monitors with the following checks :
|
||||||
|
|
||||||
* ELB no healthy hosts
|
* ELB no healthy hosts
|
||||||
* ELB latency too high
|
* ELB latency too high
|
||||||
* ELB http code 4xx percent to high
|
* ELB http code 4xx percent to high
|
||||||
* ELB http code 5xx percent to high
|
* ELB http code 5xx percent to high
|
||||||
* ELB backend http code 4xx percent to high
|
* ELB backend http code 4xx percent to high
|
||||||
* ELB backend http code 5xx percent to high
|
* ELB backend http code 5xx percent to high
|
||||||
|
|
||||||
Inputs
|
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/)
|
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)
|
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)
|
||||||
| |||||||