Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Adrian Lewis
    @aidylewis
    Yes. sorry
    Andrey Vasenin
    @avasenin
    mzb_metrics:notify({"latency", histogram}, Latency div 1000)
    dii14
    @dii14
    Hi, I was just starting to use your tool. Is it possible to persist the data gathered and the nice graphs?
    Dmitry Ivanov
    @ethercrow
    Hi @dii14
    what exactly do you mean by persisting?
    dii14
    @dii14
    I am running mzbench from docker and I would like to know where the metrics are stored so that I can have them when I close the container
    Dmitry Ivanov
    @ethercrow
    data is stored in plain files, so unless the whole machine with mzbench server is destroyed or these files are specifically deleted, they are persisted
    dii14
    @dii14
    oh nice, I guess it's just my fault I couldn't locate the files
    is it documented where they are?
    Dmitry Ivanov
    @ethercrow
    metric data is also available through API
    on single bench basis though, not all at once
    dii14
    @dii14
    I see but where are the files actually?I can't really find them
    dii14
    @dii14
    oh great thanks, I missed that
    Dmitry Ivanov
    @ethercrow
    welcome
    dii14
    @dii14
    also may I ask if the docker image is working for you?
    it might be because of my proxy firewall
    but puling ridrisov/mzbench takes forever
    Dmitry Ivanov
    @ethercrow
    better ask @parsifal-47
    dii14
    @dii14
    ok tahnks
    Dmitry Ivanov
    @ethercrow
    I haven't used docker image
    Renat Idrisov
    @parsifal-47
    @dii14 I tried this image, was working for me :) do you still have this issue?
    according to dockerhub statistics it was pulled 9 times, so it should be possible
    feel free to create issue anyway
    dii14
    @dii14
    is the ridrisov/mzbench image supposed to support git?
    Renat Idrisov
    @parsifal-47
    not necessary, since it uses rpm with pre-compiled workers, the most probably not, you may find Dockerfile for this image here: https://github.com/machinezone/mzbench/blob/master/docker/Dockerfile it has git if centos7 has it
    dii14
    @dii14
    Hi
    I can see that while running a benchmark in the scenario tab there is this functionality which seems like it allows to send some command to some percentage of the worker nodes
    this seems really cool to me, but what kind of commands can I send?
    Timofey Barmin
    @timofey-barmin
    Hi, dii14
    you can call worker functions there
    dii14
    @dii14
    I tried calling wait and it failed
    Renat Idrisov
    @parsifal-47
    @dii14 what message did you get? "command execution failed"?
    dii14
    @dii14
    On screen message was "command failed"
    in the system logs I get the error:07:02:10.352 [error] <0.224.0> Command run failed with reason {badmatch,{[{'mzb_director16_0@127.0.0.1',[]},{'mzb_worker16_1@127.0.0.1',[ok,ok]}],[]}}
    Command:<<"wait()">>
    Stacktrace:[{mzb_director,handle_call,3,[{file,"/home/ridrisov/mzbench/node/_build/default/deps/mzbench/src/mzb_director.erl"},{line,110}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]
    My wait was empty but that's not the point, I get the same for a correct command:07:03:45.749 [error] <0.224.0> Command run failed with reason {badmatch,{[{'mzb_director16_0@127.0.0.1',[]},{'mzb_worker16_1@127.0.0.1',[ok,ok]}],[]}}
    Command:<<"wait(3 sec)">>
    Stacktrace:[{mzb_director,handle_call,3,[{file,"/home/ridrisov/mzbench/node/_build/default/deps/mzbench/src/mzb_director.erl"},{line,110}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,629}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,661}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]
    Renat Idrisov
    @parsifal-47
    I have reproduced your issue, sorry, the problem was in result code control, fixed now, please update master and try again, thanks for reporting this!
    dii14
    @dii14
    ok cool will try again
    dii14
    @dii14
    Actually I was never able to build from sources behind my proxy
    It is something to do with rebar3 fetching the "registry" package, I suspect that my variables for proxies are not read by rebar3
    dii14
    @dii14
    Do you know of any known problems with rebar3 and proxies?
    I saw a few issues online but they seem resolved
    Renat Idrisov
    @parsifal-47
    yes, I had an experience using rebar with proxy, but couldn't remember how exactly was it, but it worked, I found some website suggesting to set {http_proxy, "http://proxy.my-company.com:123"}. {https_proxy, "https://proxy.my-company.com:456"}. in rebar.config
    or alternatively, it could be env-variable http_proxy or HTTP_PROXY
    some of these should work :)
    dii14
    @dii14
    Hi there again
    Is there any way of specifying some env variable that will be available across all benchmarks?
    For example I have a list of hosts to which I need my clients to connect, so what I'm doing now is I copy paste the list into the editor every time. I would like to have a way to programatically change the variable every time the hosts change.
    dii14
    @dii14
    I was looking at the mzbench change_env functionality but that's only for a specific benchmark
    I would like to do this for all benchmarks