def state(sender, process, data):
    """The process state that Supervisor reports

    - ``process:{name}:state``
    """
    sender.riemann.event(service='process:{name}:state'.format(**data),
        state=data['statename'].lower())
