Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmcmu committed Jul 16, 2024
1 parent ca378b4 commit 97fe9c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1755,6 +1755,7 @@ private void makeActive() throws HpccFileException
try
{
String msg = makeGetVersionRequest();
System.out.println(msg);
int msgLen = msg.length();

this.dos.writeInt(msgLen);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,18 @@ public static Span createSpan(String name)
.setSpanKind(SpanKind.CLIENT)
.startSpan();
span.makeCurrent();

return span;
}

public static Span createChildSpan(Span parentSpan, String name)
{
return Utils.getTelemetryTracer().spanBuilder(name)
Span span = Utils.getTelemetryTracer().spanBuilder(name)
.setParent(Context.current().with(parentSpan))
.setSpanKind(SpanKind.CLIENT)
.startSpan();
span.makeCurrent();
return span;
}

}

0 comments on commit 97fe9c8

Please sign in to comment.