Skip to content

Commit 874ae8a

Browse files
author
Samin Rahman
committed
Renamed counter and changed tags
1 parent 6d856e8 commit 874ae8a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,10 +1662,9 @@ private boolean meetPolicyCheckRequirements(RoutingContext rc) {
16621662
boolean newClient = oldestClientKey.getCreated() >= OPT_OUT_CHECK_CUTOFF_DATE;
16631663

16641664
if (!newClient) {
1665-
Counter.builder("uid2_opt_out_no_respect_total")
1665+
Counter.builder("uid2_legacy_opt_out_bypass_total")
16661666
.description("Counter for the number of successful requests that have optout set to zero (legacy clients)")
1667-
.tag("client_name", clientKey.getName())
1668-
.tag("client_contact", clientKey.getContact())
1667+
.tag("site_id", clientKey.getSiteId().toString())
16691668
.register(Metrics.globalRegistry)
16701669
.increment();
16711670
return true;

0 commit comments

Comments
 (0)