Service: {statusData.ServiceName} | Version: {statusData.Version}
"); html.AppendLine("Status: {connectionStatusText}
"); html.AppendLine( $"State: {statusData.Connection.State}
"); html.AppendLine("Total Clients: {statusData.Subscriptions.TotalClients}
"); html.AppendLine( $"Total Tags: {statusData.Subscriptions.TotalTags}
"); html.AppendLine( $"Active Subscriptions: {statusData.Subscriptions.ActiveSubscriptions}
"); html.AppendLine("Total Operations: {statusData.Performance.TotalOperations:N0}
"); html.AppendLine( $"Success Rate: {statusData.Performance.AverageSuccessRate:P2}
"); html.AppendLine("Status: {statusData.Health.Status}
"); html.AppendLine( $"Description: {statusData.Health.Description}
"); html.AppendLine("| Operation | "); html.AppendLine("Count | "); html.AppendLine("Success Rate | "); html.AppendLine("Avg (ms) | "); html.AppendLine("Min (ms) | "); html.AppendLine("Max (ms) | "); html.AppendLine("
|---|---|---|---|---|---|
| {operation.Key} | "); html.AppendLine($"{operation.Value.TotalCount:N0} | "); html.AppendLine($"{operation.Value.SuccessRate:P2} | "); html.AppendLine($"{operation.Value.AverageMilliseconds:F2} | "); html.AppendLine($"{operation.Value.MinMilliseconds:F2} | "); html.AppendLine($"{operation.Value.MaxMilliseconds:F2} | "); html.AppendLine("
An error occurred while collecting status information:
{ex.Message}