Commit Graph

217 Commits

Author SHA1 Message Date
ryan 2cdb844010 [功能] 添加可选版本输入以支持自定义 Docker 镜像和发布版本 v1.0.1 2026-03-16 12:53:01 +08:00
ryan 5e2503ca50 [修复] 更新代理配置以支持 SSL 服务器名称和主机头覆盖 2026-03-16 12:39:34 +08:00
ryan 4daf681eff [功能] 添加 origin_host 字段以覆盖回源请求的 Host 头 2026-03-16 12:20:02 +08:00
ryan ce08099de1 [修复] 移除不必要的日志记录 v1.0.0 2026-03-15 22:47:41 +08:00
ryan 9f99f5cf0b [文档] 文档更新 2026-03-15 19:09:06 +08:00
ryan 7442d8dd58 [修复] 增加对未知子域名的请求返回404的处理 2026-03-15 19:04:50 +08:00
ryan 0a003034e4 [修复] 修复地图显示 2026-03-15 18:04:11 +08:00
ryan 6ffe76dfa4 [修复] 修复地图显示 2026-03-15 17:25:52 +08:00
ryan b2eb4befba [文档] 文档更新 2026-03-15 17:11:17 +08:00
ryan 5858e30af6 [修复] 修复遗漏文件 2026-03-15 17:07:00 +08:00
ryan d4e38ee6fb [版本] 更新版本号至1.0.x 2026-03-15 16:56:54 +08:00
ryan 6f0867948e [优化] 精简多个组件的描述文本 2026-03-15 16:55:54 +08:00
ryan 6caee17e2d [修复] 修复组件显示问题 2026-03-15 16:43:52 +08:00
ryan a255f3fa33 [优化] 优化静态导出流程,添加重命名功能以简化目录处理 2026-03-15 16:32:56 +08:00
ryan 34cf8bae63 [文档] Apache-2.0 2026-03-15 16:26:56 +08:00
ryan 32d90ba641 [优化] 改名 2026-03-15 16:26:56 +08:00
ryan d68773c554 [优化] 添加来源热度显示功能,更新相关数据结构和前端组件 2026-03-15 16:00:44 +08:00
ryan 6d5d47c216 [优化] 添加 .gitignore 文件,忽略 data 目录;调整仪表盘组件布局 2026-03-15 15:35:56 +08:00
ryan 7c89ad8c7b [优化] 添加访问日志地区解析功能,更新相关数据结构和前端展示 2026-03-15 15:21:00 +08:00
ryan 640dd6c82c [优化] 新增 GeoIP 测试功能,更新相关 API 路由和前端组件 2026-03-15 14:43:28 +08:00
ryan 5bb25d2203 [优化] 添加访问日志汇总功能,更新相关数据结构和测试用例 2026-03-15 14:19:21 +08:00
ryan 25004fefae [优化] 添加度量工具函数和测试用例,优化仪表盘和趋势图组件 2026-03-15 14:11:16 +08:00
ryan 072930d55b Revert "[优化] 添加 WebSocket 连接升级映射,更新主配置模板和测试用例"
This reverts commit 4024c85a0c.
2026-03-15 14:00:48 +08:00
ryan 4024c85a0c [优化] 添加 WebSocket 连接升级映射,更新主配置模板和测试用例 2026-03-15 13:57:32 +08:00
ryan b1be887287 [优化] 更新开发环境配置,统一代理 HTTP 和 WebSocket 请求 2026-03-15 13:41:53 +08:00
ryan 6e1eac2c86 [优化] 添加 WebSocket 升级支持,更新配置和测试用例 2026-03-15 13:29:19 +08:00
ryan 3eb78ebfca [修复] 修复升级版本检测 2026-03-15 13:24:01 +08:00
ryan f4d36be2e6 Refactor observability configuration and support files
- Introduced `filterCertificateSupportFiles` function to filter support files for certificates in `agent.go`.
- Updated placeholder constants in `config_version.go` to reflect changes from support directory to certificate directory.
- Modified tests in `https_phase1_test.go` to align with new directory structure and removed obsolete checks for observability Lua scripts.
- Removed observability assets from `openresty_observability_assets.go` and created a new file `observability_assets.go` in `atsf_agent/internal/nginx` to manage observability Lua scripts.
- Updated documentation to reflect changes in configuration paths for certificates and Lua scripts.
- Ensured that the agent writes to the new `cert_dir` and `lua_dir` instead of the old `support_dir`.
2026-03-15 12:32:24 +08:00
ryan e1efbf3868 [优化] 增强流量可观测性,添加请求长度和字节发送字段;更新支持文件权限设置 2026-03-15 12:13:07 +08:00
ryan eb9a2a8814 [优化] 添加服务器升级日志的WebSocket流 2026-03-15 11:57:52 +08:00
ryan ae70ba1cce [优化] 环境分离 2026-03-15 11:49:21 +08:00
ryan 93bd3704e7 [优化] 安装脚本更新 2026-03-15 00:09:52 +08:00
ryan 932f2fc6fa [优化] 代码优化 2026-03-14 23:56:34 +08:00
ryan 3d52ddc933 [优化] 引如缓存库ristretto 2026-03-14 23:54:31 +08:00
ryan 37deb84986 [修复] 修复网站添加无法输入 2026-03-14 23:33:43 +08:00
ryan 4dec7f8133 [优化] 工作流触发调整 2026-03-14 23:33:09 +08:00
ryan 78a0b99011 [优化] 交互优化 2026-03-14 23:32:32 +08:00
ryan 0a28d7bb2a feat: 添加响应式地图缩放和容器大小调整功能,优化性能页面模板样式 2026-03-14 23:23:49 +08:00
ryan 8d406f5ade feat: 添加访问日志分页功能,优化相关接口和前端组件 2026-03-14 23:18:49 +08:00
ryan b7d38590ba feat: add access log functionality and related components
- Introduced NodeAccessLog model and corresponding database migrations.
- Implemented access log retrieval in the service layer.
- Created API endpoint for accessing logs with appropriate security measures.
- Developed frontend components for displaying access logs, including filtering and summary statistics.
- Updated observability buffer to include access logs and ensure proper merging and retention.
- Enhanced traffic report and observability tests to validate new access log features.
- Updated documentation to reflect changes in access log handling and data retention policies.
2026-03-14 18:21:48 +08:00
ryan e25b41fd75 feat: add observability buffer for heartbeat data
- Introduced `ObservabilityBufferStore` to manage buffered observability records.
- Implemented methods for upserting, replaying, and acknowledging records in the buffer.
- Enhanced `AgentNodePayload` and `NodePayload` to include buffered observability data.
- Updated tests to cover new functionality for observability buffering.
- Modified existing services to persist and handle buffered observability data during heartbeats.
- Added configuration options for observability buffer path and replay minutes.
- Updated documentation to reflect new observability features and configurations.
2026-03-14 17:57:50 +08:00
ryan 7628397785 feat: 添加可观察性监听地址支持,优化配置和测试用例 2026-03-14 17:42:06 +08:00
ryan 4be44733e8 feat: replace cert_dir with support_dir in agent and server configurations
- Updated README.md to reflect the new support_dir for auxiliary files.
- Refactored agent main.go to use support_dir instead of cert_dir.
- Modified config.go to replace cert_dir with support_dir and added legacy support.
- Adjusted config tests to validate support_dir usage.
- Changed nginx manager to utilize support_dir for file paths.
- Updated server configuration to use support_dir for SSL certificates.
- Revised documentation to clarify the new configuration parameters.
- Enhanced security checks for support file paths to prevent traversal attacks.
2026-03-14 17:16:54 +08:00
ryan bdfa80f214 feat: enhance observability metrics collection and reporting
- Updated BuildSnapshot function to include OpenResty metrics.
- Enhanced BuildTrafficReport to utilize managed OpenResty metrics.
- Introduced new functions for parsing access logs in both JSON and combined formats.
- Added tests for traffic report generation from combined access logs.
- Implemented local observability metrics collection from OpenResty.
- Created Lua scripts for OpenResty to gather observability data.
- Updated configuration documentation to include new observability port and settings.
- Added support for OpenResty observability in the server configuration.
2026-03-14 17:07:47 +08:00
ryan 8cc839669c 添加节点详情页选项卡功能,支持在数据看板和节点信息之间切换,优化用户体验 2026-03-14 16:50:35 +08:00
ryan e801d2bb32 [优化] 界面优化 2026-03-14 16:33:33 +08:00
ryan 271ac772c4 重构仪表板组件,移除冗余的 OverviewMetric 组件,优化布局和样式,增强可读性 2026-03-14 16:28:56 +08:00
ryan 590e1d7a8a 优化仪表板页面,移除冗余组件,简化代码结构 2026-03-14 16:17:43 +08:00
ryan ee104f0ad8 调整 WorldStageMap 组件的布局和样式,优化地图显示效果 2026-03-14 16:07:01 +08:00
ryan fe3c6312f9 Refactor dashboard overview: remove active alerts and lagging nodes from summary, update tests and components accordingly
- Removed active alerts and lagging nodes from DashboardSummary and related types.
- Updated DashboardOverview component to reflect changes in data structure.
- Adjusted tests to align with the new dashboard overview structure, ensuring no active alerts are displayed.
- Simplified the dashboard metrics and risk signals, focusing on essential health and capacity metrics.
- Enhanced the WorldStage component to present updated traffic and capacity information.
- Removed unused alert-related functions and components to streamline the codebase.
2026-03-14 16:00:41 +08:00