public static UIHealthReport CreateFrom(Exception exception, string entryName = "Endpoint")
        {
            var uiReport = new UIHealthReport(new Dictionary <string, UIHealthReportEntry>(), TimeSpan.FromSeconds(0))
            {
                Status = UIHealthStatus.Unhealthy,
            };

            uiReport.Entries.Add(entryName, new UIHealthReportEntry
            {
                Exception   = exception.Message,
                Description = exception.Message,
                Duration    = TimeSpan.FromSeconds(0),
                Status      = UIHealthStatus.Unhealthy
            });

            return(uiReport);
        }