Skip to content

Commit

Permalink
fixed value of sync attribute in ElasticsearchClientSyncInstrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
videnkz committed Sep 28, 2023
1 parent db279df commit 3bbaa0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static class ElasticsearchRestClientSyncAdvice {
@Nullable
@Advice.OnMethodEnter(suppress = Throwable.class, inline = false)
public static Object onBeforeExecute(@Advice.Argument(0) Request request) {
return helper.createClientSpan(request.getMethod(), request.getEndpoint(), request.getEntity(), false);
return helper.createClientSpan(request.getMethod(), request.getEndpoint(), request.getEntity(), true);
}

@Advice.OnMethodExit(suppress = Throwable.class, onThrowable = Throwable.class, inline = false)
Expand Down

0 comments on commit 3bbaa0a

Please sign in to comment.