最近的Http错误未显示在我们的Traefik仪表板上。
根据文档,我已经包含了http统计信息: https://docs.traefik.io/configuration/api/#metrics
[https]
[http.statistics]
recentErrors = 10
这是我们的Traefik配置:
debug = false
logLevel = "DEBUG"
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[entryPoints.traefik]
address = ":8080"
[entryPoints.traefik.auth]
[entryPoints.traefik.auth.basic]
users = []
[retry]
[https]
[http.statistics]
recentErrors = 10
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "enginex.nl"
watch = true
exposedByDefault = false
[acme]
email = "developer@enginex.nl"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[traefikLog]
filePath = "traefik.log"
format = "json"
[accessLog]
filePath = "access.log"
format = "json"
[api]
entryPoint = "traefik"
dashboard = true
debug = true
[api.statistics]
recentErrors = 10
我希望仪表板显示最近的Http错误。