Skip to content

Commit e7a47eb

Browse files
authored
Merge pull request #589 from onflow/petera/570-add-cadence-height-metric2
Add cadence mtric collection on empty block as well
2 parents d5b8984 + ade34fd commit e7a47eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/ingestion/engine.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func (e *Engine) processEvents(events *models.CadenceEvents) error {
161161
err,
162162
)
163163
}
164+
e.collector.CadenceHeightIndexed(events.CadenceHeight())
164165
return nil // nothing else to do this was heartbeat event with not event payloads
165166
}
166167

0 commit comments

Comments
 (0)