mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[Sense] add hot threads api to KB
This commit is contained in:
parent
6f3cdaa2ab
commit
40bbd501ac
3 changed files with 20 additions and 0 deletions
|
@ -10,6 +10,7 @@ define([
|
|||
'./api_0_90/indices',
|
||||
'./api_0_90/mappings',
|
||||
'./api_0_90/misc',
|
||||
'./api_0_90/nodes',
|
||||
'./api_0_90/query',
|
||||
'./api_0_90/search',
|
||||
'./api_0_90/settings',
|
||||
|
|
12
sense/app/kb/api_0_90/nodes.js
Normal file
12
sense/app/kb/api_0_90/nodes.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
define(function () {
|
||||
'use strict';
|
||||
return function init(api) {
|
||||
api.addEndpointDescription('_nodes/hot_threads', {
|
||||
methods: ['GET'],
|
||||
patterns: [
|
||||
"_nodes/hot_threads",
|
||||
"_nodes/{nodes}/hot_threads"
|
||||
]
|
||||
});
|
||||
};
|
||||
});
|
|
@ -1,6 +1,13 @@
|
|||
define(function () {
|
||||
'use strict';
|
||||
return function init(api) {
|
||||
api.addEndpointDescription('_nodes/hot_threads', {
|
||||
methods: ['GET'],
|
||||
patterns: [
|
||||
"_nodes/hot_threads",
|
||||
"_nodes/{nodes}/hot_threads"
|
||||
]
|
||||
});
|
||||
api.addEndpointDescription('_nodes/info', {
|
||||
patterns: [
|
||||
"_nodes",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue