Since i upgraded my nodes from 1.35.7 to 8.1.2 the cardano_node_metrics_connectedPeers_int
variable is empty.
All others are set as expected.
I already loaded the newest config, because ConwayGenesisFile
was missing and set TraceBlockFetchDecisions
again to true.
Are there any changes regarding cardano_node_metrics_connectedPeers_int in the new versions?
Btw. the nodes acutually connect to others i see it in the logs. And it affects both p2p and non-p2p node.
Hi,
If u use grafana, go to metric, delete and search again for variable from the left menu and it should work
Cheers,
1 Like
i already checked directly in prometheus, only the node appears whcih is still running 1.35.7
it seems that they changed the name
from
cardano_node_metrics_connectedPeers_int
to
cardano_node_metrics_peers_connectedPeers_int
In P2P mode:
curl -s -H 'Accept: application/json' http://localhost:12788 | jq '.cardano.node.metrics.connectionManager'
{
"duplexConns": {
"type": "g",
"val": 18
},
"incomingConns": {
"type": "g",
"val": 20
},
"outgoingConns": {
"type": "g",
"val": 50
},
"prunableConns": {
"type": "g",
"val": 0
},
"unidirectionalConns": {
"type": "g",
"val": 52
}
}
1 Like
Where do we add these lines to get it to works in P2P mode?