diff --git a/Controllers/HealthController.cs b/Controllers/HealthController.cs
index c52f89a..e3f96cc 100644
--- a/Controllers/HealthController.cs
+++ b/Controllers/HealthController.cs
@@ -54,7 +54,6 @@ namespace QRRapidoApp.Controllers
checks = new
{
mongodb = ExtractCheckResult(healthReport, "mongodb"),
- seq = ExtractCheckResult(healthReport, "seq"),
resources = ExtractCheckResult(healthReport, "resources"),
externalServices = ExtractCheckResult(healthReport, "external_services")
},
@@ -117,35 +116,6 @@ namespace QRRapidoApp.Controllers
}
}
- ///
- /// Seq logging service health check
- /// GET /health/seq
- ///
- [HttpGet("seq")]
- public async Task GetSeqHealth()
- {
- try
- {
- var healthReport = await _healthCheckService.CheckHealthAsync(check => check.Name == "seq");
- var seqCheck = healthReport.Entries.FirstOrDefault(e => e.Key == "seq");
-
- if (seqCheck.Key == null)
- {
- return StatusCode(503, new { status = "unhealthy", error = "Seq health check not found" });
- }
-
- var statusCode = seqCheck.Value.Status == HealthStatus.Unhealthy ? 503 : 200;
- var response = ExtractCheckResult(healthReport, "seq");
-
- return StatusCode(statusCode, response);
- }
- catch (Exception ex)
- {
- _logger.LogError(ex, "Seq health check failed");
- return StatusCode(503, new { status = "unhealthy", error = ex.Message });
- }
- }
-
///
/// System resources health check
/// GET /health/resources
diff --git a/Program.cs b/Program.cs
index b110585..da65e3c 100644
--- a/Program.cs
+++ b/Program.cs
@@ -217,7 +217,6 @@ builder.Services.AddScoped();
builder.Services.AddHealthChecks()
.AddCheck("mongodb")
- .AddCheck("seq")
.AddCheck("resources")
.AddCheck("external_services");