mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-15 17:21:46 +01:00
Revert retention config in metricstore
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user