mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-10-31 16:05:06 +01:00 
			
		
		
		
	Combined metricstore api and functions
This commit is contained in:
		| @@ -9,6 +9,10 @@ | ||||
|     "apiAllowedIPs": ["*"], | ||||
|     "emission-constant": 317 | ||||
|   }, | ||||
|   "archive": { | ||||
|     "kind": "file", | ||||
|     "path": "./var/job-archive" | ||||
|   }, | ||||
|   "auth": { | ||||
|     "jwts": { | ||||
|       "max-age": "2000h" | ||||
| @@ -18,9 +22,7 @@ | ||||
|     { | ||||
|       "name": "fritz", | ||||
|       "metricDataRepository": { | ||||
|         "kind": "cc-metric-store", | ||||
|         "url": "http://localhost:8082", | ||||
|         "token": "" | ||||
|         "kind": "cc-metric-store" | ||||
|       }, | ||||
|       "filterRanges": { | ||||
|         "numNodes": { | ||||
| @@ -40,9 +42,7 @@ | ||||
|     { | ||||
|       "name": "alex", | ||||
|       "metricDataRepository": { | ||||
|         "kind": "cc-metric-store", | ||||
|         "url": "http://localhost:8082", | ||||
|         "token": "" | ||||
|         "kind": "cc-metric-store" | ||||
|       }, | ||||
|       "filterRanges": { | ||||
|         "numNodes": { | ||||
| @@ -59,5 +59,18 @@ | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   ] | ||||
|   ], | ||||
|   "metric-store": { | ||||
|     "checkpoints": { | ||||
|       "file-format": "avro", | ||||
|       "interval": "2h", | ||||
|       "directory": "./var/checkpoints", | ||||
|       "restore": "48h" | ||||
|     }, | ||||
|     "archive": { | ||||
|       "interval": "48h", | ||||
|       "directory": "./var/archive" | ||||
|     }, | ||||
|     "retention-in-memory": "48h" | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user