endpoints.MapHealthChecks("/storageHealth", new HealthCheckOptions()
{
    Predicate = (check) => check.Tags.Contains("storage"),
    ResponseWriter = CreateHealthCheckResponse
});