Add validation of metric values

Make sure to validate that when adding metric samples that the value is
a number.

Fixes: https://gitlab.com/gitlab-org/gitlab-exporter/issues/60
parent 2d4a7c3f
Pipeline #133695 passed with stage
in 52 seconds