Files
mtusi2026lab6/internal/observation/snapshot.go
T

12 lines
387 B
Go

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
}