diff --git a/src/pages/instances.tsx b/src/pages/instances.tsx
index a4a7e6f..9eaeb1b 100644
--- a/src/pages/instances.tsx
+++ b/src/pages/instances.tsx
@@ -48,6 +48,8 @@ export const Instances = () => {
if (!filteredInstances) return
+ const dbFailures = instance?.scan.db_reads_failed + instance?.scan.db_writes_failed
+
return (
Scanned instances
@@ -160,6 +162,19 @@ export const Instances = () => {
+
+
+
+ Health
+
+
+
+ { instance?.scan.websocket_available && - Websocket supported: {instance?.scan.websocket_available ? Yes : No}
}
+ - DB failures: {dbFailures}
+
+
+
+
diff --git a/src/types/InstancesResponse.ts b/src/types/InstancesResponse.ts
index 8cf39ec..d46cb8f 100644
--- a/src/types/InstancesResponse.ts
+++ b/src/types/InstancesResponse.ts
@@ -11,5 +11,8 @@ type ScanResult = {
api_version: string,
version: string,
scan_time: string,
- plugins: string[]
+ plugins: string[],
+ websocket_available: boolean,
+ db_reads_failed: number,
+ db_writes_failed: number,
}