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 af754a0a8c48..bbc5d4a07b24 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 static void main(String[] args) throws Exception { .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 2e996af4552e..560ca61ccfab 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 @@ private static WebClient newLoadBalancingClient(EndpointGroup oapGroup) { 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 f9dd1c54508b..baca7d1b9477 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