mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
[deploy] add new prometheus labels
This commit is contained in:
parent
29dfda3f3c
commit
6dac509305
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user