Commit 10c66b6
authored
Clarify event naming for different outcomes (#2010)
The "Severity and placement" section previously suggested using the same
event name (node.shutdown) at different severity levels to distinguish a
graceful shutdown (INFO) from a critical failure (ERROR).
This conflicts with the guidance in Event Naming and Verbs, which
recommends distinct event names for different outcomes. Updated the
example to use node.shutdown.complete (INFO) and node.shutdown.fail
(ERROR) so the guide is internally consistent.
This is an intentional semantic change, not just a wording tweak. The
guide now consistently says: different outcomes → different event names.
Severity reflects significance, but should not be the sole way to
distinguish success from failure.
Fixes #19721 parent fecd2a8 commit 10c66b6
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
| |||
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
0 commit comments