mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-08 22:45:55 +02:00
Fix config files for CI
This commit is contained in:
parent
82f5c1c5d0
commit
98b95e8dc6
16
.github/ci-collectors.json
vendored
Normal file
16
.github/ci-collectors.json
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"tempstat": {
|
||||||
|
"tag_override": {
|
||||||
|
"hwmon0" : {
|
||||||
|
"type" : "socket",
|
||||||
|
"type-id" : "0"
|
||||||
|
},
|
||||||
|
"hwmon1" : {
|
||||||
|
"type" : "socket",
|
||||||
|
"type-id" : "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"diskstat": {},
|
||||||
|
"memstat" : {}
|
||||||
|
}
|
58
.github/ci-config.json
vendored
58
.github/ci-config.json
vendored
@ -1,52 +1,8 @@
|
|||||||
{
|
{
|
||||||
"sink": {
|
"sinks": "ci-sinks.json",
|
||||||
"user": "testuser",
|
"collectors" : "ci-collectors.json",
|
||||||
"password": "testpass",
|
"receivers" : "ci-receivers.json",
|
||||||
"host": "127.0.0.1",
|
"router" : "ci-router.json",
|
||||||
"port": "9090",
|
"interval": 5,
|
||||||
"database": "testdb",
|
"duration": 1
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
2
.github/ci-receivers.json
vendored
Normal file
2
.github/ci-receivers.json
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[
|
||||||
|
]
|
22
.github/ci-router.json
vendored
Normal file
22
.github/ci-router.json
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"add_tags" : [
|
||||||
|
{
|
||||||
|
"key" : "cluster",
|
||||||
|
"value" : "cicluster",
|
||||||
|
"if" : "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key" : "test",
|
||||||
|
"value" : "testing",
|
||||||
|
"if" : "name == 'temp_package_id_0'"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"delete_tags" : [
|
||||||
|
{
|
||||||
|
"key" : "unit",
|
||||||
|
"value" : "*",
|
||||||
|
"if" : "*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"interval_timestamp" : true
|
||||||
|
}
|
6
.github/ci-sinks.json
vendored
Normal file
6
.github/ci-sinks.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"type" : "stdout",
|
||||||
|
"meta_as_tags" : true
|
||||||
|
}
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user