mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 20:43:02 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -23,11 +23,13 @@ class Generator:
|
||||
obj = getattr(jupyterhub.metrics, name)
|
||||
if obj.__class__.__module__.startswith('prometheus_client.'):
|
||||
description = obj.describe()[0]
|
||||
table_rows.append([
|
||||
description.type,
|
||||
description.name,
|
||||
description.documentation,
|
||||
])
|
||||
table_rows.append(
|
||||
[
|
||||
description.type,
|
||||
description.name,
|
||||
description.documentation,
|
||||
]
|
||||
)
|
||||
return table_rows
|
||||
|
||||
def prometheus_metrics(self):
|
||||
|
Reference in New Issue
Block a user