@@ -1030,7 +1030,7 @@ func (cs *State) handleMsg(ctx context.Context, mi msgInfo, fsyncUponCompletion
1030
1030
err = cs .setProposal (msg .Proposal , mi .ReceiveTime )
1031
1031
if cs .config .GossipTransactionHashOnly && ! cs .isProposer (cs .privValidatorPubKey .Address ()) {
1032
1032
created := cs .tryCreateProposalBlock (msg .Proposal .Height , msg .Proposal .Round , msg .Proposal .Header , msg .Proposal .LastCommit , msg .Proposal .Evidence , msg .Proposal .ProposerAddress )
1033
- cs .metrics .ProposalBlockCreated .With ("success" , strconv .FormatBool (created )).Add (1 )
1033
+ cs .metrics .ProposalBlockCreatedOnPropose .With ("success" , strconv .FormatBool (created )).Add (1 )
1034
1034
if created {
1035
1035
if fsyncUponCompletion {
1036
1036
if err := cs .wal .FlushAndSync (); err != nil { // fsync
@@ -2473,11 +2473,11 @@ func (cs *State) tryCreateProposalBlock(height int64, round int32, header types.
2473
2473
return false
2474
2474
}
2475
2475
txKeys := cs .Proposal .TxKeys
2476
- cs .metrics .ProposalTxsCount .Set (float64 (len (cs .Proposal .TxKeys )))
2476
+ cs .metrics .ProposalTxs .Set (float64 (len (cs .Proposal .TxKeys )))
2477
2477
missingTxKeys := cs .blockExec .GetMissingTxs (txKeys )
2478
2478
if len (missingTxKeys ) != 0 {
2479
2479
//cs.logger.Info("PSULOG - cannot create block, either proposal is missing or we have missing keys", "proposal", cs.Proposal)
2480
- cs .metrics .MissingTxsCount .Set (float64 (len (cs .blockExec .GetMissingTxs (cs .Proposal .TxKeys ))))
2480
+ cs .metrics .ProposalMissingTxs .Set (float64 (len (cs .blockExec .GetMissingTxs (cs .Proposal .TxKeys ))))
2481
2481
return false
2482
2482
} else {
2483
2483
//block := types.MakeBlock(height, cs.blockExec.GetTxsForKeys(txKeys), lastCommit, evidence, false)
0 commit comments