Skip to content

Commit

Permalink
remove the 'FinalBlocksOnly' flag on prometheus exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Jan 13, 2025
1 parent 39afdd3 commit f370f93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tools/firehose/prometheus_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,15 @@ func runPrometheusExporterE[B firecore.Block](chain *firecore.Chain[B], zlog *za
StartBlockNum: start,
StopBlockNum: stop,
Transforms: requestInfo.Transforms,
FinalBlocksOnly: true,
FinalBlocksOnly: false,
Cursor: requestInfo.Cursor,
}

prometheus.MustRegister(status)
prometheus.MustRegister(propagationDelay)
prometheus.MustRegister(driftSec)

zlog.Info("starting firehose prometheus exporter", zap.String("endpoint", endpoint), zap.Reflect("request", request))
// update the drift based on last time
go func() {
for {
Expand Down

0 comments on commit f370f93

Please sign in to comment.