Missing some metrics e.g. "slotsMissedNum_int"

Hello! I would like to understand what is the reason behind having and not having some cardano’s metrics. I found out that I need to set TraceBlockFetchClient to True but I’m still missing cardano_node_metrics_slotsMissedNum_int metric. What is the reason? Does having an active pool or not impact anything?

This metric is always missing when it is zero.

You could try stressing out your node by running cncli leaderlog to see if that makes it miss a slot leader check. As soon as you miss a slot check then the cardano_node_metrics_slotsMissedNum_int metric will appear with a value.

2 Likes

Seeing this old posting really helped today. We just changed some things around on our servers and we’ve stopped missing the 1 slot or so that we used to miss every hour or so. I thought I’d screwed something up because we no longer saw that metric when testing… I suspected that it wouldn’t display a zero value but it helps to be sure :sunglasses:

1 Like