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

No option to delete a downtime #71

Open stefansloboda opened 7 years ago

stefansloboda commented 7 years ago

https://github.com/zalando-zmon/zmon-cli/blob/375550ac29d0c6b2c28c21f152d270dcb10577d5/zmon_cli/cmds/downtime.py#L30

By default, zmon down create -o yaml "entitidy-id" creates a downtime for 60!! minutes and it is not possible to delete a downtime.

beverage commented 6 years ago

This is supported by the controller API - should be a small change to the cli to expose it: https://github.com/zalando-zmon/zmon-controller/blob/master/zmon-controller-app/src/main/java/org/zalando/zmon/api/DowntimesApi.java#L64