0xMiden / 0xMiden/node

Runtime configurable trace filters

オープン
#2,331 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
telemetry
主要言語
Rust
スター
104
フォーク
138
平均マージ
1日 13時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。