Base solution for your next web application
Open Closed

HealthCheck Interval Time #11786


User avatar
0
muhittincelik created

Whıt healtchecks not refreshing every 10 second.

At healthchecks-ui page, i saw "Polling interval: secs" How many seconds ? It is empty

My config is;

}, "HealthChecks": { "HealthChecksEnabled": true, "HealthChecksUI": { "HealthChecksUIEnabled": true, "HealthChecks": [ { "Name": "Smart.Web.Host", "Uri": "http://localhost:9901/health" } ], "EvaluationTimeOnSeconds": 10, "MinimumSecondsBetweenFailureNotifications": 60 } } }

How can i refresh every x second ? Is there any other parameter ?

Muhittin


2 Answer(s)
  • User Avatar
    0
    muhittincelik created

    Sorry state is refreshing, page not refreshing. There is no problem.

  • User Avatar
    0
    [email protected] created

    use EvaluationTimeInSeconds instead of EvaluationTimeOnSeconds. https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks?tab=readme-ov-file#sample-2-configuration-using-setupsettings-method