Skip to content

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

@ahakanbaba

Description

@ahakanbaba

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions