I simulated a sentry down for a few minutes (first one and then two), and then restored, but after hours the result is still this:
# curl -sS localhost:6011/metrics | grep sentry
# HELP signer_sentry_connect_tries Consecutive Number of times sentry TCP connect has been tried (High count may indicate validator restarts)
# TYPE signer_sentry_connect_tries gauge
signer_sentry_connect_tries 124
# HELP signer_total_sentry_connect_tries Total Number of times sentry TCP connect has been tried (High count may indicate validator restarts)
# TYPE signer_total_sentry_connect_tries counter
signer_total_sentry_connect_tries 124
What is the difference between signer_sentry_connect_triesand signer_total_sentry_connect_tries?
Is it a bug?
Update. I’ve noticed that maybe the value signer_sentry_connect_tries is reset only if the signer is "used" by sentry and not just after restored connection.
Could be this the reason and in case fixed?
I simulated a sentry down for a few minutes (first one and then two), and then restored, but after hours the result is still this:
# curl -sS localhost:6011/metrics | grep sentry
What is the difference between
signer_sentry_connect_tries
andsigner_total_sentry_connect_tries
? Is it a bug?Thanks