From b1974d90eb73e6d0048bf24a00a28413a82688b1 Mon Sep 17 00:00:00 2001 From: Miran Date: Fri, 12 Aug 2022 16:53:15 +0200 Subject: [PATCH] log NimVersion (#3937) --- beacon_chain/nimbus_beacon_node.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 5c98e9b37..9df991d22 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -145,6 +145,9 @@ declareGauge next_action_wait, declareGauge versionGauge, "Nimbus version info (as metric labels)", ["version", "commit"], name = "version" versionGauge.set(1, labelValues=[fullVersionStr, gitRevision]) +declareGauge nimVersionGauge, "Nim version info", ["nim_version"], name = "Nim_version" +nimVersionGauge.set(1, labelValues=[NimVersion]) + logScope: topics = "beacnde" func getPandas(stdoutKind: StdoutLogKind): VanityLogs = @@ -1659,6 +1662,7 @@ proc start*(node: BeaconNode) {.raises: [Defect, CatchableError].} = notice "Starting beacon node", version = fullVersionStr, + nimVersion = NimVersion, enr = node.network.announcedENR.toURI, peerId = $node.network.switch.peerInfo.peerId, timeSinceFinalization =