fix indentation for whole guage block

pull/2264/head
AlexMapley 2020-09-22 08:26:00 -04:00
parent 894b696782
commit b52e0a0d83
2 changed files with 23695 additions and 8 deletions

23687
get-pip.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -99,17 +99,17 @@ class UrsulaInfoMetricsCollector(BaseMetricsCollector):
"learning_status": Enum(f'{metrics_prefix}_node_discovery', 'Learning loop status',
states=['starting', 'running', 'stopped'], registry=registry),
"known_nodes_gauge": Gauge(f'{metrics_prefix}_known_nodes',
'Number of currently known nodes',
registry=registry),
'Number of currently known nodes',
registry=registry),
"work_orders_gauge": Gauge(f'{metrics_prefix}_work_orders',
'Number of accepted work orders',
registry=registry),
'Number of accepted work orders',
registry=registry),
"policies_held_gauge": Gauge(f'{metrics_prefix}_policies_held',
'Policies held',
registry=registry),
'Policies held',
registry=registry),
"availability_score_gauge": Gauge(f'{metrics_prefix}_availability_score',
'Availability score',
registry=registry),
'Availability score',
registry=registry),
}
def _collect_internal(self) -> None: