mirror of
				https://github.com/ClusterCockpit/cc-specifications.git
				synced 2025-11-04 11:05:07 +01:00 
			
		
		
		
	Add aggregation property to cluster metric list
This commit is contained in:
		@@ -55,6 +55,16 @@
 | 
			
		||||
                        "description": "Frequency of timeseries points",
 | 
			
		||||
                        "type": "integer"
 | 
			
		||||
                    },
 | 
			
		||||
                    "aggregation": {
 | 
			
		||||
                        "description": "How the metric is aggregated",
 | 
			
		||||
                        "type": "string",
 | 
			
		||||
                        "enum": [
 | 
			
		||||
                            "sum",
 | 
			
		||||
                            "avg",
 | 
			
		||||
                            null
 | 
			
		||||
                        ]
 | 
			
		||||
 | 
			
		||||
                    },
 | 
			
		||||
                    "peak": {
 | 
			
		||||
                        "type": "number"
 | 
			
		||||
                    },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user