add sample and moving-sample, soon to allow removing metrics-core as a dependency