AspNetCore.Diagnostics.HealthChecks
AspNetCore.Diagnostics.HealthChecks copied to clipboard
Is it possible to modify the frequency on health checks ?
My StartUp code has this, is it possible to modify the frequency ? Any help will be much appreciated.
services.AddHealthChecks() .AddApplicationInsightsPublisher(Configuration["App:AppInsightsInstrumentationKey"]) .AddAzureBlobStorage(Configuration["Data:StorageAccountConnectionString"].ToString()) .AddAzureTable(Configuration["Data:StorageAccountConnectionString"].ToString());
Do we have any update on this request ?
Hi @junsaw, the frequency of calls to your healthcheck endpoint can be determined by the HealthChecksUI configuration or whichever other tool you are using to check the health of your application, e.g. load balancer.
@rob-baldwin Thanks for response. Yes, HC design is poll-related (passive), not push (active).
For push design use IHealthCheckPublisher
related classes.