Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public String getOperation() {
CommandsData commandsData = (CommandsData) command;
if (commandsData.getCommands().size() == 1) {
return commandsData.getCommands().get(0).getCommand().getName();
} else {
return "BATCH";
}
}
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void atomicBatchCommand() throws ExecutionException, InterruptedException, Timeo
trace.hasSpansSatisfyingExactly(
span -> span.hasName("parent").hasKind(INTERNAL).hasNoParent(),
span ->
span.hasName("DB Query")
span.hasName("BATCH")
.hasKind(CLIENT)
.hasAttributesSatisfyingExactly(
equalTo(NETWORK_TYPE, "ipv4"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void batchCommand()
trace ->
trace.hasSpansSatisfyingExactly(
span ->
span.hasName("DB Query")
span.hasName("BATCH")
.hasKind(CLIENT)
.hasAttributesSatisfyingExactly(
equalTo(NETWORK_TYPE, "ipv4"),
Expand Down Expand Up @@ -206,7 +206,7 @@ void atomicBatchCommand() {
trace.hasSpansSatisfyingExactly(
span -> span.hasName("parent").hasNoParent().hasKind(INTERNAL),
span ->
span.hasName("DB Query")
span.hasName("BATCH")
.hasKind(CLIENT)
.hasAttributesSatisfyingExactly(
equalTo(NETWORK_TYPE, "ipv4"),
Expand Down
Loading