mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
add availability timeout metric
This commit is contained in:
parent
1f5eec01b0
commit
226fbf6d44
2 changed files with 3 additions and 0 deletions
|
|
@ -378,6 +378,7 @@ func (f *BlobFetcher) loop() {
|
|||
}
|
||||
delete(f.waittime, hash)
|
||||
delete(f.waitlist, hash)
|
||||
blobAnnounceTimeoutMeter.Mark(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue