Skip to content

Commit

Permalink
NH-37575: download agent from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverchuk committed Jul 3, 2024
1 parent 0566ac2 commit 2c67bed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static GenericContainer<?> build(Network network) {
.withNetworkAliases("collector")
.withLogConsumer(new Slf4jLogConsumer(logger))
.withExposedPorts(COLLECTOR_PORT, COLLECTOR_HEALTH_CHECK_PORT)
.waitingFor(Wait.forHttp("/").forPort(COLLECTOR_HEALTH_CHECK_PORT))
.waitingFor(Wait.forHealthcheck().forHttp("/health/status").forPort(COLLECTOR_HEALTH_CHECK_PORT))
.withCopyFileToContainer(
MountableFile.forClasspathResource("collector.yaml"), "/etc/otel.yaml")
.withCommand("--config /etc/otel.yaml");
Expand Down

0 comments on commit 2c67bed

Please sign in to comment.