diff --git a/gubernator.go b/gubernator.go index 280821f3..19d5db50 100644 --- a/gubernator.go +++ b/gubernator.go @@ -605,7 +605,11 @@ func (s *V1Instance) getLocalRateLimit(ctx context.Context, r *RateLimitReq, rs s.global.QueueUpdate(r) } - metricGetRateLimitCounter.WithLabelValues("local").Inc() + if rs.IsOwner { + metricGetRateLimitCounter.WithLabelValues("local").Inc() + } else { + metricGetRateLimitCounter.WithLabelValues("local non-owner").Inc() + } return resp, nil }