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)
-
0
Sorry state is refreshing, page not refreshing. There is no problem.
-
0
use EvaluationTimeInSeconds instead of EvaluationTimeOnSeconds.
https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks?tab=readme-ov-file#sample-2-configuration-using-setupsettings-method