-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There seems to be an issue where RecordSlotSize panics in this line with nil pointer dereference: ``` slotMetricGauges.SlotLagGauge.Record(ctx, float64(slotInfo[0].LagInMb), metric.WithAttributeSet(attribute.NewSet( ``` As far as I can see the only thing that can be nil is `slotMetricGauges.SlotLagGauge` , so this PR adds a guard for that and the other guages here
- Loading branch information
1 parent
3d81321
commit c0d1d8a
Showing
1 changed file
with
42 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters