AspNetCore.Diagnostics.HealthChecks: History timeline does not work on .NET Core 3, does on .NET Core 2.2

Hello, I am not able to get history timeline to work on .NET Core 3, using version of AspNetCore.HealthChecks.UI v3.0.9. Timeline works fine on netcoreapp2.2 with package 2.2.35. In netcoreapp3.0 project I simply register UI service using

services.AddHealthChecksUI(setupSettings: settings => settings.AddHealthCheckEndpoint("Service", "http://127.0.0.1:50800/healthcheck"));

and then registers route using

app.UseEndpoints(config =>
            {
                config.MapHealthChecks("/healthz");
                config.MapHealthChecksUI();
                config.MapControllers();
            });

In netcoreapp2.2 I do basically the same. No configuration from appsettings is used, no webhooks, no other nugets are installed in projects. I also looked into DB file for both projects and in db file for netcoreapp3.0 the table HealthCheckExecutionHistories is empty but for netcoreapp2.2 it has some data, so it looks more like database-level issue than bug in UI. Are there any special shenanigans that need to be done to make it work also on netcore 3?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 19 (4 by maintainers)

Most upvoted comments

Hi @CarlosLanderas can you please following this issue?