BI/Analytics #31

Real-Time Monitoring

Live data updates, status indicators, alert notifications, streaming data visualization, active monitoring, streaming charts

样式演示

watch.example.cn/live — 服务可用性实时监控
📡 WATCH
⚡ 实时总览
🖥️ 节点列表
📢 告警中心
🕰️ 事件时间线
📈 SLA 报表
⚙️ 探针配置
值班:小李
实时总览刷新间隔 2s · 时钟 10:42:36
LIVE
整体可用性
99.982%
QPS(实时)
184,203
P99 延迟
86ms
活跃告警
2
请求速率(近 60s)req/s
服务状态
api-gatewayUP 42d
user-serviceUP 42d
search-clusterDEGRADED
pay-coreUP 118d
cdn-hz-03LATENCY 124ms
mysql-primaryUP 201d
实时事件流tail -f /var/watch/events
10:42:36 INFO health-check api-gateway ok (12ms)
10:42:35 WARN search-cluster shard-7 响应 210ms,超过阈值 200ms
10:42:31 INFO autoscale 组「web」扩容 +2 实例(负载 76%)
10:42:22 WARN cdn-hz-03 回源延迟上升至 124ms(连续 3 个周期)
10:42:08 INFO pay-core 发布 v2.14.3 完成,灰度 100%

核心特性

浅色模式
✓ Full
深色模式
✓ Full
性能
⚡ Good (real-time load)
可访问性
✓ WCAG AA

配色方案

主色调

Alert colors: critical (red #FF0000), warning (orange #FFA500), normal (green #22C55E), updating (blue animation)

辅助色

Status indicator colors, chart line colors varying by metric, streaming data highlight colors

效果与动画

Real-time chart animations, alert pulse/glow, status indicator blink animation, smooth data stream updates, loading effect

适用场景

System monitoring dashboards, DevOps dashboards, real-time analytics, stock market dashboards, live event tracking

不适用场景

Historical analysis, long-term trend reports, archived data dashboards

技术规格

时代/起源

2020s Modern

复杂度

Medium

框架兼容性

Recharts 9/10, Chart.js 9/10, D3.js 10/10

移动端友好

◐ Medium

转化导向

✗ Not applicable

AI 提示词

Design a real-time monitoring dashboard. Use: live status indicators (pulsing), streaming charts, alert notifications, connection status, auto-refresh indicators, critical alerts prominent, system health overview.

CSS 技术关键词

animation: pulse for live, WebSocket for streaming, position: fixed for alerts, status-dot with animation, chart real-time updates, notification toast, connection indicator

实现检查清单

☐ Live updates working
☐ Alert sounds optional
☐ Connection status shown
☐ Auto-refresh indicated
☐ Critical alerts prominent
☐ Offline fallback

设计系统变量

--pulse-animation: pulse 2s infinite, --alert-z-index: 1000, --live-indicator: #22C55E, --critical-color: #DC2626, --update-interval: 5s, --toast-duration: 5s