@@ -18,6 +18,36 @@ listen = "/memory/history"
1818strip = false
1919group = " nodemetrics"
2020
21+ [routes .history_memory_node ]
22+ active = true
23+ name = " Get history memory by node"
24+ method = " GET"
25+ roles = [" *" ]
26+ upstream = " http://nodemetrics:7777"
27+ listen = " /memory/history/nodes"
28+ strip = false
29+ group = " nodemetrics"
30+
31+ [routes .history_memory_ws ]
32+ active = true
33+ name = " Get history memory websockets"
34+ method = " GET"
35+ roles = [" *" ]
36+ upstream = " http://nodemetrics:7777"
37+ listen = " /memory/history/ws"
38+ strip = false
39+ group = " nodemetrics"
40+
41+ [routes .history_memory_node_ws ]
42+ active = true
43+ name = " Get history memory by node websockets"
44+ method = " GET"
45+ roles = [" *" ]
46+ upstream = " http://nodemetrics:7777"
47+ listen = " /memory/history/nodes/ws"
48+ strip = false
49+ group = " nodemetrics"
50+
2151[routes .current_cpu ]
2252active = true
2353name = " Get current cpu"
@@ -38,6 +68,36 @@ listen = "/cpu/history"
3868strip = false
3969group = " nodemetrics"
4070
71+ [routes .history_cpu_node ]
72+ active = true
73+ name = " Get history cpu by node"
74+ method = " GET"
75+ roles = [" *" ]
76+ upstream = " http://nodemetrics:7777"
77+ listen = " /cpu/history/nodes"
78+ strip = false
79+ group = " nodemetrics"
80+
81+ [routes .history_cpu_ws ]
82+ active = true
83+ name = " Get history cpu websocket"
84+ method = " GET"
85+ roles = [" *" ]
86+ upstream = " http://nodemetrics:7777"
87+ listen = " /cpu/history/ws"
88+ strip = false
89+ group = " nodemetrics"
90+
91+ [routes .history_cpu_node_ws ]
92+ active = true
93+ name = " Get history cpu by node websocket"
94+ method = " GET"
95+ roles = [" *" ]
96+ upstream = " http://nodemetrics:7777"
97+ listen = " /cpu/history/nodes/ws"
98+ strip = false
99+ group = " nodemetrics"
100+
41101[routes .current_storage ]
42102active = true
43103name = " Get current storage"
0 commit comments