@staticmethod
def _key(service=None, env=None):
    """Compute a key with the same format used by the Datadog agent API."""
    service = service or ''
    env = env or ''
    return 'service:' + service + ',env:' + env
