box / box/wavectl

Have a method to show or pull the full json for alerts

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
16
Forks
10
PR merge metrics
No merged PRs in 30d

Description

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 was that these "implementation" attributes were not interesting to users.
For pull, especially with git Integration, these implementation attributes may change too rapidly and pollute the git history.
Later on we have realized that the user may want to see the full json state due to various reasons with show command. Or may want to save the full json state in files in pull command.

Both in the pull and in the show command, we could add an --output fullJson mode where we do not prune any keys from the json representation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.