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', "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: