def METHOD_NAME(group, sysname):
    tmpl = "{group}.igmp_usage.{sysname}"
    if hasattr(sysname, 'sysname'):
        sysname = sysname.sysname
    return tmpl.format(
        group=metric_prefix_for_multicast_group(group),
        sysname=escape_metric_name(sysname),
    )