We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb8fc6 commit 227d987Copy full SHA for 227d987
apiconnect_net.py
@@ -59,14 +59,14 @@ def fish(self):
59
"health_status",
60
health,
61
labels={
62
- "component": "{} {}".format(customResource['plural'][:-1], item['metadata']['name']),
+ "component": "{}_{}".format(customResource['plural'][:-1], item['metadata']['name']),
63
**self.health_label
64
})
65
66
self.trawler.set_gauge(
67
'apiconnect',
68
"{}_status".format(customResource['plural']),
69
- 1 if condition['status'] == "true" else 0,
+ 1 if condition['status'] else 0,
70
71
"type": condition['type'],
72
"name": item['metadata']['name'],
0 commit comments