diff --git a/metrics/metrics.go b/metrics/metrics.go index 3abdf9cc5..5f5b7a13c 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -44,7 +44,7 @@ var ( ProverReceivedProposedBlockGauge = metrics.NewRegisteredGauge("prover/proposed/received", nil) ProverReceivedProvenBlockGauge = metrics.NewRegisteredGauge("prover/proven/received", nil) - ProofGenerationTime = metrics.NewRegisteredHistogram( + ProverProofGenerationTime = metrics.NewRegisteredHistogram( "prover/proof/generation/time", nil, metrics.NewExpDecaySample(128, 0.015), diff --git a/prover/proof_producer/zkevm_rpcd_producer.go b/prover/proof_producer/zkevm_rpcd_producer.go index 882a00eb2..06ce6440b 100644 --- a/prover/proof_producer/zkevm_rpcd_producer.go +++ b/prover/proof_producer/zkevm_rpcd_producer.go @@ -202,7 +202,7 @@ func (p *ZkevmRpcdProducer) callProverDaemon(ctx context.Context, opts *ProofReq }, backoff.NewConstantBackOff(proofPollingInterval)); err != nil { return nil, 0, err } - metrics.ProofGenerationTime.Update(proofGenerationTime.Nanoseconds()) + metrics.ProverProofGenerationTime.Update(proofGenerationTime.Nanoseconds()) return proof, degree, nil }