I am trying to get failed services to show up on the dashboard.
In a TOML file I have:
[http]
[http.routers]
[http.routers.dotnet-http]
entryPoints = ["web", "websecure"]
middlewares = ["strip-host-prefix"]
service = "dotnet-tool"
rule = "PathPrefix(`/dotnet`)"
[http.services]
[http.services.dotnet-tool]
[http.services.dotnet-tool.loadBalancer]
passHostHeader = true
[http.services.dotnet-tool.loadBalancer.healthCheck]
path = "/whoami"
interval = "10s"
timeout = "3s"
[[http.services.dotnet-tool.loadBalancer.servers]]
url = "http://host.docker.internal:8083"
The health check seems to work correctly, and reports an error with the server on the service detail page. However, the service is still listed in the "success" service group and the error category on the main dashboard page still reports 0%. How do I get this to propagate up, so I can see it from the dashboard?
I am using the v2.4.14 server.