Skip to content

Commit

Permalink
Fix log for Grafana URL (#8961)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Jul 24, 2024
1 parent aa0502a commit fa10d00
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public LgtmStackContainer(DockerImageName image) {

@Override
protected void containerIsStarted(InspectContainerResponse containerInfo) {
log.info("Access to the Grafana dashboard: {}", getOtlpHttpUrl());
log.info("Access to the Grafana dashboard: {}", getGrafanaHttpUrl());
}

public String getOtlpGrpcUrl() {
Expand All @@ -61,4 +61,8 @@ public String getOtlpHttpUrl() {
public String getPromehteusHttpUrl() {
return "http://" + getHost() + ":" + getMappedPort(PROMETHEUS_PORT);
}

public String getGrafanaHttpUrl() {
return "http://" + getHost() + ":" + getMappedPort(GRAFANA_PORT);
}
}

0 comments on commit fa10d00

Please sign in to comment.