← 返回
未分类 中文

aws-SkyRoute

3D globe visualization of global traffic flowing to AWS regions. Shows real-time user connections with latency-colored arcs, CloudFront edge node panels, P95...
3D globe visualization of global traffic flowing to AWS regions. Shows real-time user connections with latency-colored arcs, CloudFront edge node panels, P95...
chengcecho
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 236
下载
💾 0
安装
1
版本
#latest

概述

SkyRoute — 3D Global Traffic Monitor

A self-contained HTML/WebGL dashboard that renders a 3D globe showing real-time traffic connections from users worldwide to your AWS backend region.

Features

  • 3D Globe with country polygons (no external textures — pure geometry)
  • Animated arcs from user locations to target region, color-coded by latency (green < 100ms, yellow < 300ms, red > 300ms)
  • CloudFront edge panel showing top PoPs by request volume
  • Metrics panel: active connections, RPS, P95/P99 latency, error rate
  • Alert mode: header flashes red when error rate spikes, with alert badge
  • Sparkline trends for latency/RPS history
  • Country name mapping (CC → Chinese name)

Files

  • assets/globe.html — Complete standalone dashboard (Three.js + custom shaders via CDN)

Usage

Static demo

Open assets/globe.html directly in a browser. It includes a mock data generator that simulates global traffic.

With real data

To connect real data, modify the generateConnections() function in the HTML to fetch from your data source. Expected data format per connection:

{
  "lat": 51.5,
  "lng": -0.12,
  "latency": 85,
  "country": "GB",
  "requests": 1200
}

Data sources (integration ideas)

  1. ALB access logs → parse source IPs → GeoIP lookup → aggregate by region
  2. CloudFront real-time logs → Kinesis → Lambda → WebSocket push
  3. Custom metrics API → poll every 5s from your monitoring backend

GeoIP Setup

For production use, obtain MaxMind GeoLite2-City database:

  1. Register at https://www.maxmind.com/en/geolite2/signup
  2. Download GeoLite2-City.mmdb
  3. Use with a backend service to resolve IP → lat/lng

Customization

ConfigLocationDescription
-------------------------------
Target regionTARGET_REGION constAWS region coordinates (default: us-west-2)
Color thresholdsgetArcColor()Latency → color mapping
Alert thresholdERROR_THRESHOLDError rate % to trigger alert mode
Panel layoutCSS .panel classesReposition info panels
Country namesCC_NAMES objectISO code → display name mapping

Deployment

Serve as a static file behind any web server or embed in an internal dashboard (Grafana iframe, TV display, etc.). No backend required for the visualization itself — all rendering is client-side WebGL.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-21 23:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,066 📥 802,568
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,365 📥 319,335
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,712