Skip to content
Merged
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 @@ -14,13 +14,13 @@ abstract class OpenTelemetry14ActivationTest extends InstrumentationSpecificatio

expect:
if (shouldBeInjected()) {
tracer.class.name.endsWith(".OtelTracer")
builder.class.name.endsWith(".OtelSpanBuilder")
result.class.name.endsWith(".OtelSpan")
context.class.name.endsWith(".OtelContext")
assert tracer.class.name.endsWith(".OtelTracer")
assert builder.class.name.endsWith(".OtelSpanBuilder")
assert result.class.name.endsWith(".OtelSpan")
assert context.class.name.endsWith(".OtelContext")
} else {
tracer.class.name.endsWith(".DefaultTracer")
context.class.name.endsWith(".ArrayBasedContext")
assert tracer.class.name.endsWith(".DefaultTracer")
assert context.class.name.endsWith(".ArrayBasedContext")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ abstract class OpenTelemetry147ActivationTest extends InstrumentationSpecificati

expect:
if (shouldBeInjected()) {
meter.class.name.endsWith(".OtelMeter")
assert meter.class.name.endsWith(".OtelMeter")
} else {
meter.class.name.endsWith(".DefaultTracer")
assert meter.class.name.endsWith(".DefaultMeter")
}
}
}
Expand All @@ -25,7 +25,7 @@ class OpenTelemetry147ActivationByInstrumentationNameForkedTest extends OpenTele
@Override
void configurePreAgent() {
super.configurePreAgent()
injectSysConfig("integration.opentelemetry.metrics.enabled", "true")
injectSysConfig("integration.opentelemetry-metrics.enabled", "true")
}

@Override
Expand Down
Loading