fix(elk): define check names for kibana
- multiple health check blocks need to be defined with a name
This commit is contained in:
parent
866ec881da
commit
89f263328f
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,7 @@ job "elk" {
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
|
|
||||||
check {
|
check {
|
||||||
|
name = "healthiness"
|
||||||
type = "tcp"
|
type = "tcp"
|
||||||
port = "web"
|
port = "web"
|
||||||
interval = "5s"
|
interval = "5s"
|
||||||
|
@ -250,6 +251,7 @@ job "elk" {
|
||||||
}
|
}
|
||||||
|
|
||||||
check {
|
check {
|
||||||
|
name = "readiness"
|
||||||
type = "http"
|
type = "http"
|
||||||
port = "web"
|
port = "web"
|
||||||
path = "/api/status"
|
path = "/api/status"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue