aspnet / Diagnostics

[Archived] Diagnostics middleware for reporting info and handling exceptions and errors in ASP.NET Core, and diagnosing Entity Framework Core migrations errors. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
213 stars 108 forks source link

Improved logging for health checks #486

Closed rynowak closed 6 years ago

rynowak commented 6 years ago
dbug: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[100]
      Running health checks
dbug: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[102]
      Running health check GCInfo
dbug: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[103]
      Health check GCInfo completed after 3.5313ms with status Degraded and 'reports degraded status if allocated bytes >= 1gb'
dbug: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[105]
      Health check data for GCInfo:
          Allocated: 1636848
          Gen0Collections: 0
          Gen1Collections: 0
          Gen2Collections: 0
          HealthCheckName: GCInfo

dbug: Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[101]
      Health check processing completed after 20.6395ms with combined status Degraded
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
rynowak commented 6 years ago

Discused in person.