forked from mtusi2026/mtusi2026lab6
12 lines
387 B
Go
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
|
|
}
|