Postgresql high rollback rate warning
Ratio of transactions being aborted compared to committed is > 2 %
>>>
sum by (namespace,datname) ((
rate
(
{datname!~"template.*|postgres",datid!="0"}[3m])) / ((
rate
(
{datname!~"template.*|postgres",datid!="0"}[3m])) + (
rate
(
{datname!~"template.*|postgres",datid!="0"}[3m])))) > 0.02
Export Alert✕
Download
Copy to Clipboard