def METHOD_NAME(self) -> None:
    # Defines the metrics related to peer connections
    peer_connection_labels = ["network", "connection_string", "peer_id"]
    prefix = self.metrics_prefix + "peer_connection_"
    self.peer_connection_metrics = {
        name: Gauge(
            prefix + name,
            description,
            labelnames=peer_connection_labels,
            registry=self.registry
        ) for name, description in PEER_CONNECTION_METRICS.items()
    }