wavectl
wavectl copied to clipboard
Command Line Client For Wavefront
In json mode, in show command we prune bunch of attributes of the json state. Alerts have various "implementation" attributes that are written by the Wavefront itself. The initial assumption...
The resource options https://github.com/box/wavectl/blob/master/doc/CommandReference.md#resource-options should have better semantics if they are specified multiple times. Right now, the later specified one overwrites an earlier specified one. I think append action [here](https://docs.python.org/2/library/argparse.html#action)...
Some resource options accept regular expressions https://github.com/box/wavectl/blob/master/doc/CommandReference.md#resource-options Those regular expressions should be case insensitive. Since the implementation is re module in python using https://docs.python.org/2.7/library/re.html#re.IGNORECASE should be enough. From the user's...
For example here https://circleci.com/gh/box/wavectl/309 The test_pullWithUnnormalizedPath test actually failed. Gave this output: ``` [test_pullWithUnnormalizedPath.py] ERROR:git.config:Exception during destruction of GitConfigParser [test_pullWithUnnormalizedPath.py] Traceback (most recent call last): [test_pullWithUnnormalizedPath.py] File "/home/circleci/project/venv/lib64/python3.6/os.py", line 666,...
For example specifying a config file like this does not work Problematic Wrting the following config to the config file at /Users/hbaba/.wavectl/config: ``` { "apiToken": "9b9d16ef-3549-4e88-b4a2-f5e0736f2388", "wavefrontHost": "https://box.wavefront.com/" } ```...
We called it `push` while being inspired from git command line However after further thought, `kubectl replace`'s replace is more suitable for the behavior. Since we also have a `create`...
Right now the summary table print looks like this ``` $ wavectl show alert ID NAME STATUS SEVERITY 1523082347619 Kubernetes - Node Network Utilization - HIGH (Prod) CHECKING WARN 1523082347824...
We are talking about the files where wavectl stores the json representation of resources. ( Alerts or Dashboards) The file syntax is actually .json. So for IDE support aspect, it...
Relatively recently Wavefront has added AlertTargets type. It is a more versatile API to specify notification settings for alerts. AlertsTargets are also slow changing human edited configuration. In that sense...
The resource options to narrow down the processed resources have a --customerTag option. https://github.com/box/wavectl/blob/master/doc/CommandReference.md#resource-options The --customerTag name comes from the Wavefront v1 api. A better name is --tag for that...