From 6717a3bc8b5fb81c1a19964fd367878230331457 Mon Sep 17 00:00:00 2001 From: pmikus Date: Thu, 7 Jan 2021 14:27:38 +0000 Subject: Infra: Monitoring capability + Monitoring SOA + Nomad alertmanager job + Nomad prometheus job + Nomad grafana job Signed-off-by: pmikus Change-Id: I0b32e9c87276ba1a2d4a5322816f3473c737eae2 (cherry picked from commit a44eef233de959c5679602dc6cd1ed866d6abc14) (cherry picked from commit 2856c0a0c19319de146a93c27e106351faf1926c) --- terraform-ci-infra/1n_nmd/exporter/variables.tf | 76 +++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 terraform-ci-infra/1n_nmd/exporter/variables.tf (limited to 'terraform-ci-infra/1n_nmd/exporter/variables.tf') diff --git a/terraform-ci-infra/1n_nmd/exporter/variables.tf b/terraform-ci-infra/1n_nmd/exporter/variables.tf new file mode 100644 index 0000000000..bfa8bd37ac --- /dev/null +++ b/terraform-ci-infra/1n_nmd/exporter/variables.tf @@ -0,0 +1,76 @@ +# Nomad +variable "nomad_datacenters" { + description = "Nomad data centers" + type = list(string) + default = [ "dc1" ] +} + +# Exporter +variable "exporter_job_name" { + description = "Exporter job name" + type = string + default = "exporter" +} + +variable "exporter_use_canary" { + description = "Uses canary deployment" + type = bool + default = false +} + +# Node Exporter +variable "node_service_name" { + description = "Node exporter service name" + type = string + default = "nodeexporter" +} + +variable "node_version" { + description = "Node exporter version" + type = string + default = "1.0.1" +} + +variable "node_port" { + description = "Node exporter TCP allocation" + type = number + default = 9100 +} + +# Blackbox Exporter +variable "blackbox_service_name" { + description = "Blackbox exporter service name" + type = string + default = "blackboxexporter" +} + +variable "blackbox_version" { + description = "Blackbox exporter version" + type = string + default = "0.18.0" +} + +variable "blackbox_port" { + description = "Blackbox exporter TCP allocation" + type = number + default = 9115 +} + +# cAdvisor Exporter +variable "cadvisor_service_name" { + description = "cAdvisor exporter service name" + type = string + default = "cadvisorexporter" +} + +variable "cadvisor_image" { + description = "cAdvisor exporter docker image" + type = string + default = "gcr.io/cadvisor/cadvisor:v0.38.7" +} + +variable "cadvisor_port" { + description = "cAdvisor exporter TCP allocation" + type = number + default = 8080 +} \ No newline at end of file -- cgit 1.2.3-korg