Skip to content

Commit 9f21fd1

Browse files
committed
Check for expired alerts stub
1 parent 3bf69d6 commit 9f21fd1

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.observabilitystack.alertecho.internal;
2+
3+
import org.springframework.stereotype.Service;
4+
5+
/**
6+
* Walks throough all stored alerts and resolves them if they haven't seen an
7+
* update in a certain amount of time
8+
*/
9+
// TODO
10+
@Service
11+
public class AlertExpiredChecker {
12+
13+
}

src/main/java/org/observabilitystack/alertecho/model/Alert.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@ToString
1212
public class Alert {
1313

14+
// TODO: store updated up as instant
1415
private AlertStatus status;
1516
private Map<String, String> labels;
1617
private Map<String, String> annotations;

0 commit comments

Comments
 (0)