Unverified Commit bbb877b3 authored by Yun Guo's avatar Yun Guo

provision a prometheus-db in gprd

parent 4ea94af1
......@@ -40,6 +40,22 @@ resource "google_compute_url_map" "monitoring-lb" {
###################################
host_rule {
hosts = ["prometheus-db.gprd.gitlab.net"]
path_matcher = "prometheus-db"
}
path_matcher {
name = "prometheus-db"
default_service = "${module.prometheus-db.google_compute_backend_service_self_link}"
path_rule {
paths = ["/*"]
service = "${module.prometheus-db.google_compute_backend_service_self_link}"
}
}
###################################
host_rule {
hosts = ["alerts.gprd.gitlab.net"]
path_matcher = "alerts"
......
......@@ -420,7 +420,7 @@ variable "node_count" {
"alerts" = 2
"prometheus" = 2
"prometheus-app" = 2
"prometheus-db" = 0
"prometheus-db" = 1
"influxdb" = 2
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment