forked from mtusi2026/mtusi2026lab6
feat: add bounded observability and verified SLO incident alerts
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package observation
|
||||
|
||||
// Snapshot describes bounded persistence saturation without record identifiers.
|
||||
type Snapshot struct {
|
||||
// QueueDepth counts accepted unfinished jobs in the current pipeline version.
|
||||
QueueDepth int64
|
||||
// OldestSeconds measures time since the oldest durable acceptance.
|
||||
OldestSeconds float64
|
||||
// PoolUsed counts checked-out database connections.
|
||||
PoolUsed int64
|
||||
}
|
||||
Reference in New Issue
Block a user