+
+
+
+ {agentStatus?.registered ? 'Registered' : 'Not registered'}
+
+ {agentStatus?.state && (
+
+ )}
+
+
+ {agentStatus?.lastHeartbeat && (
+
+ Last heartbeat: {new Date(agentStatus.lastHeartbeat).toLocaleString()}
+
+ )}
+
+ {agentStatus?.routeIds && agentStatus.routeIds.length > 0 && (
+
+
Routes
+
+ {agentStatus.routeIds.map((rid) => (
+
+ ))}
+
+
+ )}
+
+ {obsStatus && (
+
+
+ Traces:{' '}
+
+ {obsStatus.hasTraces ? `${obsStatus.traceCount24h} (24h)` : 'none'}
+
+
+
+ Metrics:{' '}
+
+ {obsStatus.hasMetrics ? 'yes' : 'none'}
+
+
+
+ Diagrams:{' '}
+
+ {obsStatus.hasDiagrams ? 'yes' : 'none'}
+
+
+
+ )}
+
+
+
+ View in Dashboard →
+
+
+
+