Skip to content

Commit

Permalink
Support requesting no metrics in CLI tools
Browse files Browse the repository at this point in the history
The service will soon support requesting states without a metric. This
adds support for this feature in the CLI tool.
  • Loading branch information
cwasicki committed Nov 12, 2024
1 parent 7abbc9c commit 9b7e38c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

## New Features

* The CLI tool supports requesting component states without metrics.

## Bug Fixes

Expand Down
5 changes: 3 additions & 2 deletions src/frequenz/client/reporting/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ def main() -> None:
parser.add_argument(
"--metrics",
type=str,
nargs="+",
nargs="*",
choices=[e.name for e in Metric],
help="List of metrics to process",
required=True,
required=False,
default=[],
)
parser.add_argument(
"--states",
Expand Down

0 comments on commit 9b7e38c

Please sign in to comment.