Revert retention config in metricstore

This commit is contained in:
2026-01-13 14:42:24 +01:00
parent 754f7e16f6
commit 25c8fca561
3 changed files with 13 additions and 196 deletions

View File

@@ -46,45 +46,9 @@ const configSchema = `{
}
},
"retention-in-memory": {
"description": "Global default: Keep the metrics within memory for given time interval. Retention for X hours, then the metrics would be freed.",
"description": "Keep the metrics within memory for given time interval. Retention for X hours, then the metrics would be freed.",
"type": "string"
},
"clusters": {
"description": "Optional per-cluster retention overrides",
"type": "array",
"items": {
"type": "object",
"required": ["cluster"],
"properties": {
"cluster": {
"description": "Cluster name",
"type": "string"
},
"retention-in-memory": {
"description": "Cluster-specific retention duration (overrides global default)",
"type": "string"
},
"subclusters": {
"description": "Optional per-subcluster retention overrides",
"type": "array",
"items": {
"type": "object",
"required": ["subcluster"],
"properties": {
"subcluster": {
"description": "Subcluster name",
"type": "string"
},
"retention-in-memory": {
"description": "Subcluster-specific retention duration (overrides cluster and global default)",
"type": "string"
}
}
}
}
}
}
},
"nats": {
"description": "Configuration for accepting published data through NATS.",
"type": "array",