Skip to content

Commit

Permalink
comment out: Record caller metrics in Atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 10, 2024
1 parent c18013c commit 6020cbe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public <R> R processRequest(

tags.put("request", resourceRequestName);
tags.put("scheme", MetacatContextManager.getContext().getScheme());
tags.put("caller", MetacatContextManager.getContext().getClientAppName());
// tags.put("caller", MetacatContextManager.getContext().getClientAppName());
registry.counter(requestCounterId.withTags(tags)).increment();

try {
Expand Down Expand Up @@ -245,7 +245,7 @@ public <R> R processRequest(
final long start = registry.clock().wallTime();
final Map<String, String> tags = Maps.newHashMap();
tags.put("request", resourceRequestName);
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 6020cbe

Please sign in to comment.