From fdf1a7595659135de1f8de6b30269f6d039a6102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sun, 7 Jun 2020 16:13:15 +0200 Subject: [PATCH] Grafana: container regex [skip ci] --- tests/simulation/process_dashboard.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/simulation/process_dashboard.nim b/tests/simulation/process_dashboard.nim index 7a8ffd63b..fb33c4664 100644 --- a/tests/simulation/process_dashboard.nim +++ b/tests/simulation/process_dashboard.nim @@ -93,7 +93,7 @@ case outputType: "options": [], "query": "label_values(process_virtual_memory_bytes{job=\"beacon-node-metrics\"},container)", "refresh": 1, - "regex": "", + "regex": "/.*testnet""" & $testnet & """.*/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", @@ -166,7 +166,7 @@ for panel in panels.mitems: case outputType: of OutputType.local: - outputData["title"] = %* (outputData["title"].getStr() & " (all nodes)") + outputData["title"] = %* "NBC local testnet/sim (all nodes)" outputData["uid"] = %* (outputData["uid"].getStr() & "a") of OutputType.remote: outputData["title"] = %* ("Nimbus testnet" & $testnet)