Create especific acess to metrics.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Refactor parser helper.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>