-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
The nodes hot threads API has some little-known synonyms:
Lines 43 to 54 in a11ccb8
| @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.
Metadata
Metadata
Assignees
Labels
:Core/Infra/REST APIREST infrastructure and utilitiesREST infrastructure and utilitiesgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme