Fix debugging

This commit is contained in:
Abel Luck 2024-07-18 15:49:39 +02:00
parent 7106564ff0
commit 4c5a33d72f

View file

@ -56,7 +56,7 @@ def prometheus_alert_to_markdown(
) )
label_strings = [] label_strings = []
for label_name, label_value in labels.items(): for label_name, label_value in labels.items():
logging.debug("got label: ", label_name, label_value) logging.debug(f"got label: {label_name} = {label_value}")
if label_name.startswith("__"): if label_name.startswith("__"):
continue continue
if label_name in ignore_labels: if label_name in ignore_labels: