better logging

This commit is contained in:
Hossein Shafagh 2021-01-28 15:43:21 -08:00
parent b9b3ae2286
commit c26db968d2

View File

@ -130,7 +130,9 @@ def request_rotation(endpoint, certificate, message, commit):
)
)
metrics.send("endpoint_rotation", "counter", 1, metric_tags={"status": status})
metrics.send("endpoint_rotation", "counter", 1, metric_tags={"status": status,
"certificate_name": str(certificate.name),
"endpoint": str(endpoint.dnsname)})
def request_reissue(certificate, commit):