You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2024/09/05 12:12:21 UTC

(skywalking) branch master updated: Fix wrong health check endpoint to OAP backend (#12597)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d0cb9e28e Fix wrong health check endpoint to OAP backend (#12597)
9d0cb9e28e is described below

commit 9d0cb9e28eeebff4617a5708be87b7c45916c8cf
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu Sep 5 20:12:15 2024 +0800

    Fix wrong health check endpoint to OAP backend (#12597)
---
 .../java/org/apache/skywalking/oap/server/webapp/OapProxyService.java   | 2 +-
 docs/en/changes/changes.md                                              | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/OapProxyService.java b/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/OapProxyService.java
index bffd1a53ec..2e996af455 100644
--- a/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/OapProxyService.java
+++ b/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/OapProxyService.java
@@ -58,7 +58,7 @@ public final class OapProxyService extends AbstractHttpService {
     private static WebClient newLoadBalancingClient(EndpointGroup oapGroup) {
         final HealthCheckedEndpointGroup healthCheckedGroup =
             HealthCheckedEndpointGroup
-                .builder(oapGroup, "/internal/l7check")
+                .builder(oapGroup, "/healthcheck")
                 .protocol(SessionProtocol.HTTP)
                 .retryInterval(Duration.ofSeconds(10))
                 .build();
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index 6a40f3eee2..6fa5460bb2 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -74,6 +74,7 @@
 * Bump up dependencies to fix CVEs.
 * Add a loading view for initialization page.
 * Fix a bug for selectors when clicking the refresh icon.
+* Fix health check to OAP backend.
 
 #### Documentation