✅ Supporting multiple routes for health checks in asp.net core

I have a couple monitoring systems that need are calling some api's and I need to support different response types for each monitoring system. Is there a way in asp.net core? Assume I have a number of health probes, for example...

.AddHealthCheck<Db2HealthCheck>()
.AddHealthCheck<SqlHealthCheck>()
.AddHealthCheck<DynamoHealthCheck>()
.AddHealthCheck<CognitoHealthCheck>()
.AddHealthCheck<YadaYadaYada>()

The yadayadayada monitor should only check the YadaYadaYada health check, for example
The Aws monitor should only check the CognitoHealthCheck
The database monitor should oinly check Db2, Dynamo, and SqlHealthCheck
Was this page helpful?