Skip to content

Commit fd82275

Browse files
authored
Add route to status API /debugging/config/dump in the UI (#13266)
1 parent 37fbcce commit fd82275

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/ApplicationStartUp.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ public static void main(String[] args) throws Exception {
6868
.builder()
6969
.port(port, SessionProtocol.HTTP)
7070
.service("/graphql", new OapProxyService(oapServices))
71+
.service("/debugging/config/dump", new OapProxyService(oapServices))
72+
.service("/status/config/ttl", new OapProxyService(oapServices))
73+
.service("/status/cluster/nodes", new OapProxyService(oapServices))
7174
.service("/internal/l7check", HealthCheckService.of())
7275
.service("/zipkin/config.json", zipkin)
7376
.serviceUnder("/zipkin/api", zipkin)

apm-webapp/src/main/java/org/apache/skywalking/oap/server/webapp/OapProxyService.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ private static WebClient newLoadBalancingClient(EndpointGroup oapGroup) {
7676
protected HttpResponse doPost(ServiceRequestContext ctx, HttpRequest req) throws Exception {
7777
return loadBalancingClient.execute(req);
7878
}
79+
80+
@Override
81+
protected HttpResponse doGet(ServiceRequestContext ctx, HttpRequest req) throws Exception {
82+
return loadBalancingClient.execute(req);
83+
}
7984
}

docs/en/changes/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* Fix: correct the same labels for metrics.
3030
* Refactor: use the Fetch API to instead of Axios.
3131
* Support cold stage data for metrics, trace and log.
32+
* Add route to status API `/debugging/config/dump` in the UI.
3233

3334
#### Documentation
3435

0 commit comments

Comments
 (0)