Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Jan 11, 2024
1 parent 1bb3ec0 commit d4bb8ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public void customize(AutoConfigurationCustomizer autoConfiguration) {
// (not using batch size 1 because that seems to cause poor performance on small
// containers)
props.put("otel.bsp.schedule.delay", "100");
props.put("otel.blrp.schedule.delay", "100");
return props;
})
.addPropertiesCustomizer(new AiConfigCustomizer())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
abstract class OtlpTest {

@RegisterExtension
static final SmokeTestExtension testing =
SmokeTestExtension.builder().useOtlpEndpoint().setSelfDiagnosticsLevel("TRACE").build();
static final SmokeTestExtension testing = SmokeTestExtension.builder().useOtlpEndpoint().build();

@Test
@TargetUri("/ping")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ private void startTestApplicationContainer() throws Exception {
+ FAKE_BREEZE_INGESTION_ENDPOINT);
}
if (useOtlpEndpoint) {
javaToolOptions.add("-Dotel.metrics.exporter=otlp");
// TODO (trask) don't use azure_monitor exporter for smoke test health check
javaToolOptions.add("-Dotel.metrics.exporter=otlp,azure_monitor");
javaToolOptions.add("-Dotel.exporter.otlp.metrics.endpoint=" + FAKE_OTLP_INGESTION_ENDPOINT);
javaToolOptions.add("-Dotel.exporter.otlp.protocol=http/protobuf");
}
Expand Down

0 comments on commit d4bb8ea

Please sign in to comment.