Skip to content

Commit ed6de17

Browse files
committed
fix: metrics increments
1 parent c202251 commit ed6de17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metrics/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ func (m *Metrics) IncOperatorTaskResponses() {
100100
}
101101

102102
func (m *Metrics) IncAggregatorPaidForBatcher() {
103-
m.aggregatorGasCostPaidForBatcherTotal.Inc()
103+
m.aggregatorNumTimesPaidForBatcher.Inc()
104104
}
105105

106106
func (m *Metrics) AddAggregatorGasPaidForBatcher(value float64) {
107-
m.aggregatorNumTimesPaidForBatcher.Add(value)
107+
m.aggregatorGasCostPaidForBatcherTotal.Add(value)
108108
}

0 commit comments

Comments
 (0)