monitor finance app webhook handler [ci skip]

This commit is contained in:
viktorbarzin 2023-04-02 22:42:19 +01:00
parent 207c657e34
commit a3fe565ec5

View file

@ -172,6 +172,11 @@ resource "kubernetes_deployment" "finance_app_backend_webhook_handler" {
labels = {
app = "finance-app-backend-webhook-handler"
}
annotations = {
"prometheus.io/scrape" = "true"
"prometheus.io/path" = "/metrics"
"prometheus.io/port" = 5000
}
}
spec {
replicas = 1
@ -188,6 +193,11 @@ resource "kubernetes_deployment" "finance_app_backend_webhook_handler" {
labels = {
app = "finance-app-backend-webhook-handler"
}
annotations = {
"prometheus.io/scrape" = "true"
"prometheus.io/path" = "/metrics"
"prometheus.io/port" = 5000
}
}
spec {
container {