Refactor Archive to Cleanup and rename everything

This commit is contained in:
Aditya Ujeniya
2026-01-16 14:09:50 +01:00
parent 1d62ee1e22
commit 1a41629535
6 changed files with 78 additions and 48 deletions

View File

@@ -16,8 +16,7 @@
"checkpoints": {
"interval": "12h"
},
"retention-in-memory": "48h",
"retention-in-memory": "2m",
"memory-cap": 100
}
}
}

View File

@@ -5,13 +5,18 @@
"https-key-file": "/etc/letsencrypt/live/url/privkey.pem",
"user": "clustercockpit",
"group": "clustercockpit",
"apiAllowedIPs": ["*"],
"apiAllowedIPs": [
"*"
],
"short-running-jobs-duration": 300,
"enable-job-taggers": true,
"resampling": {
"minimumPoints": 600,
"trigger": 180,
"resolutions": [240, 60]
"resolutions": [
240,
60
]
},
"apiSubjects": {
"subjectJobEvent": "cc.job.event",
@@ -47,10 +52,16 @@
},
"metric-store": {
"checkpoints": {
"interval": "12h"
"interval": "12h",
"directory": "./var/checkpoints"
},
"memory-cap": 100,
"retention-in-memory": "48h",
"cleanup": {
"mode": "archive",
"interval": "48h",
"directory": "./var/archive"
},
"nats-subscriptions": [
{
"subscribe-to": "hpc-nats",
@@ -63,4 +74,4 @@
]
},
"ui-file": "ui-config.json"
}
}