Add observability to agents server

未关闭
#4,463 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript

调研方向

首先定位 agents 服务器及其托管/云部署配置,然后检查现有的日志记录、故障处理和运行时可见性。定义回答服务器是否健康所需的最小信号,捕获带有调试上下文的故障,公开资源和负载指标,并记录仪表板、查询以及单节点限制。

由索引模型根据 Issue 内容生成。

描述

Summary

Add baseline observability to the agents server so we can safely run the hosted/cloud deployment for the 0.1 launch.

Context

From the Agents check-in: the main remaining cloud hardening work is observability: error tracking, log collection, metrics, CPU/resource monitoring, and enough visibility to know whether the agents server is healthy or overloaded.

Scope

  • Add error tracking, e.g. Sentry or equivalent, for agents server failures.
  • Add/confirm structured logging and log collection for hosted deployments.
  • Emit useful runtime/service metrics, at minimum:
    • CPU and memory usage
    • request / long-poll load
    • durable-stream serving bottlenecks
    • agent loop failures
    • server/runtime errors
  • Add or document dashboards/queries for basic operational health.
  • Document known single-node limitations and what we should watch after launch.

Acceptance criteria

  • We can answer “is the agents server running and healthy?” from logs/metrics.
  • Exceptions/failures are captured with enough context to debug.
  • Basic resource/load signals are visible for hosted agents server deployments.
主要语言
TypeScript
星标
10.4k
派生
399
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

electric-sql/electric 的其他 Issue

查看 electric-sql/electric 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。