File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed
charts/api-gateway/env/routes Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,47 @@ active = true
33name = " Get current memory"
44method = " GET"
55roles = [" *" ]
6- upstream = " http://nodemetrics:7777 "
6+ upstream = " http://nodemetrics:8090 "
77listen = " /memory/current"
88strip = false
99group = " nodemetrics"
1010
11+ [routes .history_memory ]
12+ active = true
13+ name = " Get history memory"
14+ method = " GET"
15+ roles = [" *" ]
16+ upstream = " http://nodemetrics:8090"
17+ listen = " /memory/history"
18+ strip = false
19+ group = " nodemetrics"
20+
1121[routes .current_cpu ]
1222active = true
1323name = " Get current cpu"
1424method = " GET"
1525roles = [" *" ]
16- upstream = " http://nodemetrics:7777 "
26+ upstream = " http://nodemetrics:8090 "
1727listen = " /cpu/current"
1828strip = false
19- group = " nodemetrics"
29+ group = " nodemetrics"
30+
31+ [routes .history_cpu ]
32+ active = true
33+ name = " Get history cpu"
34+ method = " GET"
35+ roles = [" *" ]
36+ upstream = " http://nodemetrics:8090"
37+ listen = " /cpu/history"
38+ strip = false
39+ group = " nodemetrics"
40+
41+ [routes .current_storage ]
42+ active = true
43+ name = " Get current storage"
44+ method = " GET"
45+ roles = [" *" ]
46+ upstream = " http://nodemetrics:8090"
47+ listen = " /storage/current"
48+ strip = false
49+ group = " nodemetrics"
You can’t perform that action at this time.
0 commit comments