Commit f409ed7
authored
Remove the always-on alarm-to-event conversion (EventHookCallback) (#13925)
A triggered alarm is no longer synthesized into the events pipeline as an
Alarm/AlarmRecovery event; events now originate only from real event sources
(agents, SkyWalking CLI, Kubernetes Event Exporter). Alarms remain available
through the alarm store (getAlarm/queryAlarms) and the configured alarm hooks.
- Delete EventHookCallback and its unconditional registration in NotifyHandler.
- Delete EventHookCallbackTest.
- Drop the now-dead event-analyzer dependency from server-alarm-plugin.
- Remove the 'Alarm' Known-Event row from event.md; update the e2e guide recipe.
- Update the alarm/baseline e2e expected files to assert 'events: []' — the
alarm now correlates no synthetic event (swctl 'alarm ls' still projects the
events field, so the expectation must assert the empty list).
- Add a CHANGES entry.1 parent 799bb76 commit f409ed7
12 files changed
Lines changed: 8 additions & 476 deletions
File tree
- docs/en
- changes
- concepts-and-designs
- oap-server/server-alarm-plugin
- src
- main/java/org/apache/skywalking/oap/server/core/alarm/provider
- test/java/org/apache/skywalking/oap/server/core/alarm/provider
- test/e2e-v2
- cases
- alarm/expected
- baseline/expected
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
| |||
Lines changed: 0 additions & 194 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
| |||
0 commit comments