discourse-prometheus icon indicating copy to clipboard operation
discourse-prometheus copied to clipboard

FEATURE: Export metric for highest sequence usage

Open nbianca opened this issue 8 months ago • 1 comments

Plugin already exports postgres_highest_sequence, but the value cannot be reliable used for alerts because it is not linked with the maximum value of the column that uses it.

In other words, a sequence may be used with an integer or a bigint column, which have very different maximum values. The highest last_value reported may be cause of concern for an integer column because it is close to the limit, but not a problem for a bigint column.

nbianca avatar Jun 24 '24 16:06 nbianca