Added metrics to the source

Signed-off-by: Grafe <flingelfrank@hotmail.com>