все еще боремся в journalю скорректирован toml
This commit is contained in:
parent
60229f2c60
commit
2fc9405464
|
|
@ -70,7 +70,7 @@ extra_actions = []
|
|||
enabled = true
|
||||
mode = "tail"
|
||||
source_name = "systemd-journal"
|
||||
unit_allowlist = ["wpa_supplicant"]
|
||||
comm_allowlist = ["wpa_supplicant"]
|
||||
max_priority = 7
|
||||
|
||||
[[collectors.journal.filters]]
|
||||
|
|
|
|||
|
|
@ -714,6 +714,12 @@ class AgentApplication:
|
|||
def tick_runtime(self, *, now_mono_ns_value: int | None = None) -> None:
|
||||
# print("RUNTIME tick", flush=True)
|
||||
now = now_mono_ns() if now_mono_ns_value is None else now_mono_ns_value
|
||||
self.ingest_trace.record(
|
||||
"runtime.tick",
|
||||
tick_total=self.runtime_state.tick_total,
|
||||
now_mono_ns=now,
|
||||
stop_requested=self.runtime_state.stop_requested,
|
||||
)
|
||||
|
||||
self._poll_collectors(now_mono_ns_value=now)
|
||||
|
||||
|
|
@ -750,7 +756,7 @@ class AgentApplication:
|
|||
self.runtime_state.tick_total += 1
|
||||
self.runtime_state.last_tick_mono_ns = now
|
||||
|
||||
def stop_runtime(self) -> None:
|
||||
def stop_runtime('self) -> None:
|
||||
self.runtime_state.stop_requested = True
|
||||
try:
|
||||
self.collector_supervisor.stop_all()
|
||||
|
|
|
|||
Loading…
Reference in New Issue