You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
// 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();
}
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: