KvAnalyticsOptions
Defined in: src/analytics/kv.ts:68
Options for createKvAnalytics.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
dailyRetention? |
LinksDuration |
How long daily buckets are kept. Default: forever. | src/analytics/kv.ts:73 |
hourlyRetention? |
LinksDuration |
How long hourly buckets are kept. Default "14d". |
src/analytics/kv.ts:71 |
now? |
() => number |
Clock, for retention. | src/analytics/kv.ts:77 |
recentEvents? |
number |
Max recent raw events kept per tenant (0 disables). Default 1000. | src/analytics/kv.ts:75 |
storage |
KvStorage |
- | src/analytics/kv.ts:69 |