Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mastra-ai/mastra
/ retention.test.ts
File
retention.test.ts
stores/pg/src/storage/domains/observability/v-next/retention.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Retention tests
for
the v-next Postgres observability domain (native
3
* partition mode, which is what plain Postgres resolves to).
4
*
Callers
nothing calls this directly
Calls
15
quoted
Function · 0.85
expect
Function · 0.85
createDayPartition
Function · 0.85
partitionNames
Function · 0.85
makeSpan
Function · 0.70
dayAt
Function · 0.70
countRows
Function · 0.70
makeMetric
Function · 0.70
makeLog
Function · 0.70
makeScore
Function · 0.70
none
Method · 0.65
init
Method · 0.65
Tested by
no test coverage detected