Make checkpointInterval an option config option again.

Also applies small fixes

Entire-Checkpoint: c11d1a65fae4
This commit is contained in:
2026-03-13 09:07:38 +01:00
parent b214e1755a
commit 39ab12784c
7 changed files with 43 additions and 20 deletions

View File

@@ -54,6 +54,10 @@ const configSchema = `{
"description": "Keep the metrics within memory for given time interval. Retention for X hours, then the metrics would be freed.",
"type": "string"
},
"checkpoint-interval": {
"description": "Interval between checkpoints as a Go duration string (e.g., '12h', '6h', '30m'). Default is '12h'.",
"type": "string"
},
"memory-cap": {
"description": "Upper memory capacity limit used by metricstore in GB",
"type": "integer"