* Use snake case for nodes stats/info metric names (#53446) The REST API uses "thread_pool" as the name of the thread pool metric. If we use this name internally when we serialize nodes stats and info requests, we won't need to do any fancy logic to check for and switch out "threadPool", which was the previous internal name.
This commit is contained in:
parent
1e31031b73
commit
5b718d2565
|
@ -286,7 +286,7 @@ public class NodesInfoRequest extends BaseNodesRequest<NodesInfoRequest> {
|
|||
OS("os"),
|
||||
PROCESS("process"),
|
||||
JVM("jvm"),
|
||||
THREAD_POOL("threadPool"),
|
||||
THREAD_POOL("thread_pool"),
|
||||
TRANSPORT("transport"),
|
||||
HTTP("http"),
|
||||
PLUGINS("plugins"),
|
||||
|
|
|
@ -323,7 +323,7 @@ public class NodesStatsRequest extends BaseNodesRequest<NodesStatsRequest> {
|
|||
OS("os"),
|
||||
PROCESS("process"),
|
||||
JVM("jvm"),
|
||||
THREAD_POOL("threadPool"),
|
||||
THREAD_POOL("thread_pool"),
|
||||
FS("fs"),
|
||||
TRANSPORT("transport"),
|
||||
HTTP("http"),
|
||||
|
|
Loading…
Reference in New Issue