agent-substrate / agent-substrate/substrate

How to allow actors to export metrics when egress policy is enforced?

未关闭
#1,430 6 条评论 0 个 reaction 已指派 1 人 已被 @haiyanmeng 认领 在 GitHub 查看
area/network area/observability kind/feature
主要语言
Go
星标
1.8k
派生
316
平均合并
2 天 43 分钟
30 天内合并 PR
287

描述

**Assumption:** metrics collection relies on gRPC h2c.

**Short-term solution:** Add the metrics collection address into the egress policy of every actor needing to export metrics. This can be tedious. A default egress policy in ActorTemplate https://github.com/agent-substrate/substrate/issues/1324 should help some. But if a Substrate cluster uses many different ActorTemplates, the metrics collection address needs to be added into all of them.

**Long-term solution:** Introduce a defaulting mechanism, which automatically adds the metrics collection address into the egress policy of every actor. This makes the assumption that every actor needs to export metrics, which may not hold.

cc @bowei @LiorLieberman @git286 @EItanya @keithmattix

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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