def get_default_metrics(config):
archivers = list_archivers(config)<EOL>default_metrics = []<EOL>for archiver in archivers:<EOL><INDENT>index = get_archiver_index(config, archiver)<EOL>if len(index) == <NUM_LIT:0>:<EOL><INDENT>logger.warning("<STR_LIT>")<EOL>return []<EOL><DEDENT>operators = index[<NUM_LIT:0>]["<STR_LIT>"]<EOL>for operator in operators:<EOL><INDENT>o = resolve_operator(operator)<EOL>if o.cls.default_metric_index is not None:<EOL><INDENT>metric = o.cls.metrics[o.cls.default_metric_index]<EOL>default_metrics.append("<STR_LIT>".format(o.cls.name, metric.name))<EOL><DEDENT><DEDENT><DEDENT>return default_metrics<EOL>
Get the default metrics for a configuration.

:param config: The configuration
:type  config: :class:`wily.config.WilyConfig`

:return: Return the list of default metrics in this index
:rtype: ``list`` of ``str``