As of upgrading to Cardano Node 1.25.1 I have noticed that the metrics for cardano_node_metrics_connectedPeers_int have been removed from the Prometheus metrics. This is causing the connected $peers variable not to be set. This does not affect $remotepeers as this setting is determined by netstat.