It would be beneficial to view the list of registered measurements in the Measurement Plugin Client Generator. Please refer to this thread for more details.
Proposed Solution
Add a new option to create_client command.
@optgroup.option(
"-l",
"--list-all-measurements",
is_flag=True,
help="Lists all registered measurements.",
)
Use get_all_registered_measurement_info in _support.py to get the registered measurements from the Discovery Service.
_, measurement_display_names = get_all_registered_measurement_info(discovery_client)
print("\nList of registered measurements:")
for index, display_name in enumerate(measurement_display_names, start=1):
print(f"{index}. {display_name}")
Problem to Solve
It would be beneficial to view the list of registered measurements in the Measurement Plugin Client Generator. Please refer to this thread for more details.
Proposed Solution
create_client
command.Use
get_all_registered_measurement_info
in _support.py to get the registered measurements from the Discovery Service.AB#2863168