@@ -28,8 +28,8 @@ type FpMetrics struct {
2828 fpLastProcessedHeight * prometheus.GaugeVec
2929 fpLastCommittedRandomnessHeight * prometheus.GaugeVec
3030 fpTotalBlocksWithoutVotingPower * prometheus.CounterVec
31- fpTotalVotedBlocks * prometheus.GaugeVec
32- fpTotalCommittedRandomness * prometheus.GaugeVec
31+ fpTotalVotedBlocks * prometheus.CounterVec
32+ fpTotalCommittedRandomness * prometheus.CounterVec
3333 fpTotalFailedVotes * prometheus.CounterVec
3434 fpTotalFailedRandomness * prometheus.CounterVec
3535 // time keeper
@@ -110,15 +110,15 @@ func NewFpMetrics() *FpMetrics {
110110 },
111111 []string {"fp_btc_pk_hex" },
112112 ),
113- fpTotalVotedBlocks : prometheus .NewGaugeVec (
114- prometheus.GaugeOpts {
113+ fpTotalVotedBlocks : prometheus .NewCounterVec (
114+ prometheus.CounterOpts {
115115 Name : "fp_total_voted_blocks" ,
116116 Help : "The total number of blocks voted by a finality provider." ,
117117 },
118118 []string {"fp_btc_pk_hex" },
119119 ),
120- fpTotalCommittedRandomness : prometheus .NewGaugeVec (
121- prometheus.GaugeOpts {
120+ fpTotalCommittedRandomness : prometheus .NewCounterVec (
121+ prometheus.CounterOpts {
122122 Name : "fp_total_committed_randomness" ,
123123 Help : "The total number of randomness commitments by a finality provider." ,
124124 },
0 commit comments