Commit fc8c974
committed
refactor: add detailed log on agent restart
Consolidate hot-update restart logic with a single batch macro, fix dispatcher-only restart wording, preserve dispatcher reasons when escalation triggers an agent restart, and avoid restart flag overwrite by using accumulated restart_value updates.1 parent 4023a5b commit fc8c974
4 files changed
Lines changed: 1256 additions & 1227 deletions
File tree
- agent
- crates/public/src/codecs
- src
- config
- ebpf_dispatcher
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
142 | | - | |
143 | | - | |
144 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
145 | 153 | | |
146 | 154 | | |
147 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
| |||
0 commit comments