0xMiden / 0xMiden/node

Runtime configurable trace filters

Offen
#2,331 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
telemetry
Vorherrschende Sprache
Rust
Sterne
104
Forks
138
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
56

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.