Skip to content

Commit

Permalink
releaseb making counter public static
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammers21 committed Jan 9, 2025
1 parent e06d553 commit 72ec34e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/io/github/sammers/pla/blizzard/BlizzardAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ public class BlizzardAPI {
private final String clientId;
private final AtomicReference<BlizzardAuthToken> token = new AtomicReference<>();
private final RateLimiter rateLimiter;
private static final Counter rqCounter = Counter.builder()
public static final Counter rqCounter = Counter.builder()
.name("BlizzardAPIRequests")
.labelNames("type")
.help("Blizzard API requests counter")
.build();

public BlizzardAPI(Gauge permits, String clientId, String clientSecret, WebClient webClient, Refs refs, CharacterCache characterCache, Map<String, Cutoffs> cutoffs) {
Expand Down

0 comments on commit 72ec34e

Please sign in to comment.