You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Add a new option to
create_clientcommand.Use
get_all_registered_measurement_infoin _support.py to get the registered measurements from the Discovery Service.AB#2863168