mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-15 09:11:45 +01:00
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"main": {
|
|
"addr": "127.0.0.1:8080",
|
|
"short-running-jobs-duration": 300,
|
|
"resampling": {
|
|
"minimumPoints": 600,
|
|
"trigger": 180,
|
|
"resolutions": [240, 60]
|
|
},
|
|
"apiAllowedIPs": ["*"],
|
|
"emission-constant": 317
|
|
},
|
|
"cron": {
|
|
"commit-job-worker": "2m",
|
|
"duration-worker": "5m",
|
|
"footprint-worker": "10m"
|
|
},
|
|
"archive": {
|
|
"kind": "file",
|
|
"path": "./var/job-archive"
|
|
},
|
|
"auth": {
|
|
"jwts": {
|
|
"max-age": "2000h"
|
|
}
|
|
},
|
|
"nats": {
|
|
"address": "nats://0.0.0.0:4222",
|
|
"username": "root",
|
|
"password": "root"
|
|
},
|
|
"metric-store": {
|
|
"checkpoints": {
|
|
"file-format": "avro",
|
|
"interval": "1h",
|
|
"directory": "./var/checkpoints",
|
|
"restore": "48h"
|
|
},
|
|
"archive": {
|
|
"interval": "1h",
|
|
"directory": "./var/archive"
|
|
},
|
|
"retention-in-memory": "48h",
|
|
"subscriptions": [
|
|
{
|
|
"subscribe-to": "hpc-nats",
|
|
"cluster-tag": "fritz"
|
|
},
|
|
{
|
|
"subscribe-to": "hpc-nats",
|
|
"cluster-tag": "alex"
|
|
}
|
|
]
|
|
}
|
|
}
|