'Exports the vars..'

def RunOnce(self):

    stats.STATS.RegisterCounterMetric('grr_flows_stuck')
    stats.STATS.RegisterCounterMetric('worker_bad_flow_objects', fields=[('type', str)])
    stats.STATS.RegisterCounterMetric('worker_session_errors', fields=[('type', str)])
    stats.STATS.RegisterCounterMetric('worker_flow_lock_error', docstring='Worker    lock    failures.    We    expect    these    to    be    high    when    the    systemis    idle.')
    stats.STATS.RegisterEventMetric('worker_flow_processing_time', fields=[('flow', str)])
    stats.STATS.RegisterEventMetric('worker_time_to_retrieve_notifications')
