Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
clean up
  • Loading branch information
Liudmila Molkova committed Jan 6, 2025
commit 9df46f2f951ef0cfd7cb9580c5aa0a8c51a1996c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class OTelContext {

ReflectiveInvoker contextKeyNamedInvoker
= getMethodInvoker(CONTEXT_KEY_CLASS, CONTEXT_KEY_CLASS.getMethod("named", String.class));
// TODO: this is wronggggg

hasClientSpanContextKey = contextKeyNamedInvoker.invoke("client-core-call");
} catch (Throwable t) {
OTelInitializer.initError(LOGGER, t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ public void setupOtel() {
.getTracer();
}

//@Benchmark
@Benchmark
public void shimTracingDisabled(Blackhole blackhole) {
blackhole.consume(testShimSpan(shimTracerDisabled));
}

//@Benchmark
@Benchmark
public void directTracingDisabled(Blackhole blackhole) {
blackhole.consume(testOTelSpan(otelTracerDisabled));
}
Expand Down