Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Update snapctl output for metric and metric catalog with metric schema changes #931

Merged
merged 2 commits into from
May 19, 2016
Merged

Conversation

geauxvirtual
Copy link
Contributor

This PR updates the output of snapctl to include the latest metric schema changes for a single metric or a group of metrics returned during a metric query.

** Note: Due to other flags using -v for flags, this PR also removes -v from the verbose flag. Use of verbose will require specifying --verbose

Summary of changes:

  • Add Description, Unit, and Dynamic Elements for namespaces to the output of snapctl commands for returning a single metric or a list of metrics.
  • Add --verbose flag to metric list command to expand out metrics to populate namespace with dynamic elements and include Unit and Description in the output.
  • Remove -v from the verbose flag as other flags also use -v.

Sample output of the changes:
screen shot 2016-05-17 at 4 02 18 pm

Testing done:

  • Verified outputs of snapctl for metric list, metric list --verbose and metric get

@intelsdi-x/snap-maintainers

@pittma
Copy link
Contributor

pittma commented May 19, 2016

🚢

@marcin-krolik
Copy link
Collaborator

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants