metric: add metric_init()

- metric_init calls tmr_start(). tmr_start must be called from the
  re_main() thread.