add availability timeout metric

This commit is contained in:
healthykim 2026-03-24 20:55:44 +09:00
parent 1f5eec01b0
commit 226fbf6d44
2 changed files with 3 additions and 0 deletions

View file

@ -378,6 +378,7 @@ func (f *BlobFetcher) loop() {
}
delete(f.waittime, hash)
delete(f.waitlist, hash)
blobAnnounceTimeoutMeter.Mark(1)
}
}

View file

@ -60,6 +60,8 @@ var (
blobAnnounceInMeter = metrics.NewRegisteredMeter("eth/fetcher/blob/announces/in", nil)
blobAnnounceDOSMeter = metrics.NewRegisteredMeter("eth/fetcher/blob/announces/dos", nil)
// This metric is to track the number of availability failure
blobAnnounceTimeoutMeter = metrics.NewRegisteredMeter("eth/fetcher/blob/announces/timeout", nil)
blobRequestOutMeter = metrics.NewRegisteredMeter("eth/fetcher/blob/request/out", nil)
blobRequestFailMeter = metrics.NewRegisteredMeter("eth/fetcher/blob/request/fail", nil)