code: def _monitoring_metrics_list(args, _):
    
    project_id = args['project']
    pattern = args['type'] or '*'
    descriptors = gcm.MetricDescriptors(context=_make_context(project_id))
    dataframe = descriptors.as_dataframe(pattern=pattern)
    return _render_dataframe(dataframe)
docs: Lists the metric descriptors in the project.