This is an automated email from the ASF dual-hosted git repository. wusheng 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 fd82275a3d Add route to status API `/debugging/config/dump` in the UI (#13266) fd82275a3d is described below commit fd82275a3d5ea54c42821f390db8864d2ad63ea0 Author: kezhenxu94 <kezhenx...@apache.org> AuthorDate: Mon May 26 19:23:07 2025 +0800 Add route to status API `/debugging/config/dump` in the UI (#13266) --- .../org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java | 3 +++ .../org/apache/skywalking/oap/server/webapp/OapProxyService.java | 5 +++++ docs/en/changes/changes.md | 1 + 3 files changed, 9 insertions(+) diff --git a/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java b/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java index af754a0a8c..bbc5d4a07b 100644 --- a/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java +++ b/apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java @@ -68,6 +68,9 @@ public class ApplicationStartUp { .builder() .port(port, SessionProtocol.HTTP) .service("/graphql", new OapProxyService(oapServices)) + .service("/debugging/config/dump", new OapProxyService(oapServices)) + .service("/status/config/ttl", new OapProxyService(oapServices)) + .service("/status/cluster/nodes", new OapProxyService(oapServices)) .service("/internal/l7check", HealthCheckService.of()) .service("/zipkin/config.json", zipkin) .serviceUnder("/zipkin/api", zipkin) 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 2e996af455..560ca61ccf 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 @@ -76,4 +76,9 @@ public final class OapProxyService extends AbstractHttpService { protected HttpResponse doPost(ServiceRequestContext ctx, HttpRequest req) throws Exception { return loadBalancingClient.execute(req); } + + @Override + protected HttpResponse doGet(ServiceRequestContext ctx, HttpRequest req) throws Exception { + return loadBalancingClient.execute(req); + } } diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index f9dd1c5450..baca7d1b94 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -29,6 +29,7 @@ * Fix: correct the same labels for metrics. * Refactor: use the Fetch API to instead of Axios. * Support cold stage data for metrics, trace and log. +* Add route to status API `/debugging/config/dump` in the UI. #### Documentation