Add metrics collection.

1 job for master in 1 minute and 4 seconds
Status Job ID Name Coverage
  Test
passed #15830
test

00:01:04