From 9714571cc4abb6ebda446fa47d4d370aa2ccec02 Mon Sep 17 00:00:00 2001 From: Ruirui Zhang Date: Mon, 16 Sep 2024 17:00:24 -0700 Subject: [PATCH] modify uri Signed-off-by: Ruirui Zhang --- .../action/admin/cluster/RestQueryGroupStatsAction.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestQueryGroupStatsAction.java b/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestQueryGroupStatsAction.java index 477df4753fc00..9def1a278f03e 100644 --- a/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestQueryGroupStatsAction.java +++ b/server/src/main/java/org/opensearch/rest/action/admin/cluster/RestQueryGroupStatsAction.java @@ -34,10 +34,10 @@ public class RestQueryGroupStatsAction extends BaseRestHandler { public List routes() { return unmodifiableList( asList( - new Route(GET, "query_group/stats"), - new Route(GET, "query_group/stats/{queryGroupId}"), - new Route(GET, "query_group/stats/nodes/{nodeId}"), - new Route(GET, "query_group/stats/{queryGroupId}/nodes/{nodeId}") + new Route(GET, "_wlm/stats"), + new Route(GET, "_wlm/{nodeId}/stats"), + new Route(GET, "_wlm/stats/{queryGroupId}"), + new Route(GET, "_wlm/{nodeId}/stats/{queryGroupId}") ) ); }