(**kwargs)
return Metric(override_key=lambda **kw: (kw['entity_id'], kw['check_id']),
                  **kwargs)
Creates a new metric with an agent check type keying function.
Creates a new metric with an agent check type keying function.
Creates a new metric with an agent check type keying function .
def _agent_metric(**kwargs):
    """
    Creates a new metric with an agent check type keying function.
    """
    return Metric(override_key=lambda **kw: (kw['entity_id'], kw['check_id']),
                  **kwargs)
def _agent_metric ( * * kwargs ) : return Metric ( override_key = lambda * * kw : ( kw [ 'entity_id' ] , kw [ 'check_id' ] ) , * * kwargs )