[deploy] add new prometheus labels

This commit is contained in:
Aleksandr Soloshenko 2025-08-16 07:10:46 +07:00 committed by Aleksandr
parent 29dfda3f3c
commit 6dac509305

View File

@ -196,6 +196,19 @@ resource "docker_service" "app" {
value = true
}
labels {
label = "prometheus.io/scrape"
value = true
}
labels {
label = "prometheus.io/port"
value = 3000
}
labels {
label = "prometheus.io/job"
value = "backend"
}
rollback_config {
order = "start-first"
monitor = "5s"