0xMiden / 0xMiden/node

Runtime configurable trace filters

Đang mở
#2,331 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
telemetry
Ngôn ngữ chính
Rust
Star
104
Fork
138
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
56

Mô tả

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`?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.