mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Use configuration with all supported collectors for CI. Fixes #13
This commit is contained in:
parent
bf43f6d975
commit
f5b7da5046
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2
.github/workflows/runonce.yml
vendored
2
.github/workflows/runonce.yml
vendored
@ -14,4 +14,4 @@ jobs:
|
||||
run: make
|
||||
|
||||
- name: Run MetricCollector
|
||||
run: make runonce
|
||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||
|
Loading…
Reference in New Issue
Block a user