Ensure database metrics are added as floats.

2 jobs for bjk/null_values in 53 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #5700112
rspec

00:00:47

passed #5700113
rubocop

00:00:53

 
Name Stage Failure
failed
rspec Test
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:3]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised responds with pending builds Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:4]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised responds with running builds Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:5]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised responds with repeated commands Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:6]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised responds with stale builds Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:7]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised responds with unarchived traces Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:1:1:1]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions aren't raised when created_builds_counting_disabled is set to false responds with created builds Prometheus metrics
rspec './spec/database/ci_builds_spec.rb[1:2:2:1:2:1]' # GitLab::Exporter::Database GitLab::Exporter::Database::CiBuildsProber when executed on CE behaves like metrics server when PG exceptions are raised responds with Prometheus metrics

ERROR: Job failed: exit code 1