Skip to content

Commit

Permalink
print without call and double print
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 10, 2024
1 parent 5c001ac commit ec23c0b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public <R> R processRequest(
tags.put("scheme", MetacatContextManager.getContext().getScheme());
System.out.println("------------------------------------------------");
System.out.println(MetacatContextManager.getContext());
System.out.println(MetacatContextManager.getContext().getClientAppName());
System.out.println("------------------------------------------------");
// tags.put("caller", MetacatContextManager.getContext().getClientAppName());
registry.counter(requestCounterId.withTags(tags)).increment();
Expand Down Expand Up @@ -250,6 +251,7 @@ public <R> R processRequest(
tags.put("request", resourceRequestName);
System.out.println("------------------------------------------------");
System.out.println(MetacatContextManager.getContext());
System.out.println(MetacatContextManager.getContext().getClientAppName());
System.out.println("------------------------------------------------");
// tags.put("caller", MetacatContextManager.getContext().getClientAppName());
registry.counter(requestCounterId.withTags(tags)).increment();
Expand Down

0 comments on commit ec23c0b

Please sign in to comment.