Fix alertmanager intentions
This commit is contained in:
parent
eff89d7281
commit
96cf8a256a
|
@ -7,7 +7,7 @@ Sources = [
|
|||
{
|
||||
Action = "allow"
|
||||
HTTP {
|
||||
PathPrefix = "[[ if eq "" (urlParse .monitoring.alertmanager.public_url).Path ]]/[[ else ]](urlParse .monitoring.alertmanager.public_url).Path[[ end ]]"
|
||||
PathPrefix = "[[ if eq "" (urlParse .monitoring.alertmanager.public_url).Path ]]/[[ else ]][[ (urlParse .monitoring.alertmanager.public_url).Path ]][[ end ]]"
|
||||
Methods = ["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -184,6 +184,9 @@ monitoring:
|
|||
cpu: 50
|
||||
memory: 64
|
||||
memory_max: 80
|
||||
# If a proxy is used
|
||||
proxy:
|
||||
address: http://alertmanager[[ .consul.suffix ]]:alertmanager[[ .consul.suffix ]]@127.0.0.1:3128
|
||||
# URL where the web interface is reachable (if exposed with Traefik)
|
||||
public_url: https://alert.example.org
|
||||
# Traefik settings
|
||||
|
|
Loading…
Reference in New Issue