TypeError: float() argument must be a string or a number, not 'NoneType'
Closed this issue · 1 comments
sentry-io commented
/kind bug
/assign @pacespace
Sentry Issue: THOTH-1R1Z
TypeError: float() argument must be a string or a number, not 'NoneType'
File "wsgi.py", line 87, in func_wrapper
job()
File "decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/opt/app-root/src/thoth/metrics_exporter/jobs/base.py", line 42, in register_metric_job
method(*args, **kwargs)
File "/opt/app-root/src/thoth/metrics_exporter/jobs/db.py", line 90, in get_bloat_data
metrics.graphdb_pct_bloat_data_table.labels(table_data["tablename"]).set(table_data["pct_bloat"])
File "prometheus_client/metrics.py", line 364, in set
self._value.set(float(value))
Failed to run metrics gathering job DBMetrics.get_bloat_data
goern commented
/priority important-soon
/assign @pacospace