Add more explicit comment on metrics destination

This commit is contained in:
deajan 2025-06-17 14:44:20 +02:00
parent 45d45704de
commit 70a8e423a9

View file

@ -214,6 +214,7 @@ def send_prometheus_metrics(
authentication = None
# Fix for #150, job name needs to be unique in order to avoid overwriting previous job in push gateway
# destination contains the URI of the push gateway as well as the job name
destination = f"{destination}___repo_name={repo_name}___action={operation}"
upload_metrics(destination, authentication, no_cert_verify, metrics)
else: