Skip to content

Commit

Permalink
Merge pull request #4 from containerum/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
MargoTuleninova authored Aug 3, 2018
2 parents d63a72b + f427f7e commit ef92de6
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions charts/api-gateway/env/routes/nodemetrics.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,47 @@ active = true
name = "Get current memory"
method = "GET"
roles = ["*"]
upstream = "http://nodemetrics:7777"
upstream = "http://nodemetrics:8090"
listen = "/memory/current"
strip = false
group = "nodemetrics"

[routes.history_memory]
active = true
name = "Get history memory"
method = "GET"
roles = ["*"]
upstream = "http://nodemetrics:8090"
listen = "/memory/history"
strip = false
group = "nodemetrics"

[routes.current_cpu]
active = true
name = "Get current cpu"
method = "GET"
roles = ["*"]
upstream = "http://nodemetrics:7777"
upstream = "http://nodemetrics:8090"
listen = "/cpu/current"
strip = false
group = "nodemetrics"
group = "nodemetrics"

[routes.history_cpu]
active = true
name = "Get history cpu"
method = "GET"
roles = ["*"]
upstream = "http://nodemetrics:8090"
listen = "/cpu/history"
strip = false
group = "nodemetrics"

[routes.current_storage]
active = true
name = "Get current storage"
method = "GET"
roles = ["*"]
upstream = "http://nodemetrics:8090"
listen = "/storage/current"
strip = false
group = "nodemetrics"

0 comments on commit ef92de6

Please sign in to comment.