mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Fix Github Actions (#18)
* Fix config for Github Actions * Fix paths * Add CentOS Latest and AlmaLinux 8.5 to RPM action * Fix ID * Reduce min Go version to 1.16 and use time.Unix in gpfsMetric
This commit is contained in:
		
							
								
								
									
										58
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										58
									
								
								.github/ci-config.json
									
									
									
									
										vendored
									
									
								
							@@ -1,52 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  "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",
 | 
			
		||||
    "gpfs",
 | 
			
		||||
    "cpufreq",
 | 
			
		||||
    "cpufreq_cpuinfo"
 | 
			
		||||
  ],
 | 
			
		||||
  "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"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
  "sinks": ".github/ci-sinks.json",
 | 
			
		||||
  "collectors" : ".github/ci-collectors.json",
 | 
			
		||||
  "receivers" : ".github/ci-receivers.json",
 | 
			
		||||
  "router" : ".github/ci-router.json",
 | 
			
		||||
  "interval": 5,
 | 
			
		||||
  "duration": 1
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user