mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Use configuration with all supported collectors for CI. Fixes #13
This commit is contained in:
		
							
								
								
									
										49
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
			
		||||
{
 | 
			
		||||
  "sink": {
 | 
			
		||||
    "user": "testuser",
 | 
			
		||||
    "password": "testpass",
 | 
			
		||||
    "host": "127.0.0.1",
 | 
			
		||||
    "port": "9090",
 | 
			
		||||
    "database": "testdb",
 | 
			
		||||
    "organization": "testorg",
 | 
			
		||||
    "type": "stdout"
 | 
			
		||||
  },
 | 
			
		||||
  "interval": 3,
 | 
			
		||||
  "duration": 1,
 | 
			
		||||
  "collectors": [
 | 
			
		||||
    "tempstat",
 | 
			
		||||
    "loadavg",
 | 
			
		||||
    "memstat",
 | 
			
		||||
    "netstat",
 | 
			
		||||
    "ibstat",
 | 
			
		||||
    "lustrestat",
 | 
			
		||||
    "cpustat",
 | 
			
		||||
    "topprocs",
 | 
			
		||||
    "nvidia",
 | 
			
		||||
    "diskstat",
 | 
			
		||||
    "ipmistat"
 | 
			
		||||
  ],
 | 
			
		||||
  "default_tags": {
 | 
			
		||||
    "cluster": "testcluster"
 | 
			
		||||
  },
 | 
			
		||||
  "receiver": {
 | 
			
		||||
    "type": "none"
 | 
			
		||||
  },
 | 
			
		||||
  "collect_config": {
 | 
			
		||||
    "topprocs" : {
 | 
			
		||||
      "num_procs": 2
 | 
			
		||||
    },  
 | 
			
		||||
    "tempstat": {
 | 
			
		||||
      "tag_override": {
 | 
			
		||||
        "hwmon0" : {
 | 
			
		||||
            "type" : "socket",
 | 
			
		||||
            "type-id" : "0"
 | 
			
		||||
        },
 | 
			
		||||
        "hwmon1" : {
 | 
			
		||||
            "type" : "socket",
 | 
			
		||||
            "type-id" : "1"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user