(metric_name)
return 'instance'
When collecting per-instance metric, the `instance` tag can mean a lot of different things. The meaning of the
    tag cannot be guessed by looking at the api results and has to be inferred using documentation or experience.
    This method acts as a utility to map a metric_name to the meaning of its instance tag.
When collecting per-instance metric, the `instance` tag can mean a lot of different things. The meaning of the
    tag cannot be guessed by looking at the api results and has to be inferred using documentation or experience.
    This method acts as a utility to map a metric_name to the meaning of its instance tag.
When collecting per - instance metric the instance tag can mean a lot of different things . The meaning of the tag cannot be guessed by looking at the api results and has to be inferred using documentation or experience . This method acts as a utility to map a metric_name to the meaning of its instance tag .
def get_mapped_instance_tag(metric_name):
    # type: (str) -> str
    """
    When collecting per-instance metric, the `instance` tag can mean a lot of different things. The meaning of the
    tag cannot be guessed by looking at the api results and has to be inferred using documentation or experience.
    This method acts as a utility to map a metric_name to the meaning of its instance tag.
    """
    for prefix, tag_key in iteritems(METRIC_TO_INSTANCE_TAG_MAPPING):
        if metric_name.startswith(prefix):
            return tag_key
    return 'instance'
def get_mapped_instance_tag ( metric_name ) : # type: (str) -> str for prefix , tag_key in iteritems ( METRIC_TO_INSTANCE_TAG_MAPPING ) : if metric_name . startswith ( prefix ) : return tag_key return 'instance'