monitor finance app webhook handler [ci skip]
This commit is contained in:
parent
207c657e34
commit
a3fe565ec5
1 changed files with 10 additions and 0 deletions
|
|
@ -172,6 +172,11 @@ resource "kubernetes_deployment" "finance_app_backend_webhook_handler" {
|
||||||
labels = {
|
labels = {
|
||||||
app = "finance-app-backend-webhook-handler"
|
app = "finance-app-backend-webhook-handler"
|
||||||
}
|
}
|
||||||
|
annotations = {
|
||||||
|
"prometheus.io/scrape" = "true"
|
||||||
|
"prometheus.io/path" = "/metrics"
|
||||||
|
"prometheus.io/port" = 5000
|
||||||
|
}
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
replicas = 1
|
replicas = 1
|
||||||
|
|
@ -188,6 +193,11 @@ resource "kubernetes_deployment" "finance_app_backend_webhook_handler" {
|
||||||
labels = {
|
labels = {
|
||||||
app = "finance-app-backend-webhook-handler"
|
app = "finance-app-backend-webhook-handler"
|
||||||
}
|
}
|
||||||
|
annotations = {
|
||||||
|
"prometheus.io/scrape" = "true"
|
||||||
|
"prometheus.io/path" = "/metrics"
|
||||||
|
"prometheus.io/port" = 5000
|
||||||
|
}
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
container {
|
container {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue