how can i configure multiple health check publishers in .NET

Viewed 48

I have multiple healthchecks in .NET 6 that have tags in order differentiate them. This is because some need to be run less frequently than others.

Using the IHealthCheckPublisher interface and HealthCheckPublisherOptions allows you to filter the healthchecks and poll them on an interval, but I cant see a way to configure multiple publishers with multiple options in order to call and publish some less frequently than others.

If not is there a library similar to AspNetCore.HealthChecks.UI that allows polling endpoints on different schedules?

0 Answers
Related