Fix wrong health check endpoint to OAP backend (#12597)

This commit is contained in:
kezhenxu94 2024-09-05 20:12:15 +08:00 committed by GitHub
parent 87b73cb7f7
commit 9d0cb9e28e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public final class OapProxyService extends AbstractHttpService {
private static WebClient newLoadBalancingClient(EndpointGroup oapGroup) { private static WebClient newLoadBalancingClient(EndpointGroup oapGroup) {
final HealthCheckedEndpointGroup healthCheckedGroup = final HealthCheckedEndpointGroup healthCheckedGroup =
HealthCheckedEndpointGroup HealthCheckedEndpointGroup
.builder(oapGroup, "/internal/l7check") .builder(oapGroup, "/healthcheck")
.protocol(SessionProtocol.HTTP) .protocol(SessionProtocol.HTTP)
.retryInterval(Duration.ofSeconds(10)) .retryInterval(Duration.ofSeconds(10))
.build(); .build();

View File

@ -74,6 +74,7 @@
* Bump up dependencies to fix CVEs. * Bump up dependencies to fix CVEs.
* Add a loading view for initialization page. * Add a loading view for initialization page.
* Fix a bug for selectors when clicking the refresh icon. * Fix a bug for selectors when clicking the refresh icon.
* Fix health check to OAP backend.
#### Documentation #### Documentation