zalando-zmon / zmon-cli

ZMON Command Line Interface
http://zmon.readthedocs.org/en/latest/developer/zmon-cli.html
Other
9 stars 9 forks source link

add -t / --timeout option to CLI #87

Closed vetinari closed 5 years ago

vetinari commented 5 years ago

so we can set as user a timeout for long lasting calls like getting all entitites

vetinari commented 5 years ago

:+1:

codecov[bot] commented 5 years ago

Codecov Report

Merging #87 into master will increase coverage by 0.07%. The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   77.92%   77.99%   +0.07%     
==========================================
  Files          18       18              
  Lines        1155     1159       +4     
==========================================
+ Hits          900      904       +4     
  Misses        255      255
Impacted Files Coverage Δ
zmon_cli/cmds/grafana.py 54.54% <0%> (ø) :arrow_up:
zmon_cli/cmds/alert.py 64.51% <0%> (ø) :arrow_up:
zmon_cli/client.py 97.92% <100%> (ø) :arrow_up:
zmon_cli/config.py 79.59% <100%> (+0.42%) :arrow_up:
zmon_cli/cmds/command.py 89.65% <71.42%> (+0.56%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 34e3ec8...db9088c. Read the comment docs.

vetinari commented 5 years ago

:+1:

codecov[bot] commented 5 years ago

Codecov Report

Merging #87 into master will increase coverage by 0.07%. The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   77.92%   77.99%   +0.07%     
==========================================
  Files          18       18              
  Lines        1155     1159       +4     
==========================================
+ Hits          900      904       +4     
  Misses        255      255
Impacted Files Coverage Δ
zmon_cli/cmds/grafana.py 54.54% <0%> (ø) :arrow_up:
zmon_cli/cmds/alert.py 64.51% <0%> (ø) :arrow_up:
zmon_cli/client.py 97.92% <100%> (ø) :arrow_up:
zmon_cli/config.py 79.59% <100%> (+0.42%) :arrow_up:
zmon_cli/cmds/command.py 89.65% <71.42%> (+0.56%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 34e3ec8...db9088c. Read the comment docs.

mohabusama commented 5 years ago

👍