mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Re-add test configuration files with changed permissions
This commit is contained in:
parent
f83a342e28
commit
d15eba8fe8
6
.github/ci-collectors.json
vendored
Normal file
6
.github/ci-collectors.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"tempstat": {},
|
||||||
|
"diskstat": {},
|
||||||
|
"memstat": {},
|
||||||
|
"cpustat": {}
|
||||||
|
}
|
8
.github/ci-config.json
vendored
Normal file
8
.github/ci-config.json
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"sinks": ".github/ci-sinks.json",
|
||||||
|
"collectors" : ".github/ci-collectors.json",
|
||||||
|
"receivers" : ".github/ci-receivers.json",
|
||||||
|
"router" : ".github/ci-router.json",
|
||||||
|
"interval": "5s",
|
||||||
|
"duration": "1s"
|
||||||
|
}
|
1
.github/ci-receivers.json
vendored
Normal file
1
.github/ci-receivers.json
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
37
.github/ci-router.json
vendored
Normal file
37
.github/ci-router.json
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"add_tags": [
|
||||||
|
{
|
||||||
|
"key": "cluster",
|
||||||
|
"value": "testcluster",
|
||||||
|
"if": "*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "test",
|
||||||
|
"value": "testing",
|
||||||
|
"if": "name == 'temp_package_id_0'"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"delete_tags": [
|
||||||
|
{
|
||||||
|
"key": "unit",
|
||||||
|
"value": "*",
|
||||||
|
"if": "*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"interval_aggregates": [
|
||||||
|
{
|
||||||
|
"name": "temp_cores_avg",
|
||||||
|
"function": "avg(values)",
|
||||||
|
"if": "match('temp_core_%d+', metric.Name())",
|
||||||
|
"tags": {
|
||||||
|
"type": "node"
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"group": "<copy>",
|
||||||
|
"unit": "<copy>",
|
||||||
|
"source": "MetricAggregator"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"interval_timestamp": true
|
||||||
|
}
|
8
.github/ci-sinks.json
vendored
Normal file
8
.github/ci-sinks.json
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"testoutput" : {
|
||||||
|
"type" : "stdout",
|
||||||
|
"meta_as_tags" : [
|
||||||
|
"unit"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user