Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InMemoryStorage not showing Health Status History Timeline 6.0.5 #1499

Closed
CSpreeman1 opened this issue Oct 25, 2022 · 0 comments
Closed

InMemoryStorage not showing Health Status History Timeline 6.0.5 #1499

CSpreeman1 opened this issue Oct 25, 2022 · 0 comments

Comments

@CSpreeman1
Copy link

CSpreeman1 commented Oct 25, 2022

What happened: Deployed Health Checks UI using in memory storage and not seeing Health Status History switching between healthy and unhealthy statuses.

Here is my Program.cs, Project Created as "ASP.NET Core Web App" with a target framework of .Net 6

`var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
builder.Services.AddRazorPages();
builder.Services.AddHealthChecksUI()
.AddInMemoryStorage();
var app = builder.Build();

// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error");
app.UseHsts();
}

app.UseHttpsRedirection();
app.UseStaticFiles();

app.UseRouting();

app.UseAuthorization();

app.MapRazorPages();

app.UseEndpoints(endpoints =>
{
endpoints.MapHealthChecksUI();
});

app.Run();`

Anything else we need to know?: Everything else seems to be working fine, the UI is functioning as intended and I can see the changes between statuses for the APIs I have checks on. But the History isn't being shown.

Nuget packages installed:

  • AspNetCore.HealthChecks.UI 6.0.5

  • AspNetCore.HealthChecks.UI.Client 6.0.5

  • AspNetCore.HealthChecks.UI.Core 6.0.5

  • AspNetCore.HealthChecks.UI.InMemory.Storage 6.0.5

  • .NET 6

  • Operative system: Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant