fix prometheus

This commit is contained in:
Jack Robison 2020-05-26 17:38:36 -04:00
parent f461fc6ef9
commit ad7441ca47
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -135,7 +135,7 @@ class SessionManager:
"docker_tag": DOCKER_TAG, "docker_tag": DOCKER_TAG,
'version': lbry.__version__, 'version': lbry.__version__,
"min_version": util.version_string(VERSION.PROTOCOL_MIN), "min_version": util.version_string(VERSION.PROTOCOL_MIN),
"cpu_count": os.cpu_count() "cpu_count": str(os.cpu_count())
}) })
session_count_metric = Gauge("session_count", "Number of connected client sessions", namespace=NAMESPACE, session_count_metric = Gauge("session_count", "Number of connected client sessions", namespace=NAMESPACE,
labelnames=("version",)) labelnames=("version",))