Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Changed mind. Instead of calltype="local non-owner", just don't inc…
Browse files Browse the repository at this point in the history
…rement a counter.
  • Loading branch information
Baliedge committed Mar 11, 2024
1 parent 517bf63 commit 5f137ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gubernator.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,6 @@ func (s *V1Instance) getLocalRateLimit(ctx context.Context, r *RateLimitReq, rs

if rs.IsOwner {
metricGetRateLimitCounter.WithLabelValues("local").Inc()
} else {
metricGetRateLimitCounter.WithLabelValues("local non-owner").Inc()
}
return resp, nil
}
Expand Down

0 comments on commit 5f137ad

Please sign in to comment.