adding ducksboard metric recording (rebased to dev+libsaas)

this pull requests adds ducksboard metrics recording.