Skip to content

Commit

Permalink
Fix unbind histogram update (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmiskiewicz authored Nov 14, 2024
1 parent 0074aea commit 38069c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/metricsv2/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *BindDurationCollector) OnBindingExecuted(ctx context.Context, ev interf

func (c *BindDurationCollector) OnUnbindingExecuted(ctx context.Context, ev interface{}) error {
obj := ev.(broker.UnbindRequestProcessed)
c.bindHistorgam.WithLabelValues().Observe(float64(obj.ProcessingDuration.Milliseconds()))
c.unbindHistogram.WithLabelValues().Observe(float64(obj.ProcessingDuration.Milliseconds()))
return nil
}

Expand Down

0 comments on commit 38069c9

Please sign in to comment.