mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
38 lines
655 B
JSON
38 lines
655 B
JSON
{
|
|
"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
|
|
}
|