0xMiden / 0xMiden/node

Runtime configurable trace filters

未关闭
#2,331 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
telemetry
主要语言
Rust
星标
104
派生
138
平均合并
1 天 13 小时
30 天内合并 PR
56

描述

Trace filters are currently set at startup and cannot be altered. This makes it awkward to respond to debug situations since changing log levels requires restarting the service.

Instead we should support dynamic filters, at least for the otel filter. This feature was demonstrated as part of the PoC #2033.

I think a dedicated admin port/server would be ideal for this, and does not need to be protobuf unless that is easier. A basic REST endpoint taking in the filter string is sufficient.

Some additional considerations:

- Should the config survive service resets? If so, how does that interact with the setting via CLI on startup?
- Should the endpoint return the current setting for `GET`?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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