Skip to content

Commit

Permalink
fix hard code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat-Drink committed Dec 9, 2024
1 parent 5e38c1a commit a9e4fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class BigtopProxy {

private final WebClient webClient;

public BigtopProxy(WebClient.Builder webClientBuilder, @Value("http://localhost:5173") String bigTopHost) {
public BigtopProxy(WebClient.Builder webClientBuilder, @Value("${monitoring.bigtop-host}") String bigTopHost) {
this.webClient = webClientBuilder.baseUrl(bigTopHost).build();
}

Expand Down
1 change: 1 addition & 0 deletions bigtop-manager-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ springdoc:
default-models-expand-depth: -1

monitoring:
bigtop-host: "http://localhost:5173"
prometheus-host: "http://localhost:9090"
agent-host-job-name: "bm-agent-host"

Expand Down

0 comments on commit a9e4fe1

Please sign in to comment.