mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Add example interval aggregation to MetricRouter config for CI
This commit is contained in:
parent
cf810b1c0c
commit
18c5d0eb34
15
.github/ci-router.json
vendored
15
.github/ci-router.json
vendored
@ -18,5 +18,20 @@
|
|||||||
"if": "*"
|
"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
|
"interval_timestamp": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user