The nodes hot threads API has some little-known synonyms:
|
@Override |
|
public List<Route> routes() { |
|
return List.of( |
|
new Route(GET, "/_cluster/nodes/hotthreads"), |
|
new Route(GET, "/_cluster/nodes/hot_threads"), |
|
new Route(GET, "/_cluster/nodes/{nodeId}/hotthreads"), |
|
new Route(GET, "/_cluster/nodes/{nodeId}/hot_threads"), |
|
new Route(GET, "/_nodes/hotthreads"), |
|
new Route(GET, "/_nodes/hot_threads"), |
|
new Route(GET, "/_nodes/{nodeId}/hotthreads"), |
|
new Route(GET, "/_nodes/{nodeId}/hot_threads")); |
|
} |
These date back to its introduction in v0.20 but I do not think they have ever been documented. They seem unnecessary and I think we should remove them. There is of course a risk that someone out there is using one of these undocumented endpoints (perhaps due to a typo) and this is a breaking change so we should deprecate them first of course.
The nodes hot threads API has some little-known synonyms:
elasticsearch/server/src/main/java/org/elasticsearch/rest/action/admin/cluster/RestNodesHotThreadsAction.java
Lines 43 to 54 in a11ccb8
These date back to its introduction in v0.20 but I do not think they have ever been documented. They seem unnecessary and I think we should remove them. There is of course a risk that someone out there is using one of these undocumented endpoints (perhaps due to a typo) and this is a breaking change so we should deprecate them first of course.