Skip to content

Commit

Permalink
still print and uncomment second put
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 10, 2024
1 parent bd87037 commit 3c5d0d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public <R> R processRequest(
System.out.println(MetacatContextManager.getContext());
System.out.println(MetacatContextManager.getContext().getClientAppName());
System.out.println("------------------------------------------------");
tags.put("caller", MetacatContextManager.getContext().getClientAppName());
// tags.put("caller", MetacatContextManager.getContext().getClientAppName());
registry.counter(requestCounterId.withTags(tags)).increment();

try {
Expand Down Expand Up @@ -253,7 +253,7 @@ public <R> R processRequest(
System.out.println(MetacatContextManager.getContext());
System.out.println(MetacatContextManager.getContext().getClientAppName());
System.out.println("------------------------------------------------");
// tags.put("caller", MetacatContextManager.getContext().getClientAppName());
tags.put("caller", MetacatContextManager.getContext().getClientAppName());
registry.counter(requestCounterId.withTags(tags)).increment();
try {
MetacatContextManager.getContext().setRequestName(resourceRequestName);
Expand Down

0 comments on commit 3c5d0d8

Please sign in to comment.