Grafana: container regex [skip ci]

This commit is contained in:
Ștefan Talpalaru 2020-06-07 16:13:15 +02:00
parent 7c7b6fb361
commit fdf1a75956
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9

View File

@ -93,7 +93,7 @@ case outputType:
"options": [], "options": [],
"query": "label_values(process_virtual_memory_bytes{job=\"beacon-node-metrics\"},container)", "query": "label_values(process_virtual_memory_bytes{job=\"beacon-node-metrics\"},container)",
"refresh": 1, "refresh": 1,
"regex": "", "regex": "/.*testnet""" & $testnet & """.*/",
"skipUrlSync": false, "skipUrlSync": false,
"sort": 1, "sort": 1,
"tagValuesQuery": "", "tagValuesQuery": "",
@ -166,7 +166,7 @@ for panel in panels.mitems:
case outputType: case outputType:
of OutputType.local: of OutputType.local:
outputData["title"] = %* (outputData["title"].getStr() & " (all nodes)") outputData["title"] = %* "NBC local testnet/sim (all nodes)"
outputData["uid"] = %* (outputData["uid"].getStr() & "a") outputData["uid"] = %* (outputData["uid"].getStr() & "a")
of OutputType.remote: of OutputType.remote:
outputData["title"] = %* ("Nimbus testnet" & $testnet) outputData["title"] = %* ("Nimbus testnet" & $testnet)