mirror of https://github.com/nucypher/nucypher.git
fix indentation for whole guage block
parent
894b696782
commit
b52e0a0d83
File diff suppressed because it is too large
Load Diff
|
@ -99,17 +99,17 @@ class UrsulaInfoMetricsCollector(BaseMetricsCollector):
|
||||||
"learning_status": Enum(f'{metrics_prefix}_node_discovery', 'Learning loop status',
|
"learning_status": Enum(f'{metrics_prefix}_node_discovery', 'Learning loop status',
|
||||||
states=['starting', 'running', 'stopped'], registry=registry),
|
states=['starting', 'running', 'stopped'], registry=registry),
|
||||||
"known_nodes_gauge": Gauge(f'{metrics_prefix}_known_nodes',
|
"known_nodes_gauge": Gauge(f'{metrics_prefix}_known_nodes',
|
||||||
'Number of currently known nodes',
|
'Number of currently known nodes',
|
||||||
registry=registry),
|
registry=registry),
|
||||||
"work_orders_gauge": Gauge(f'{metrics_prefix}_work_orders',
|
"work_orders_gauge": Gauge(f'{metrics_prefix}_work_orders',
|
||||||
'Number of accepted work orders',
|
'Number of accepted work orders',
|
||||||
registry=registry),
|
registry=registry),
|
||||||
"policies_held_gauge": Gauge(f'{metrics_prefix}_policies_held',
|
"policies_held_gauge": Gauge(f'{metrics_prefix}_policies_held',
|
||||||
'Policies held',
|
'Policies held',
|
||||||
registry=registry),
|
registry=registry),
|
||||||
"availability_score_gauge": Gauge(f'{metrics_prefix}_availability_score',
|
"availability_score_gauge": Gauge(f'{metrics_prefix}_availability_score',
|
||||||
'Availability score',
|
'Availability score',
|
||||||
registry=registry),
|
registry=registry),
|
||||||
}
|
}
|
||||||
|
|
||||||
def _collect_internal(self) -> None:
|
def _collect_internal(self) -> None:
|
||||||
|
|
Loading…
Reference in New Issue