Skip to content

Commit d7c442f

Browse files
authored
feat(metrics): new metrics and dashboard for aggregator (#1218)
1 parent e1e9b6e commit d7c442f

File tree

3 files changed

+233
-161
lines changed

3 files changed

+233
-161
lines changed

aggregator/internal/pkg/aggregator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ func (agg *Aggregator) AddNewTask(batchMerkleRoot [32]byte, senderAddress [20]by
372372
agg.logger.Fatalf("BLS aggregation service error when initializing new task: %s", err)
373373
}
374374

375+
agg.metrics.IncAggregatorReceivedTasks()
375376
agg.taskMutex.Unlock()
376377
agg.AggregatorConfig.BaseConfig.Logger.Info("- Unlocked Resources: Adding new task")
377378
agg.logger.Info("New task added", "batchIndex", batchIndex, "batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))

0 commit comments

Comments
 (0)