prometheus: use empty name when there's no failing units (#63491)
This commit is contained in:
parent
f305d20125
commit
35f29adae6
|
@ -236,7 +236,7 @@ def units(ctn):
|
|||
if name:
|
||||
eo_units.labels(ctn, name, "failed").set(n)
|
||||
else:
|
||||
eo_units.labels(ctn, "failed").set(n)
|
||||
eo_units.labels(ctn, "", "failed").set(n)
|
||||
|
||||
|
||||
def run_in_machines(ctn):
|
||||
|
|
Loading…
Reference in New Issue