diff --git a/ansible/roles/prometheus/templates/prometheus.yml b/ansible/roles/prometheus/templates/prometheus.yml index ca9a56aa..d73150d3 100755 --- a/ansible/roles/prometheus/templates/prometheus.yml +++ b/ansible/roles/prometheus/templates/prometheus.yml @@ -127,6 +127,8 @@ scrape_configs: - targets: - 0.do.th.prod.ooni.io:9001 - 0.do.th.prod.ooni.io + - 1.do.th.prod.ooni.io:9001 + - 1.do.th.prod.ooni.io - job_name: 'ooni-web' scrape_interval: 5m diff --git a/tf/modules/ooni_th_droplet/main.tf b/tf/modules/ooni_th_droplet/main.tf index 24a45ad9..24359c0c 100644 --- a/tf/modules/ooni_th_droplet/main.tf +++ b/tf/modules/ooni_th_droplet/main.tf @@ -60,7 +60,7 @@ resource "digitalocean_droplet" "ooni_th_docker" { ipv6 = true ssh_keys = var.ssh_keys user_data = data.cloudinit_config.ooni_th_docker.rendered - count = 1 + count = var.droplet_count lifecycle { create_before_destroy = true