diff options
author | Magnus Ahltorp <map@kth.se> | 2017-03-17 00:58:54 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-07-06 17:41:27 +0200 |
commit | 49445bfe1985054ee18691bf27c4033285401ddb (patch) | |
tree | 599c0996343e9641024b65a81f7026a1e5dcaf74 /tools/compileconfig.py | |
parent | 107b977cb8fa0df0ca5619c2f9fd9e3e6e5a83a1 (diff) |
Added benchmark reporting.
Change timing_point to time.time interface.
Diffstat (limited to 'tools/compileconfig.py')
-rwxr-xr-x | tools/compileconfig.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py index b4e4e46..e233cc7 100755 --- a/tools/compileconfig.py +++ b/tools/compileconfig.py @@ -369,6 +369,7 @@ def gen_config(nodename, config, localconfig): frontendnodeaddresses = ["https://%s/plop/v1/frontend/" % node["address"] for node in config["frontendnodes"]] statusservernames = [node["name"] for node in config["statusservers"]] statusserveraddresses = ["https://%s/plop/v1/status/" % node["address"] for node in config["statusservers"]] + benchserveraddresses = ["https://%s/plop/v1/bench/" % node["address"] for node in config["statusservers"]] allowed_clients = [] allowed_servers = [] @@ -444,6 +445,7 @@ def gen_config(nodename, config, localconfig): ] reloadableplopconfig.append((Symbol("statusservers"), statusserveraddresses)) + reloadableplopconfig.append((Symbol("benchservers"), benchserveraddresses)) allowed_servers += [ ("/plop/v1/status/merge_dist", statusservernames), ("/plop/v1/status/merge_backup", statusservernames), @@ -452,6 +454,10 @@ def gen_config(nodename, config, localconfig): ("/plop/v1/status/storage", statusservernames), ("/plop/v1/status/merge_errors", statusservernames), ("/plop/v1/status/heartbeat", statusservernames), + ("/plop/v1/bench/merge_dist", statusservernames), + ("/plop/v1/bench/merge_backup", statusservernames), + ("/plop/v1/bench/merge_sth", statusservernames), + ("/plop/v1/bench/merge_fetch", statusservernames), ] if "statusservers" in nodetype: @@ -463,7 +469,12 @@ def gen_config(nodename, config, localconfig): ("/plop/v1/status/merge_errors", mergenodenames), ("/plop/v1/status/storage", storagenodenames), ("/plop/v1/status/heartbeat", list(allnodenames)), + ("/plop/v1/bench/merge_dist", mergenodenames), + ("/plop/v1/bench/merge_backup", mergenodenames), + ("/plop/v1/bench/merge_sth", mergenodenames), + ("/plop/v1/bench/merge_fetch", mergenodenames), ("/status", Symbol("noauth")), + ("/bench", Symbol("noauth")), ] reloadableplopconfig += [ |